API Investigation:List
From ToxBank API Wiki
(Difference between revisions)
(10 intermediate revisions by 3 users not shown) | |||
Line 4: | Line 4: | ||
|REST_op_method=GET | |REST_op_method=GET | ||
|REST_op_uri=/investigation | |REST_op_uri=/investigation | ||
− | |REST_header_param=Accept: | + | |REST_header_param=Accept:text/uri-list, application/rdf+xml subjectid:SECURITY-TOKEN |
|REST_op_result=List of investigations | |REST_op_result=List of investigations | ||
− | |REST_op_mime_output=text/ | + | |REST_op_mime_output=text/uri-list, application/rdf+xml |
+ | |REST_op_status=200, 400 | ||
+ | }} | ||
+ | {{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 subjectid:SECURITY-TOKEN | ||
+ | |REST_op_mime_input=Accept:application/rdf+xml, application/json, text/uri-list | ||
+ | |REST_op_result=list of investigations owned/uploaded by a specific user | ||
+ | |REST_op_mime_output=application/rdf+xml, application/json, text/uri-list | ||
+ | |REST_op_status=200, 400 | ||
}} | }} |
Latest revision as of 10:14, 18 September 2014
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, 400 |
Description | Get a list of user related investigations |
---|---|
Resource | Investigation |
Method | GET |
URI | /investigation |
Parameters | |
Header Parameters | User:USER_URI subjectid:SECURITY-TOKEN |
Media Type (input) | Accept:application/rdf+xml, application/json, text/uri-list |
Results | list of investigations owned/uploaded by a specific user |
Media Type (output) | application/rdf+xml, application/json, text/uri-list |
Status code | 200, 400 |
Facts about API Investigation:ListRDF feed
Acts on | Investigation + |
Has output media type | text/uri-list, application/rdf+xml + and application/rdf+xml, application/json, text/uri-list + |
Has status code | 200, 400 + |