discovery

Fetch a resource by ID

Changed on

Fetch a resource. Note alternate response formats:

.ntriples, .turtle, .jsonld (default)

get/v0.1/discovery/resources/{id}

Request

Path parameters

idstring required

ID

Query parameters

items_sizenumber

Specify many items to return

items_fromnumber

Specify starting index for retrieved items

all_itemsboolean

When true, fetches all items for a bib. Overrides items_from and items_size

item_locationstring

Filter on item location

item_statusstring

Filter on item status

item_formatstring

Filter on item format

Response

A single resource

@typestring[]

RDF type(s), e.g. "nypl:Item", "nypl:Resource"

@idstring

ID, e.g. "res:105173159"

creatorLiteralstring[]

Creator literals

contributorLiteralstring[]

Contributor literals

createdstring

Raw, unparsed date string

createdYearinteger

Year of creation

dateStartYearinteger

Start of relevant year range

depictionstring

URL of an image for the resource

descriptionstring

Description of resource

endYearinteger

Ending year of coverage

extentstring[]

Extent (e.g. page count)

holdingCountinteger

Rough number of copies across institutions

^idstring

Various identifiers given as 'idAcqnum', 'idBarcode', 'idBnum', 'idCallNum', 'idCatnyp', 'idDcc', 'idExhib', 'idHathi', 'idIsbn', 'idIssn', 'idLcc', 'idLccCoarse', 'idMmmsDb', 'idMss', 'idObjNum', 'idOclc', 'idOwi', 'idRlin', 'idUuid'

numAvailableinteger

Number of items available

placeOfPublicationstring[]
prefLabelstring[]

Best title(s)

roles:ROLEstring[]

Contributor literals by ROLE

startYearinteger

Beggining year of coverage

suppressedboolean

Indicates whether or not resource should be suppressed from view

titlestring[]

Title(s)

titleDisplaystring[]

Display title(s)

typestring[]
uristring

Internal identifier for resource

Changes

    • info

      added the new optional query request parameter all_items

    • info

      added the new optional query request parameter item_format

    • info

      added the new optional query request parameter item_location

    • info

      added the new optional query request parameter item_status

    • info

      added the new optional query request parameter items_from

    • info

      added the new optional query request parameter items_size