GET  /robots/show

Gets any of your robots by its ID.

Authorization Required

Authorization is required for this resource.

Note

You will not be able to access other user's robots with this resource; only your own. Use /robots/find to lookup other robots by a variety of criteria.


Headers

Content-Type [Required]
application/json
Yes
All API requests must have Content-Type declared.
Authorization [Required]
Bearer authorization_token
Yes
In order to carry out this request, your authorization token will need to be supplied with this request. Your authorization token can be found associated to your account on Rampage. NB: Please never reveal this key publicly.

Body

id [Required]
integer
Yes
ID of the robot you want to lookup.

Response

Success
{"name":"Polly","weapon":"Flipper","weight_class":"Beetleweight (1.5kg)"}
Not Provided
{"error":"ID must be specified."}
Cannot Be Found
{"error":"Robot could not be found."}
Insufficient Permissions
{"error":"You do not have permissions to access this resource."}