github.com/phrase/openapi@v0.0.0-20240514140800-49e8a106740e/paths/spaces/spaces_projects.yaml (about) 1 --- 2 summary: List Projects in Space 3 description: List all projects for the specified Space. 4 operationId: spaces/projects/list 5 tags: 6 - Spaces 7 parameters: 8 - "$ref": "../../parameters.yaml#/X-PhraseApp-OTP" 9 - "$ref": "../../parameters.yaml#/account_id" 10 - "$ref": "../../parameters.yaml#/space_id" 11 - "$ref": "../../parameters.yaml#/page" 12 - "$ref": "../../parameters.yaml#/per_page" 13 responses: 14 '200': 15 description: OK 16 content: 17 application/json: 18 schema: 19 type: array 20 items: 21 "$ref": "../../schemas/project.yaml#/project" 22 headers: 23 X-Rate-Limit-Limit: 24 "$ref": "../../headers.yaml#/X-Rate-Limit-Limit" 25 X-Rate-Limit-Remaining: 26 "$ref": "../../headers.yaml#/X-Rate-Limit-Remaining" 27 X-Rate-Limit-Reset: 28 "$ref": "../../headers.yaml#/X-Rate-Limit-Reset" 29 Link: 30 "$ref": "../../headers.yaml#/Link" 31 Pagination: 32 "$ref": "../../headers.yaml#/Pagination" 33 '400': 34 "$ref": "../../responses.yaml#/400" 35 '404': 36 "$ref": "../../responses.yaml#/404" 37 '429': 38 "$ref": "../../responses.yaml#/429" 39 x-code-samples: 40 - lang: Curl 41 source: |- 42 curl "https://api.phrase.com/v2/accounts/:account_id/spaces/:space_id/projects" \ 43 -u USERNAME_OR_ACCESS_TOKEN 44 - lang: CLI v2 45 source: |- 46 phrase spaces projects_list \ 47 --account_id <account_id> \ 48 --space_id <space_id> \ 49 --access_token <token> 50 x-cli-version: '2.5'