Skip to Content
Vatis TechAPI docs
Vocabularies

Get a vocabulary

Returns one saved vocabulary with its entries.

Serverhttps://api.eu.vatis.tech

GET/v1/vocabularies/{id}

Path parameters

id (required)
The vocabulary.
Valuesa vocabulary id, voc_...

Headers

Authorization (required)
ValuesBearer <api key>

Response fields

id
voc_ and 12 hex digits: a session's vocabulary_id.
name
The vocabulary's name.
entry_count
How many entries it holds.
created_at
When it was made: ISO 8601, UTC.
updated_at
Its last change: ISO 8601, UTC.
entries
The entries, in the order they were added.

Responses

The vocabulary.

400 invalid_parameter

A query parameter: this endpoint takes none (Strict parameters).

No key, or a wrong, revoked or expired one.

No vocabulary of your workspace has that id.

503 unavailable

The service is busy for a moment. Send the request again after the seconds of the Retry-After header.

Notes

  • Any key may read one, a Member key too.