I’m trying to build a list of items from the REST API of an Omeka S installation. Everything is working fine with properties (resource and literal types) but I have a problem with item sets.
When an item is linked to an item set, the API only returns its @id and o:id. I wish I can get the display_title of every item sets linked to an item in only one call to the API, as it’s possible with a value of resource type.
This request:
xxx/items?resource_template_id=5
returns:
"o:item_set": [
{
"@id": "xxx/api/item_sets/141",
"o:id": 141
}
],
and I wish it can return something like that:
"o:item_set": [
{
"@id": "xxx/api/item_sets/141",
"o:id": 141,
"display_title": "the title of this item set"
}
],
How can I do that?