API Protocol:RetrieveList
From ToxBank API Wiki
(Difference between revisions)
(Created page with "{{REST Operations |REST_op_description=Retrieves list of protocols, including metadata |REST_op_method=GET |REST_op_uri=/protocol |REST_op_params=TBD , search parameters to query...") |
m |
||
(11 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{REST Operations | {{REST Operations | ||
− | |REST_op_description=Retrieves list of protocols | + | |REST_op_description=Retrieves list of protocols |
+ | |REST_resource=Protocol | ||
|REST_op_method=GET | |REST_op_method=GET | ||
|REST_op_uri=/protocol | |REST_op_uri=/protocol | ||
− | |REST_op_params= | + | |REST_op_params=none, or ?search=name or paging parameters: page, pagesize or modefiedSince=UNIX-TIME-STAMP-in-ms |
+ | |REST_header_param=subjectid:SECURITY-TOKEN | ||
|REST_op_mime_input=none | |REST_op_mime_input=none | ||
− | |REST_op_result= | + | |REST_op_result=The protocol representation in supported media type |
− | |REST_op_mime_output=text/uri-list | + | |REST_op_mime_output=text/uri-list;application/rdf+xml;text/n3 |
− | |REST_op_status=200,400,401,402,403 | + | |REST_op_status=200, 400, 401, 402, 403 |
}} | }} |
Latest revision as of 13:02, 17 January 2012
Description | Retrieves list of protocols |
---|---|
Resource | Protocol |
Method | GET |
URI | /protocol |
Parameters | none, or ?search=name or paging parameters: page, pagesize or modefiedSince=UNIX-TIME-STAMP-in-ms |
Header Parameters | subjectid:SECURITY-TOKEN |
Media Type (input) | none |
Results | The protocol representation in supported media type |
Media Type (output) | text/uri-list;application/rdf+xml;text/n3 |
Status code | 200, 400, 401, 402, 403 |
Facts about API Protocol:RetrieveListRDF feed
Acts on | Protocol + |
Has output media type | text/uri-list;application/rdf+xml;text/n3 + |
Has status code | 200, 400, 401, 402, 403 + |