Search:GetIndexedResource

From ToxBank API Wiki
(Difference between revisions)
Jump to: navigation, search
Line 3: Line 3:
 
|REST_resource=Search
 
|REST_resource=Search
 
|REST_op_method=GET
 
|REST_op_method=GET
|REST_op_uri=/index/{resourceUri}
+
|REST_op_uri=/index?resourceUri={resourceUri}
 
|REST_header_param=subjectid:SECURITY-TOKEN
 
|REST_header_param=subjectid:SECURITY-TOKEN
 
|REST_op_mime_output=uri of resource if it exists in index
 
|REST_op_mime_output=uri of resource if it exists in index
 
|REST_op_status=200,400,401,402,403
 
|REST_op_status=200,400,401,402,403
 
}}
 
}}

Revision as of 17:55, 13 December 2011

Description Get uri of query resource
Resource Search
Method GET
URI /index?resourceUri={resourceUri}
Parameters
Header Parameters subjectid:SECURITY-TOKEN
Media Type (input)
Results
Media Type (output) uri of resource if it exists in index
Status code 200,400,401,402,403
Facts about Search:GetIndexedResourceRDF feed
Acts onSearch  +
Has output media typeuri of resource if it exists in index  +
Has status code200,400,401,402,403  +
Personal tools