Skip to content

Robots_GetRobotThumbnail

GET
/v1/accounts/{account}/robots/{robot}/thumbnail
curl --request GET \
--url https://junction-api.qualiastudios.dev/v1/accounts/example/robots/example/thumbnail \
--header 'X-API-Key: <X-API-Key>'

Gets the bytes of a robot’s thumbnail by its sha256. NOT_FOUND unless sha256 is the robot’s current thumbnail_sha256. The bytes behind a sha256 never change, so a client may cache them for good.

account
required
string

The account id.

robot
required
string

The robot id.

sha256
string

Robot.thumbnail_sha256.

OK

Media type application/json

A robot’s thumbnail.

object
sha256

The sha256 (lowercase hex) of image.

string
contentType

“image/webp” or “image/png”.

string
image

The picture.

string format: bytes
Example generated
{}

Default error response

Media type application/json
One of:
API error

A refusal from the API itself.

object
code
required

The gRPC code name in upper case, e.g. NOT_FOUND.

string
message
required
string
retryable
required

Whether the same call may succeed if retried.

boolean
details
required

Empty, except when a dataset copy or move is refused: then one google.rpc.ErrorInfo with the refusal’s reason code, its domain and, in metadata, the datasets it names.

Array<object>
object
Example generated
{
"code": "example",
"message": "example",
"retryable": true,
"details": [
{}
]
}