{ "opencollection": "1.0.0", "info": { "name": "Phrase Strings API Reference Accounts Projects API", "version": "2.0.0" }, "request": { "auth": { "type": "apikey", "key": "Authorization", "value": "{{Authorization}}", "placement": "header" } }, "items": [ { "info": { "name": "Projects", "type": "folder" }, "items": [ { "info": { "name": "List projects", "type": "http" }, "http": { "method": "GET", "url": "https://api.phrase.com/v2/projects", "headers": [ { "name": "X-PhraseApp-OTP", "value": "" } ], "params": [ { "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" }, { "name": "account_id", "value": "", "type": "query", "description": "Filter by Account ID" }, { "name": "sort_by", "value": "null", "type": "query", "description": "Sort projects. Valid options are \"name_asc\", \"name_desc\", \"updated_at_asc\", \"updated_at_desc\", \"space_asc\" and \"space_desc\"." }, { "name": "filters", "value": "favorites", "type": "query", "description": "Filter projects. Valid options are [\"favorites\"]." } ] }, "docs": "List all projects the current user has access to." }, { "info": { "name": "Create a project", "type": "http" }, "http": { "method": "POST", "url": "https://api.phrase.com/v2/projects", "headers": [ { "name": "X-PhraseApp-OTP", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Create a new project." }, { "info": { "name": "Get a single project", "type": "http" }, "http": { "method": "GET", "url": "https://api.phrase.com/v2/projects/:id", "headers": [ { "name": "X-PhraseApp-OTP", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "ID" } ] }, "docs": "Get details on a single project." }, { "info": { "name": "Update a project", "type": "http" }, "http": { "method": "PATCH", "url": "https://api.phrase.com/v2/projects/:id", "headers": [ { "name": "X-PhraseApp-OTP", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "ID" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update an existing project." }, { "info": { "name": "Delete a project", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.phrase.com/v2/projects/:id", "headers": [ { "name": "X-PhraseApp-OTP", "value": "" } ], "params": [ { "name": "id", "value": "", "type": "path", "description": "ID" } ] }, "docs": "Delete an existing project." } ] } ], "bundled": true }