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 type text/html
string
No registry object found at this identifier.
Media type application/json
object
message
required
string
code
string
Example generated
{ "message": "example", "code": "example"}