The VINCE API is still under development, but we are making this documentation available for folks who might want to try it out in the meantime. Please let us know what changes you'd like by submitting feedback through VINCE. |
headers={'Authorization': "Token {}".format(token)} |
# get a list of your cases api = 'https://[VINCE_URL]/comm/api/cases/' r = requests.get(api, headers=headers, stream=True) print(r.text) |
# get information about VU#701852 api = 'https://[VINCE_URL]/comm/api/case/701852/' r = requests.get(api, headers=headers, stream=True) print(r.text) |
# get all posts for case VU#701852 api = 'https://[VINCE_URL]/comm/api/case/posts/701852/' r = requests.get(api, headers=headers, stream=True) print(r.text) |
# get the original report for VU#701852 api = 'https://[VINCE_URL]/comm/api/case/report/701852/' r = requests.get(api, headers=headers, stream=True) print(r.text) |
# get the vuls for VU#701852 api = 'https://[VINCE_URL]/comm/api/case/vuls/701852/' r = requests.get(api, headers=headers, stream=True) print(r.text) |
# get all the vendors involved in VU#701582 (also gets their status and statements) api = 'https://[VINCE_URL]/comm/api/case/vendors/701852/' r = requests.get(api, headers=headers, stream=True) print(r.text) |