NationalMuseumAustralia / Collection-API

The public web API of the National Museum of Australia
10 stars 0 forks source link

Finding all objects in a particualar gallery #68

Open f27wood opened 6 years ago

f27wood commented 6 years ago

From testing scenario: Find all of the objects located in Landmarks and display these as a list with a link to Collection Explorer

Testing feedback:

I may be mistaken, but I could not find any mention of searching on this relationship in the documentation. This means I must traverse the full collection and search for the relationship “used_in” where label values match one of ‘Landmarks’, ‘Upper Landmarks’ or ‘Lower Landmarks’. ● http://nma.conaltuohy.com/object?limit=100&offset=400&text=*&format=json-ld ● ^^ has results, but it doesn’t make sense to loop through the entire collection to find these objects.

f27wood commented 6 years ago

I think this is one for Phase Two as not easily implemented, as we do not currently have a gallery location endpoint or id table.