Returns how complete each language is on a branch.
HTTP
GET /projects/{projectId}/statusAccess: Session token, or an API key with the projects:read scope.
Role: Any role in the project.
Path parameters #
| Parameter | Description |
|---|---|
projectId | The id of the project. |
Query parameters #
| Parameter | Required | Description |
|---|---|---|
branch | no | The branch name. Unknown or missing names fall back to the protected branch. |
Response 200 #
The status.
JSON
{
"branch": "main",
"keys": 318,
"languages": [
{ "code": "de-de", "status": "active", "translated": 120, "percent": 37 },
{ "code": "fr-fr", "status": "inactive", "translated": 0, "percent": 0 }
]
}Response fields #
| Field | Type | Description |
|---|---|---|
branch | string | The branch that was read. |
keys | integer | Keys with a source text. |
languages[].code | string | The language code. |
languages[].status | string | active, review or inactive. |
languages[].translated | integer | Published translations. |
languages[].percent | integer | Percent translated, rounded down. 100 when there are no keys. |
Errors #
| Status | error | When |
|---|---|---|
| 401 | unauthenticated | The token is missing or not valid. |
| 404 | not_found | The project does not exist in your organisation, you have no access to it, or projectId is not a UUID. |
| 429 | rate_limited | Too many requests, see Rate limiting. |
See Errors for the error format.