The Bib API
The Bib API contains methods for retrieving, creating, updating, and deleting bibliographic records and related MARC information.
With the Bib API, you can:
- Get a list of bibs
- Generate a binary MARC data file of bibs
- Get the generated binary MARC data file
- Filter the records by a query in JSON format
- Get a bib by record ID
- Get the MARC data for a single bib record
- Get a list of metadata
- Find bib information using Advanced Word Search (AWS) by author, title, or keyword
The Try it out! links below take you to the corresponding section in the interactive documentation, where you can view the model, model schema, and parameters for each available operation.
See also:
Get a List of Bibs
GET /v6/bibs/
Returns the properties of the first x bib objects, where x = the default record limit.
Generate a Binary MARC Data File of Bibs
GET /v6/bibs/marc
Generates a data file of MARC records for a specified list or range of bibs.
Get the Generated Binary MARC Data File
GET /v6/bibs/marc/files/{id}
Retrieves the specified generated data file of MARC records.
Filter the Records by a Query in JSON Format
POST /v6/bibs/query
Returns a list of records that satisfy the JSON query.
See Creating a JSON Query for information about the structure of Sierra JSON queries.
Get a Bib by Record ID
GET /v6/bibs/{id}
Returns a single bib object with the specified record ID.
Get the MARC Data for a Single Bib Record
GET /v6/bibs/{id}/marc
Returns MARC data for the specified bib record.
Get a List of Metadata
GET /v6/bibs/metadata
Returns material type metadata. If a language parameter is supplied and that language is configured in Sierra, data returned is in the supplied language; otherwise, data is returned in English.
See Material Types Table in the Sierra WebHelp for more information on how material types are used in the Sierra system.
Find Bib Information using Advanced Word Search (AWS) by Author, Title, or Keyword
GET /v6/bibs/search
Performs a keyword search using the AWS index. Required parameters are text, which specifies the term you are searching for. The optional index parameter allows you to search a segment of the AWS index. You can find a list of supported search segments at:
https://<your_sierra_hostname>/sierra/admin/Help.html
Note that some search segments might not be configured on your Sierra system. See API Keyword Search for further information.