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=Search
+
|REST_resource=Index
 
|REST_op_method=PUT
 
|REST_op_method=PUT
|REST_op_uri=/search/index?resourceUri={resourceUri}
+
|REST_op_uri=/search/index
|REST_op_params=Uri of resource to be indexed
+
|REST_op_params=resourceUri={resourceUri}
 
|REST_header_param=subjectid:SECURITY-TOKEN
 
|REST_header_param=subjectid:SECURITY-TOKEN
 
|REST_op_mime_input=text/uri
 
|REST_op_mime_input=text/uri
 
|REST_op_status=200,400,401,402,403
 
|REST_op_status=200,400,401,402,403
 
}}
 
}}

Latest revision as of 18:34, 23 April 2012

Description Add resource to query index
Resource Index
Method PUT
URI /search/index
Parameters resourceUri={resourceUri}
Header Parameters subjectid:SECURITY-TOKEN
Media Type (input) text/uri
Results
Media Type (output)
Status code 200,400,401,402,403
Personal tools