User:Details

From ToxBank API Wiki
(Difference between revisions)
Jump to: navigation, search
m
 
Line 4: Line 4:
 
|REST_op_method=GET
 
|REST_op_method=GET
 
|REST_op_uri=/user/{obfuscated_id}
 
|REST_op_uri=/user/{obfuscated_id}
|REST_op_params=TBD, may be used  to filter the retrieved info
+
|REST_op_params=none
 
|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=content
+
|REST_op_result=The user representation in supported media type
|REST_op_mime_output=multiple formats
+
|REST_op_mime_output=application/rdf+xml;text/n3;text/uri-list
|REST_op_status=200,202,400,401,402,403
+
|REST_op_status=200,400,401,402,403
 +
|REST_op_example=curl -X GET -H 'Accept:application/rdf+xml' -H 'subjectid:TOKEN' http://toxbanktest1.opentox.org:8080/toxbank/user/U1
 
}}
 
}}

Latest revision as of 12:47, 14 December 2011

Description Retrieve user details
Resource User
Method GET
URI /user/{obfuscated_id}
Parameters none
Header Parameters subjectid:SECURITY-TOKEN
Media Type (input) none
Results The user representation in supported media type
Media Type (output) application/rdf+xml;text/n3;text/uri-list
Status code 200,400,401,402,403
Facts about DetailsRDF feed
Acts onUser  +
Has output media typeapplication/rdf+xml;text/n3;text/uri-list  +
Has status code200,400,401,402,403  +
Personal tools