{ "opencollection": "1.0.0", "info": { "name": "Tolgee API Keys Translations API", "version": "v2" }, "request": { "auth": { "type": "apikey", "key": "X-API-Key", "value": "{{X-API-Key}}", "placement": "header" } }, "items": [ { "info": { "name": "Translations", "type": "folder" }, "items": [ { "info": { "name": "Get translations in project", "type": "http" }, "http": { "method": "GET", "url": "https://app.tolgee.io/v2/projects/:projectId/translations", "params": [ { "name": "projectId", "value": "", "type": "path", "description": "Numeric project identifier." }, { "name": "page", "value": "", "type": "query", "description": "Zero-based page index." }, { "name": "size", "value": "", "type": "query", "description": "Page size." }, { "name": "languages", "value": "", "type": "query", "description": "Language tags to return; all languages if omitted." }, { "name": "search", "value": "", "type": "query" }, { "name": "filterState", "value": "", "type": "query" } ] }, "docs": "Returns a paginated, filterable view of keys and their translations." }, { "info": { "name": "Create a key or update its translations", "type": "http" }, "http": { "method": "POST", "url": "https://app.tolgee.io/v2/projects/:projectId/translations", "params": [ { "name": "projectId", "value": "", "type": "path", "description": "Numeric project identifier." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a key or update its translations" }, { "info": { "name": "Update translations for an existing key", "type": "http" }, "http": { "method": "PUT", "url": "https://app.tolgee.io/v2/projects/:projectId/translations", "params": [ { "name": "projectId", "value": "", "type": "path", "description": "Numeric project identifier." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update translations for an existing key" }, { "info": { "name": "Set translation state", "type": "http" }, "http": { "method": "PUT", "url": "https://app.tolgee.io/v2/projects/:projectId/translations/:translationId/set-state/:state", "params": [ { "name": "projectId", "value": "", "type": "path", "description": "Numeric project identifier." }, { "name": "translationId", "value": "", "type": "path" }, { "name": "state", "value": "", "type": "path" } ] }, "docs": "Set translation state" } ] } ], "bundled": true }