Hi All,

I'm hoping someone has run into this before - I couldn't find anything in the 
list history. I'm working with the API and trying to get a list of top 
containers associated with a given series.

Since top containers aren't easily linked from information in the tree or 
small_tree I'm using the search function to fetch a container based on either 
barcode or a combination of resource and series URIs. However, the search 
function returns massive amounts of data ( > 4mb for a large collection) which 
seems unnecessary. I tracked it down to the _resolved property in the 
linked_records property of the rights_restriction jsonmodel which is included 
in the  active_restrictions property of the jsonmodel of the top container.  It 
seems like there is way more information returned here then is every actually 
required from a search so I'm wondering if there's any way to change the 
properties returned by search endpoints without tweaking the jsonmodels or 
writing a plugin? Or to just return the URI in the ref property which seems to 
be the more typical behavior anyway? It seems like ASpace isn't totally 
consistent with returning recursive properties for every request (e.g., 
Children are not returned past one level in the tree when a node is provided 
despite being in the model) so I'm assuming that there's some flexibility here.

Thanks in advance for any help,
Steelsen


___________________________
Steelsen Smith
Fulfillment Systems Specialist
Enterprise Systems Group
Yale Library IT
203.432.3333


_______________________________________________
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group@lyralists.lyrasis.org
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group

Reply via email to