GET
/
api
/
v2
/
platform
/
digitals
/
{id}
curl --request GET \
  --url http://{defaultHost}/api/v2/platform/digitals/{id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "28",
    "type": "digital",
    "attributes": {
      "url": "/rails/active_storage/blobs/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBMUT09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--0b80fde2e739c30ef5390b1ca35d677810a2d02c/thinking-cat.jpg",
      "content_type": "image/jpeg",
      "filename": "thinking-cat.jpg",
      "byte_size": 18090
    },
    "relationships": {
      "variant": {
        "data": {
          "id": "112",
          "type": "variant"
        }
      }
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Query Parameters

include
string

Select which associated resources you would like to fetch, see: <a href="https://jsonapi.org/format/#fetching-includes">https://jsonapi.org/format/#fetching-includes</a>

Response

200
application/vnd.api+json
Record found
data
object
required