Robots_GetRobotThumbnail
const url = 'https://junction-api.qualiastudios.dev/v1/accounts/example/robots/example/thumbnail';const options = {method: 'GET', headers: {'X-API-Key': '<X-API-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”The account id.
The robot id.
Query Parameters
Section titled “Query Parameters ”Robot.thumbnail_sha256.
Responses
Section titled “ Responses ”OK
A robot’s thumbnail.
object
The sha256 (lowercase hex) of image.
“image/webp” or “image/png”.
The picture.
Example generated
{}default
Section titled “default ”Default error response
A refusal from the API itself.
object
The gRPC code name in upper case, e.g. NOT_FOUND.
Whether the same call may succeed if retried.
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.
object
A refusal from the gateway before the call reaches the API, for example 401 bad or missing API key, 403 key lacks the scope or environment closed, 413 body too large.
object
What went wrong.
Example generated
{ "code": "example", "message": "example", "retryable": true, "details": [ {} ]}