discovery
Fetch a resource by ID
Changed onFetch a resource. Note alternate response formats:
.ntriples, .turtle, .jsonld (default)
get/v0.1/discovery/resources/{id}
Request
- Base URLhttps://platform.nypl.org/api
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
Changes
- info
added the new optional
queryrequest parameterall_items - info
added the new optional
queryrequest parameteritem_format - info
added the new optional
queryrequest parameteritem_location - info
added the new optional
queryrequest parameteritem_status - info
added the new optional
queryrequest parameteritems_from - info
added the new optional
queryrequest parameteritems_size
- info