API Investigation:List
From ToxBank API Wiki
(Difference between revisions)
Line 7: | Line 7: | ||
|REST_op_result=List of investigations | |REST_op_result=List of investigations | ||
|REST_op_mime_output=text/uri-list, application/rdf+xml | |REST_op_mime_output=text/uri-list, application/rdf+xml | ||
+ | |REST_op_status=200 | ||
+ | }} | ||
+ | {{REST Operations | ||
+ | |REST_op_description=Get a list of user related investigations | ||
+ | |REST_resource=Investigation | ||
+ | |REST_op_method=GET | ||
+ | |REST_op_uri=/investigation | ||
+ | |REST_header_param=User:USER_URI | ||
+ | |REST_op_mime_input=Accept:application/rdf+xml | ||
+ | |REST_op_result=list of user related investigations | ||
+ | |REST_op_mime_output=application/rdf+xml | ||
|REST_op_status=200 | |REST_op_status=200 | ||
}} | }} |
Revision as of 13:35, 17 October 2012
Description | Get a list of all investigations |
---|---|
Resource | Investigation |
Method | GET |
URI | /investigation |
Parameters | |
Header Parameters | Accept:text/uri-list, application/rdf+xml subjectid:SECURITY-TOKEN |
Media Type (input) | |
Results | List of investigations |
Media Type (output) | text/uri-list, application/rdf+xml |
Status code | 200 |
Description | Get a list of user related investigations |
---|---|
Resource | Investigation |
Method | GET |
URI | /investigation |
Parameters | |
Header Parameters | User:USER_URI |
Media Type (input) | Accept:application/rdf+xml |
Results | list of user related investigations |
Media Type (output) | application/rdf+xml |
Status code | 200 |
Facts about API Investigation:ListRDF feed
Acts on | Investigation + |
Has output media type | text/uri-list, application/rdf+xml + and application/rdf+xml + |
Has status code | 200 + |