{ "opencollection": "1.0.0", "info": { "name": "Phrase Strings API Reference Accounts Glossary Terms API", "version": "2.0.0" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "Glossary Terms", "type": "folder" }, "items": [ { "info": { "name": "List terms", "type": "http" }, "http": { "method": "GET", "url": "https://api.phrase.com/v2/accounts/:account_id/glossaries/:glossary_id/terms", "headers": [ { "name": "X-PhraseApp-OTP", "value": "" } ], "params": [ { "name": "account_id", "value": "", "type": "path", "description": "Account ID" }, { "name": "glossary_id", "value": "", "type": "path", "description": "Glossary ID" }, { "name": "page", "value": "1", "type": "query", "description": "Page number" }, { "name": "per_page", "value": "25", "type": "query", "description": "Limit on the number of objects to be returned, between 1 and 100. 25 by default" } ] }, "docs": "List all terms in term bases (previously: glossary) that the current user has access to." }, { "info": { "name": "Create a term", "type": "http" }, "http": { "method": "POST", "url": "https://api.phrase.com/v2/accounts/:account_id/glossaries/:glossary_id/terms", "headers": [ { "name": "X-PhraseApp-OTP", "value": "" } ], "params": [ { "name": "account_id", "value": "", "type": "path", "description": "Account ID" }, { "name": "glossary_id", "value": "", "type": "path", "description": "Glossary ID" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a new term in a term base (previously: glossary)." }, { "info": { "name": "Get a single term", "type": "http" }, "http": { "method": "GET", "url": "https://api.phrase.com/v2/accounts/:account_id/glossaries/:glossary_id/terms/:id", "headers": [ { "name": "X-PhraseApp-OTP", "value": "" } ], "params": [ { "name": "account_id", "value": "", "type": "path", "description": "Account ID" }, { "name": "glossary_id", "value": "", "type": "path", "description": "Glossary ID" }, { "name": "id", "value": "", "type": "path", "description": "ID" } ] }, "docs": "Get details for a single term in the term base (previously: glossary)." }, { "info": { "name": "Update a term", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.phrase.com/v2/accounts/:account_id/glossaries/:glossary_id/terms/:id", "headers": [ { "name": "X-PhraseApp-OTP", "value": "" } ], "params": [ { "name": "account_id", "value": "", "type": "path", "description": "Account ID" }, { "name": "glossary_id", "value": "", "type": "path", "description": "Glossary ID" }, { "name": "id", "value": "", "type": "path", "description": "ID" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update an existing term in a term base (previously: glossary)." }, { "info": { "name": "Delete a term", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.phrase.com/v2/accounts/:account_id/glossaries/:glossary_id/terms/:id", "headers": [ { "name": "X-PhraseApp-OTP", "value": "" } ], "params": [ { "name": "account_id", "value": "", "type": "path", "description": "Account ID" }, { "name": "glossary_id", "value": "", "type": "path", "description": "Glossary ID" }, { "name": "id", "value": "", "type": "path", "description": "ID" } ] }, "docs": "Delete an existing term in a term base (previously: glossary)." } ] } ], "bundled": true }