Get Media

Retrieve a single image from GCS by encoded image_id.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Returns one image by its encoded image_id, which carries the dataset routing information. Set thumbnail_size to small, medium, or large for a resized thumbnail, or leave it out for the original image.

When to use it

Use it to fetch an image field logged to a dataset, for example to display it next to the record it belongs to.

Required parameters

  • image_id (body): the encoded image ID, which contains dataset routing information.

Optional body fields: thumbnail_size.

Response

A successful call returns 200 OK with the image. The response content type is not documented.

Related: Log a record to a dataset, Run a SQL query on datasets, Get a dataset

Body Params

Request body for the get-media endpoint.

string
required

Encoded image ID (contains dataset routing information)

enum

Return a resized thumbnail at this size. None returns the original.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

404

Not Found

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json