Skip to content

Work — JSON-LD

GET
/id/work/{key}.json
curl --request GET \
--url https://textrefs.org/id/work/example.json
key
required
string
/^[a-z0-9][a-z0-9._-]*$/

Flat registry key.

Work record as JSON-LD.

Media type application/json
object
status
required
string
Allowed values: candidate active deprecated withdrawn blocked
created
required
string
/^\d{4}-\d{2}-\d{2}$/
modified
required
string
/^\d{4}-\d{2}-\d{2}$/
id
required
string
/^https://textrefs\.org/id/work/[^/]+$/
key
required

Flat registry key: lowercase, starts with [a-z0-9], allows . _ -

string
/^[a-z0-9][a-z0-9._-]*$/
type
required
string
Allowed values: Work
preferred_label
required
string
>= 1 characters
Example
{
"status": "candidate",
"type": "Work"
}

No registry object found at this identifier.

Media type application/json
object
message
required
string
code
string
Example generated
{
"message": "example",
"code": "example"
}