Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Searching through authority records via API calls requires prior knowledge of the parent authority CSID. For instance, the default person authority CSID can be gathered from a GET call: http://cspacedev.collectionspace.org:8180/cspace-services/personauthorities/ returns the CSID acc60b93-3a09-47eb-bd8f for authority with displayName 'Default Person Authority'.
The URL structure is formatted as such http://cspacedev.collectionspace.org:8180/cspace-services/personauthorities/acc60b93-3a09-47eb-bd8f/items?as=

Get cataloging records referencing a specific person authority record

Note

This is currently broken for MMI.

Getting a list of cataloging records referencing a specific person authority record follows the same API construction listed in the previous section. An additional query path component is used, refObjs, to filter referencing cataloging, procedural or authority records. By default refObjs filters by procedural records but using a ?type=object parameter will filter by object record. Likewise, ?type=authority will filter by authorities.

Note

This sample API call will not return any results due to a bug in how document types are listed internally.

An example API call would be like http://cspacetest.collectionspace.org:8180/cspace-services/personauthorities/acc60b93-3a09-47eb-bd8f/items/442a6f9e-e361-4369-a8e3/refObjs?type=object

Also see related Object References for authority term instances.

Authority REST API for Hierarchies
Person Services REST APIs
Organization Services REST APIs
Common Services REST API