github.com/phrase/openapi@v0.0.0-20240514140800-49e8a106740e/paths/figma_attachments/index.yaml (about)

     1  ---
     2  summary: List Figma attachments
     3  description: List all Figma attachments for the given project
     4  operationId: figma_attachments/list
     5  tags:
     6    - Figma attachments
     7  parameters:
     8    - "$ref": "../../parameters.yaml#/X-PhraseApp-OTP"
     9    - "$ref": "../../parameters.yaml#/project_id"
    10    - "$ref": "../../parameters.yaml#/page"
    11    - "$ref": "../../parameters.yaml#/per_page"
    12    - description: specify the branch to use
    13      example: my-feature-branch
    14      name: branch
    15      in: query
    16      schema:
    17        type: string
    18  responses:
    19    "200":
    20      description: OK
    21      content:
    22        application/json:
    23          schema:
    24            type: array
    25            items:
    26              "$ref": "../../schemas/figma_attachment.yaml#/figma_attachment"
    27      headers:
    28        X-Rate-Limit-Limit:
    29          "$ref": "../../headers.yaml#/X-Rate-Limit-Limit"
    30        X-Rate-Limit-Remaining:
    31          "$ref": "../../headers.yaml#/X-Rate-Limit-Remaining"
    32        X-Rate-Limit-Reset:
    33          "$ref": "../../headers.yaml#/X-Rate-Limit-Reset"
    34        Link:
    35          "$ref": "../../headers.yaml#/Link"
    36        Pagination:
    37          "$ref": "../../headers.yaml#/Pagination"
    38    "400":
    39      "$ref": "../../responses.yaml#/400"
    40    "404":
    41      "$ref": "../../responses.yaml#/404"
    42    "429":
    43      "$ref": "../../responses.yaml#/429"
    44  x-code-samples:
    45    - lang: Curl
    46      source: |-
    47        curl "https://api.phrase.com/v2/projects/:project_id/figma_attachments?branch=my-feature-branch" \
    48          -X GET \
    49          -u USERNAME_OR_ACCESS_TOKEN
    50    - lang: CLI v2
    51      source: |-
    52        phrase figma_attachments list \
    53        --project_id <project_id> \
    54        --branch my-feature-branch \
    55        --access_token <token>
    56  x-cli-version: "2.13"