Glossary

List glossary terms

Terms in the project's glossary, 100 per page, in id order.

GET
/v1/glossary

Terms in the project's glossary, 100 per page, in id order. Follow next_cursor until it is null. Needs a plan that includes the glossary.

Authorization

deployToken
headerAuthorizationBearer <token>

A project deploy token, minted in the console under Settings, Developer, API tokens. Send the whole value, including the numeric prefix before the |. A token carries a set of abilities (push, pull, manage, read, write) and each operation requires one of them. Tokens do not inherit from each other: a manage token cannot read the glossary unless it also has read.

Query Parameters

status?string
Default"active"
Value in"active""pending""rejected"
cursor?string

The next_cursor from the previous page. Opaque.

Response Body

One page of terms.

application/json
  1. response
data?array<>
next_cursor?string|null
curl -X GET 'https://api.transglot.ai/v1/glossary'
{  "data": [    {      "id": 0,      "source_term": "string",      "source_normalized": "string",      "part_of_speech": "string",      "notes": "string",      "case_sensitive": true,      "do_not_translate": true,      "forbidden": true,      "status": "active",      "confidence": 0,      "translations": {        "property1": "string",        "property2": "string"      },      "created_by": "string",      "created_at": "2019-08-24T14:15:22Z",      "updated_at": "2019-08-24T14:15:22Z"    }  ],  "next_cursor": "string"}