{ "opencollection": "1.0.0", "info": { "name": "Phrase Strings API Reference Accounts Teams API", "version": "2.0.0" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "Teams", "type": "folder" }, "items": [ { "info": { "name": "List Teams", "type": "http" }, "http": { "method": "GET", "url": "https://api.phrase.com/v2/accounts/:account_id/teams", "headers": [ { "name": "X-PhraseApp-OTP", "value": "" } ], "params": [ { "name": "account_id", "value": "", "type": "path", "description": "Account 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 Teams for the given account." }, { "info": { "name": "Create a Team", "type": "http" }, "http": { "method": "POST", "url": "https://api.phrase.com/v2/accounts/:account_id/teams", "headers": [ { "name": "X-PhraseApp-OTP", "value": "" } ], "params": [ { "name": "account_id", "value": "", "type": "path", "description": "Account ID" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a new Team." }, { "info": { "name": "Get Team", "type": "http" }, "http": { "method": "GET", "url": "https://api.phrase.com/v2/accounts/:account_id/teams/:id", "headers": [ { "name": "X-PhraseApp-OTP", "value": "" } ], "params": [ { "name": "account_id", "value": "", "type": "path", "description": "Account ID" }, { "name": "id", "value": "", "type": "path", "description": "ID" } ] }, "docs": "Show the specified Team." }, { "info": { "name": "Update Team", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.phrase.com/v2/accounts/:account_id/teams/:id", "headers": [ { "name": "X-PhraseApp-OTP", "value": "" } ], "params": [ { "name": "account_id", "value": "", "type": "path", "description": "Account ID" }, { "name": "id", "value": "", "type": "path", "description": "ID" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update the specified Team." }, { "info": { "name": "Delete Team", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.phrase.com/v2/accounts/:account_id/teams/:id", "headers": [ { "name": "X-PhraseApp-OTP", "value": "" } ], "params": [ { "name": "account_id", "value": "", "type": "path", "description": "Account ID" }, { "name": "id", "value": "", "type": "path", "description": "ID" } ] }, "docs": "Delete the specified Team." }, { "info": { "name": "Add Project to Team", "type": "http" }, "http": { "method": "POST", "url": "https://api.phrase.com/v2/accounts/:account_id/teams/:team_id/projects", "headers": [ { "name": "X-PhraseApp-OTP", "value": "" } ], "params": [ { "name": "account_id", "value": "", "type": "path", "description": "Account ID" }, { "name": "team_id", "value": "", "type": "path", "description": "Team ID" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Adds an existing project to the team." }, { "info": { "name": "Remove Project from Team", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.phrase.com/v2/accounts/:account_id/teams/:team_id/projects/:id", "headers": [ { "name": "X-PhraseApp-OTP", "value": "" } ], "params": [ { "name": "account_id", "value": "", "type": "path", "description": "Account ID" }, { "name": "team_id", "value": "", "type": "path", "description": "Team ID" }, { "name": "id", "value": "", "type": "path", "description": "ID" } ] }, "docs": "Removes a specified project from the specified team." }, { "info": { "name": "Add Space", "type": "http" }, "http": { "method": "POST", "url": "https://api.phrase.com/v2/accounts/:account_id/teams/:team_id/spaces", "headers": [ { "name": "X-PhraseApp-OTP", "value": "" } ], "params": [ { "name": "account_id", "value": "", "type": "path", "description": "Account ID" }, { "name": "team_id", "value": "", "type": "path", "description": "Team ID" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Adds an existing space to the team." }, { "info": { "name": "Remove Space", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.phrase.com/v2/accounts/:account_id/teams/:team_id/spaces/:id", "headers": [ { "name": "X-PhraseApp-OTP", "value": "" } ], "params": [ { "name": "account_id", "value": "", "type": "path", "description": "Account ID" }, { "name": "team_id", "value": "", "type": "path", "description": "Team ID" }, { "name": "id", "value": "", "type": "path", "description": "ID" } ] }, "docs": "Removes a specified space from the specified team." }, { "info": { "name": "Add User", "type": "http" }, "http": { "method": "POST", "url": "https://api.phrase.com/v2/accounts/:account_id/teams/:team_id/users", "headers": [ { "name": "X-PhraseApp-OTP", "value": "" } ], "params": [ { "name": "account_id", "value": "", "type": "path", "description": "Account ID" }, { "name": "team_id", "value": "", "type": "path", "description": "Team ID" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Adds an existing user to the team." }, { "info": { "name": "Remove User", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.phrase.com/v2/accounts/:account_id/teams/:team_id/users/:id", "headers": [ { "name": "X-PhraseApp-OTP", "value": "" } ], "params": [ { "name": "account_id", "value": "", "type": "path", "description": "Account ID" }, { "name": "team_id", "value": "", "type": "path", "description": "Team ID" }, { "name": "id", "value": "", "type": "path", "description": "ID" } ] }, "docs": "Removes a specified user from the specified team." } ] } ], "bundled": true }