Alias table — JSON
GET
/dump/aliases.json
const url = 'https://textrefs.org/dump/aliases.json';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://textrefs.org/dump/aliases.jsonThe complete alias table as one JSON object, with sorted keys and no indentation. For a single lookup, use /reg/work/{key}/aliases.json instead. This file serves a consumer that mirrors the whole table.
Responses
Section titled “Responses”One JSON object. Each key is an alias. Each value is the canonical IRI that the alias resolves to.
Media typeapplication/json
The /dump/aliases.json table, with one entry per alias. A key is either a /cite/ alias path — {work_key}/{locator} or {work_key}/{citation_system_key}/{locator} — or an external identifier IRI carried by a MappingAssertion. A value is the canonical IRI that the key resolves to — an /id/ref/ IRI for a /cite/ alias, an /id/work/ IRI for an external identifier. A :// in the key marks the second kind.
object
key
additional properties
string format: uri
Examplegenerated
{ "additionalProperty": "https://example.com"}