Search:IndexResource

From ToxBank API Wiki
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
 
{{REST Operations
 
{{REST Operations
 
|REST_op_description=Add resource to query index
 
|REST_op_description=Add resource to query index
|REST_resource=Query
+
|REST_resource=Search
 
|REST_op_method=POST
 
|REST_op_method=POST
|REST_op_uri=/index
+
|REST_op_uri=/search/index
 
|REST_op_params=Uri of resource to be indexed
 
|REST_op_params=Uri of resource to be indexed
 
|REST_header_param=subjectid:SECURITY-TOKEN
 
|REST_header_param=subjectid:SECURITY-TOKEN

Revision as of 23:05, 5 December 2011

Description Add resource to query index
Resource Search
Method POST
URI /search/index
Parameters Uri of resource to be indexed
Header Parameters subjectid:SECURITY-TOKEN
Media Type (input) text/uri
Results
Media Type (output)
Status code 200,400,401,402,403
Personal tools