Relations

Retrieve a Relation

Retrieve a single relation by unique identifier.

get/relations/{id}

Path parameters

idinteger required

Index

Query parameters

fieldsstring[]

Control what fields are being returned in the object.

metastring

What metadata to return in the response.

Response

Successful request

Example response

{
  "data": {
    "id": 1,
    "many_collection": "directus_activity",
    "many_field": "user",
    "one_collection": "directus_users"
  }
}

Changes