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

Code Block

http://

...

cspacetest.collectionspace.org:8180/cspace-services/personauthorities/acc60b93-3a09-47eb-bd8f/items?as=

Get cataloging records referencing a specific person authority record

...

An example API call would be a such

Code Block

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.

...