Queries for Media

media

Returns a single media object.

media(id) {
  /* Media fields */
}

Arguments

id Int! -- required

The ID of the Media object to return.

Response

Media.* Media

Any requested field from the Media object.

Example

Request

query {
  media(id: 1502763) {
    id
    media_type_id
    url
  }
}

Response

{
  "data": {
    "media": {
      "id": 1502763,
      "media_type_id": 1,
      "url": "https://i.seadn.io/gcs/files/bfe737016182624266aa07ed7af46ed8.png?w=500&auto=format"
    }
  }
}