Linked Data Import API (v1)

Linked Data Import API

import, start

startImport

Starts the process of Linked Data Import and returns ID of Import Job Instance

query Parameters
fileUrl
required
string

The URL of the file to be imported from S3

contentType
string

Content type of the file to be imported (e.g., application/ld+json, text/turtle). JSON by default.

defaultWorkType
string (defaultWorkType)
Enum: "MONOGRAPH" "SERIAL"

Default Work extra type - MONOGRAPH or SERIAL

Responses

import, job

getJobInfo

Returns information about Import Job by ID

path Parameters
jobId
required
integer <int64>

The ID of the Import Job Instance

Responses

Response samples

Content type
application/json
{
  • "startDate": "string",
  • "endDate": "string",
  • "startedBy": "string",
  • "status": "string",
  • "fileName": "string",
  • "currentStep": "string",
  • "linesRead": 0,
  • "linesMapped": 0,
  • "linesFailedMapping": 0,
  • "linesCreated": 0,
  • "linesUpdated": 0,
  • "linesFailedSaving": 0
}

getFailedLines

Downloads CSV file with failed RDF lines for the specified job

path Parameters
jobId
required
integer <int64>

The ID of the Import Job Instance

Responses