CitationSystem — JSON-LD
GET
/id/system/{key}.json
const url = 'https://textrefs.org/id/system/example.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/id/system/example.jsonParameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”key
required
string
Flat registry key.
Responses
Section titled “Responses”CitationSystem record as JSON-LD.
Media typeapplication/json
object
status
required
string
created
required
string
modified
required
string
superseded_by
Successor IRI. Only present when status is deprecated, withdrawn, or blocked.
string format: iri
id
required
string
key
required
Flat registry key: lowercase, starts with [a-z0-9], allows . _ -
string
type
required
string
preferred_label
required
string
description
required
string
locator_regex
required
string
Example
{ "status": "draft", "type": "CitationSystem"}No registry object found at this identifier. The site is static, so the
host cannot build a per-path error body. It serves the site’s own 404
page instead: text/html, with the same navigation as every other
page. A client detects the miss from the status code, not from the body.
Media typetext/html
The site’s HTML 404 page.
string