Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Note
titleOut of date

Newest schema mapping is here

Status

This schema is...

 

under review

complete

 

...

Description

NXQL string

DB string

API query string

Required

is object record deleted?

CSpace specific flag

misc.lifestylestate <> 'deleted'

&wf_deleted=false

Y

sort by

CSpace specific flag

ORDER BY collectionspace_core.updatedat

?sortBy=collectionspace_core:updatedAt

N

...

Code Block
http://cspacetest.collectionspace.org:8180/cspace-services/personauthorities/urn:cspace:name(person)/urn:cspace:name(oc2584)

Also see /wiki/spaces/collectionspace/pages/666273476.

Get referenced authority records

Append authorityrefs to the API URL for a collectionobject record to get a list of referenced authority records': sourceField, itemDisplayName and refName (in short ID format).

An example API call for authorityrefs for a given authority record

Code Block

http://cspacetest.collectionspace.org:8180/cspace-services/personauthorities/urn:cspace:name(person)/items/urn:cspace:name(FOOPERSON1330911677949)/authorityrefs

Get cataloging records referencing a specific person authority record

...

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, i.e. records that are not collectionobjects nor authorities, but using a ?type=object parameter will filter by object record. Likewise, ?type=authority will filter by authorities.

An example API call would be a as such

Code Block
http://cspacetest.collectionspace.org:8180/cspace-services/personauthorities/urn:cspace:name(person)/items/442a6f9e-e361-4369-a8e3urn:cspace:name(FOOPERSON1330911677949)/refObjs?type=object

Also see related Object References for authority term instances.

Controlled List mapping

Entity - Type

...

Authority REST API for Hierarchies
Person Services REST APIs
Organization Services REST APIs
Common Services REST API
Short Identifier /wiki/spaces/collectionspace/pages/666273476