Versions Compared

Key

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

...

Code Block
sql
sql
http://cspacetest.collectionspace.org:8180/cspace-services/collectionobjects
?as=collectionobjects_common:distinguishingFeatures ILIKE 'Foo%'
AND collectionobjects_common:recordStatus = 'completedpublish'
&sortBy=collectionspace_core:updatedAt
&wf_deleted=false

REST API query payload columns returned

The following columns are returned from an API query call to the collectionobject service

csid|uri|updatedAt|objectNumber|objectName|title|responsibleDepartment|briefDescriptions

briefDescriptions is used for the browser search results listing page. The related thumbnail image requires a separate call to the relationship service. (See section below for additional details.)

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 collectionobject record

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 collectionobject record

Code Block
http://cspacetest.collectionspace.org:8180/cspace-services/collectionobjects/a7fdba4a-ec23-472c-9c45-47249aa3242d/authorityrefs

REST API query payload columns returned

The following columns are returned from an API query call to the collectionobject service

csid|uri|updatedAt|objectNumber|objectName|title|responsibleDepartment|briefDescriptions

briefDescriptions is used for the browser search results listing page. The related thumbnail image requires a separate call to the relationship service. (See below for additional details.)

Finding related media records from a given collectionobject record

...