Includes
Define a general number of included relation levels
Path Parameters
Name
Type
Description
// Example for 'includes=1' (aggregate first level)
data: [
{
"fields": {
"title": "Roses are red",
"author": {
"meta": {
"id": "323979853562951413",
"contentType": "author"
}
}
},
"meta": {
"id": "314159265358979323",
"contentType": "poem",
"repository": "123456789011121415",
"revision": 1,
"tags": [],
"createdAt": "2018-01-01T00:00:00.000Z",
"updatedAt": "2018-01-01T00:00:00.000Z"
}
}
],
includes: [
author: [
{
"fields": {
"name": "Victor Hugo"
},
"meta": {
"id": "323979853562951413",
"contentType": "author",
"repository": "123456789011121415",
"revision": 1,
"tags": [],
"createdAt": "2018-01-01T00:00:00.000Z",
"updatedAt": "2018-01-01T00:00:00.000Z"
}
}
]
]
Include relations from specific fields
Path Parameters
Name
Type
Description
Notation
Field types
Embed Assets
Notation
Examples
IncludesLast updated