API Investigation:SubtaskURI
From ToxBank API Wiki
(Difference between revisions)
Mrautenberg (Talk | contribs) (Created page with "{{REST Operations |REST_op_description=Get investigation data subtask |REST_resource=Investigation |REST_op_method=GET |REST_op_uri=/investigation/{id}/subtaskuri |REST_header_pa...") |
|||
(One intermediate revision by one user not shown) | |||
Line 7: | Line 7: | ||
|REST_op_result=SubTaskURI URI to task | |REST_op_result=SubTaskURI URI to task | ||
|REST_op_mime_output=text/uri-list, application/json | |REST_op_mime_output=text/uri-list, application/json | ||
− | |REST_op_status=200 | + | |REST_op_status=200, 400, 401, 404 |
}} | }} | ||
+ | ==== cURL example ==== | ||
+ | curl -X GET -k -H 'Accept:text/uri-list' -H 'subjectid:MYTOKEN' https://services.toxbank.net/investigation/{id}/subtaskuri |
Latest revision as of 09:59, 18 September 2014
Description | Get investigation data subtask |
---|---|
Resource | Investigation |
Method | GET |
URI | /investigation/{id}/subtaskuri |
Parameters | |
Header Parameters | Accept: text/uri-list or application/json, subjectid:SECURITY-TOKEN |
Media Type (input) | |
Results | SubTaskURI URI to task |
Media Type (output) | text/uri-list, application/json |
Status code | 200, 400, 401, 404 |
cURL example
curl -X GET -k -H 'Accept:text/uri-list' -H 'subjectid:MYTOKEN' https://services.toxbank.net/investigation/{id}/subtaskuri
Facts about API Investigation:SubtaskURIRDF feed
Acts on | Investigation + |
Has output media type | text/uri-list, application/json + |
Has status code | 200, 400, 401, 404 + |