API Protocol:RetrieveVersions
From ToxBank API Wiki
(Difference between revisions)
m |
|||
(2 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
{{REST Operations | {{REST Operations | ||
− | |REST_op_description=Retrieves the protocol | + | |REST_op_description=Retrieves the protocol versions |
+ | |REST_resource=Protocol | ||
|REST_op_method=GET | |REST_op_method=GET | ||
|REST_op_uri=/protocol/{id}/versions | |REST_op_uri=/protocol/{id}/versions | ||
− | |REST_op_params= | + | |REST_op_params=none, or ?search=name or paging parameters: page, pagesize |
|REST_header_param=subjectid:SECURITY-TOKEN | |REST_header_param=subjectid:SECURITY-TOKEN | ||
− | |REST_op_mime_input=none | + | |REST_op_mime_input=none |
|REST_op_result=The protocol URI or other supported representation | |REST_op_result=The protocol URI or other supported representation | ||
− | |REST_op_mime_output= | + | |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 14:56, 14 December 2011
Description | Retrieves the protocol versions |
---|---|
Resource | Protocol |
Method | GET |
URI | /protocol/{id}/versions |
Parameters | none, or ?search=name or paging parameters: page, pagesize |
Header Parameters | subjectid:SECURITY-TOKEN |
Media Type (input) | none |
Results | The protocol URI or other supported representation |
Media Type (output) | text/uri-list;application/rdf+xml;text/n3 |
Status code | 200,400,401,402,403 |
Facts about API Protocol:RetrieveVersionsRDF feed
Acts on | Protocol + |
Has output media type | text/uri-list;application/rdf+xml;text/n3 + |
Has status code | 200,400,401,402,403 + |