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

     1  ---
     2  summary: Get Repo Syncs
     3  description: Lists all Repo Syncs from an account
     4  operationId: repo_sync/list
     5  tags:
     6  - Repo Syncs
     7  parameters:
     8  - "$ref": "../../parameters.yaml#/X-PhraseApp-OTP"
     9  - "$ref": "../../parameters.yaml#/account_id"
    10  responses:
    11    '200':
    12      description: OK
    13      content:
    14        application/json:
    15          schema:
    16            type: array
    17            items:
    18              "$ref": "../../schemas/repo_sync.yaml#/repo_sync"
    19      headers:
    20        X-Rate-Limit-Limit:
    21          "$ref": "../../headers.yaml#/X-Rate-Limit-Limit"
    22        X-Rate-Limit-Remaining:
    23          "$ref": "../../headers.yaml#/X-Rate-Limit-Remaining"
    24        X-Rate-Limit-Reset:
    25          "$ref": "../../headers.yaml#/X-Rate-Limit-Reset"
    26        Link:
    27          "$ref": "../../headers.yaml#/Link"
    28        Pagination:
    29          "$ref": "../../headers.yaml#/Pagination"
    30    '400':
    31      "$ref": "../../responses.yaml#/400"
    32    '404':
    33      "$ref": "../../responses.yaml#/404"
    34    '429':
    35      "$ref": "../../responses.yaml#/429"
    36  x-code-samples:
    37  - lang: Curl
    38    source: |-
    39      curl "https://api.phrase.com/v2/accounts/ab12cd34/repo_syncs"\
    40        -u USERNAME_OR_ACCESS_TOKEN
    41  - lang: CLI v2
    42    source: |-
    43      phrase repo_sync list \
    44      --account_id abcd1234 \
    45      --access_token <token>
    46  x-cli-version: '2.24'