Right now, if I retrieve an item through the REST API, using “
api/items?id=30”, I can get all of its object properties and the ids of the items that they point to. However, the incoming connections aren’t listed. Is there a way to obtain that information through the API?
I tried doing something like “
api/items?property[type]=res&property[text]=30”, but it doesn’t work (it simply lists all the data, as if there were no parameters). If I use “
api/items?property[property]=315&property[type]=res&property[text]=30”, it seems to work, but, as expected, it only lists the items connected to item 30 through an specific object property (with ID 315).
Considering that I’m currently using the Records in Contexts ontology, items can be connected through several different object properties, making it impractical for me to check every single possible property. For that reason, I would like to ask if there is a way to retrieve all connections TO a specific item through the REST API, regardless of the object properties being used.
I’m currently using Omeka S, version 3.1.0.