get https://api.gathercontent.com/items/
Fetches the item with content for the given item id path parameter.
Repeatable Fields
The example JSON below demonstrates the different content responses for repeating and non-repeating fields for a single item.
0906aeac-80a0-b78b-5202-a97e1c7bfc04
is a structure field that is set as repeatable. It returns an array of objects containing each item field's content, uuid and version, they are ordered by their position, ascending.
rbfd2836-b758-2a1b-23db-aa3eaacae348
is a structure field that is not repeatable. It returns a single string value of the item field's content.
{
"data": {
...,
"content": {
"0906aeac-80a0-b78b-5202-a97e1c7bfc04": [
{
"content": "<p>Repeatable field 1<\/p>",
"uuid": "0337e67b-0884-482b-bc03-11d82186ce01",
"version": 13
},
{
"content": "<p>Repeatable field 2<\/p>",
"uuid": "900e24bf-efc6-4847-913a-568e5e1f8653",
"version": 20
},
{
"content": "<p>Repeatable field 3<\/p>",
"uuid": "1256fa45-15e5-491d-8cfb-f6797b5e6d9f",
"version": 13
}
],
"rbfd2836-b758-2a1b-23db-aa3eaacae348": "<p>Standard, non-repeating field<\/p>"
}
}
}