Work — HTML
GET
/id/work/{key}/
const url = 'https://textrefs.org/id/work/example/';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/work/example/Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”key
required
string
Flat registry key.
Responses
Section titled “Responses”Work landing page.
Media typetext/html
string
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