Most APIs work through Content Negotiation. Every API type lists the MIME types used for this. In some cases, regular file extensions are listed. They can be used as an alternative.
Regular metadata export is enabled for almost everything. The schema is described here. The following formats are supported:
Format | MIME type | File extension |
---|---|---|
JSON | application/json | .json |
The following paths are supported:
/abbreviations/*
/agadeMailsCdliTags/*
/agadeMails/*
/archives/*
/articlesAuthors/*
/articlesPublications/*
/articles/*
/artifactsCollections/*
/artifactsComposites/*
/artifactsDates/*
/artifactsExternalResources/*
/artifactsGenres/*
/artifactsLanguages/*
/artifactsMaterials/*
/artifactsPublications/*
/artifactsSeals/*
/artifactsShadow/*
/artifacts/*
/artifactsUpdates/*
/artifactTypes/*
/authorsPublications/*
/authors/*
/authorsUpdateEvents/*
/cdliTags/*
/collections/*
/dates/*
/dynasties/*
/editorsPublications/*
/editors/*
/entryTypes/*
/externalResources/*
/genres/*
/inscriptions/*
/journals/*
/languages/*
/materialAspects/*
/materialColors/*
/materials/*
/months/*
/periods/*
/postings/*
/postingTypes/*
/proveniences/*
/publications/*
/regions/*
/retiredArtifacts/*
/roles/*
/rolesUsers/*
/rulers/*
/signReadingsComments/*
/signReadings/*
/staff/*
/staffTypes/*
/updateEvents/*
/users/*
/years/*
The CDLI catalog supports Linked Open Data output for catalog data. The following formats are supported:
Format | MIME type | File extension |
---|---|---|
JSON-LD | application/ld+json | .jsonld |
RDF/JSON | application/rdf+json | - |
RDF | application/rdf+xml | .xml, .rdf |
N-Triples | application/n-triples | .nt |
Turtle | text/turtle, application/turtle, application/x-turtle | .ttl |
The following paths, part of the main catalog, support linked data APIs:
/archives/*
/artifacts/*
/artifactsExternalResources/*
/artifactsMaterials/*
/collections/*
/dates/*
/dynasties/*
/genres/*
/inscriptions/*
/languages/*
/materials/*
/materialAspects/*
/materialColors/*
/periods/*
/proveniences/*
/publications/*
/regions/*
/rulers/*
Bibliography exports are supported for artifacts and publications. The following formats are supported:
Format | MIME type | File extension |
---|---|---|
BibTeX | application/x-bibtex | .bib |
CSL-JSON | application/vnd.citationstyles.csl+json | - |
Formatted bibliographies | text/x-bibliography | - |
RIS | application/x-research-info-systems | .ris |
Formatting is done using citeproc-js and CSL styles. To specify the bibliographic style of the formatted bibliographies, use the style
query parameter. For styles that can be used, check out the CSL styles repository or Zotero's search index.
The following paths are supported:
/artifacts/*
/publications/*
Inscriptions can be fetched from specific inscription versions or from the latest inscription of a given artifact. Note that CoNLL-RDF is included in the linked data export. The following formats are supported:
Format | MIME type | File extension |
---|---|---|
C-ATF | text/x-c-atf | - |
CDLI-CoNLL | text/x-cdli-conll | - |
CoNLL-U | text/x-conll-u | - |
The following paths are supported:
/artifacts/*/inscription/*
/inscriptions/*
Tabular exports are supported for artifacts, publications, and the links between the two (artifactsPublications). The following formats are supported:
Format | MIME type | File extension |
---|---|---|
CSV | text/csv | .csv |
TSV | text/tab-separated-values | .tsv |
Excel | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet | .xlsx |
The following paths are supported:
/artifacts/*
/artifactsPublications/*
/publications/*