github.com/phrase/openapi@v0.0.0-20240514140800-49e8a106740e/paths/figma_attachments/show.yaml (about) 1 --- 2 summary: Get a single Figma attachment 3 description: Get details on a single Figma attachment for a given project. 4 operationId: figma_attachment/show 5 tags: 6 - Figma attachments 7 parameters: 8 - "$ref": "../../parameters.yaml#/X-PhraseApp-OTP" 9 - "$ref": "../../parameters.yaml#/project_id" 10 - "$ref": "../../parameters.yaml#/id" 11 - description: specify the branch to use 12 example: my-feature-branch 13 name: branch 14 in: query 15 schema: 16 type: string 17 responses: 18 "200": 19 description: OK 20 content: 21 application/json: 22 schema: 23 "$ref": "../../schemas/figma_attachment.yaml#/figma_attachment" 24 headers: 25 X-Rate-Limit-Limit: 26 "$ref": "../../headers.yaml#/X-Rate-Limit-Limit" 27 X-Rate-Limit-Remaining: 28 "$ref": "../../headers.yaml#/X-Rate-Limit-Remaining" 29 X-Rate-Limit-Reset: 30 "$ref": "../../headers.yaml#/X-Rate-Limit-Reset" 31 "400": 32 "$ref": "../../responses.yaml#/400" 33 "404": 34 "$ref": "../../responses.yaml#/404" 35 "429": 36 "$ref": "../../responses.yaml#/429" 37 x-code-samples: 38 - lang: Curl 39 source: |- 40 curl "https://api.phrase.com/v2/projects/:project_id/figma_attachments/:id?branch=my-feature-branch" \ 41 -X GET \ 42 -u USERNAME_OR_ACCESS_TOKEN 43 - lang: CLI v2 44 source: |- 45 phrase figma_attachment show \ 46 --project_id <project_id> \ 47 --id <id> \ 48 --branch my-feature-branch \ 49 --access_token <token> 50 x-cli-version: "2.13"