Reservoir Upload API (v1)

uploadRecords

Upload MARC binary and MARCXML records.

query Parameters
sourceId
required
string

source identifier (library ID)

sourceVersion
integer
Default: 1

source version

fileName
string

file name of the uploaded file (for non multipart upload)

localIdPath
string

JSON-path for where local identifier is fetched from

xmlFixing
boolean
Default: false

attempt to fix XML input by replacing invalid chars

raw
boolean
Default: false

only calculate size

ingest
boolean
Default: true

ingest records after processing files

header Parameters
X-Okapi-Tenant
string

Okapi Tenant

X-Okapi-Token
string

Okapi Token

X-Okapi-Url
string

Okapi URL

X-Okapi-Permissions
string

A JSON array with client permissions

Request Body schema:
records
string <binary>

Responses

Response samples

Content type
application/json
{
  • "property1": {
    },
  • "property2": {
    }
}