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

     1  summary: "Repository Syncs History"
     2  description: |-
     3    Get the history of a single Repo Sync. The history includes all imports and exports
     4    performed by the Repo Sync.
     5  operationId: repo_sync/events
     6  tags:
     7  - Repo Syncs
     8  parameters:
     9  - "$ref": "../../parameters.yaml#/X-PhraseApp-OTP"
    10  - "$ref": "../../parameters.yaml#/account_id"
    11  - "$ref": "../../parameters.yaml#/repo_sync_id"
    12  responses:
    13    '200':
    14      description: Successful response
    15      content:
    16        application/json:
    17          schema:
    18            type: array
    19            items:
    20              "$ref": "../../schemas/repo_sync_event.yaml#/repo_sync_event"
    21      headers:
    22        X-Rate-Limit-Limit:
    23          "$ref": "../../headers.yaml#/X-Rate-Limit-Limit"
    24        X-Rate-Limit-Remaining:
    25          "$ref": "../../headers.yaml#/X-Rate-Limit-Remaining"
    26        X-Rate-Limit-Reset:
    27          "$ref": "../../headers.yaml#/X-Rate-Limit-Reset"
    28        Link:
    29          "$ref": "../../headers.yaml#/Link"
    30        Pagination:
    31          "$ref": "../../headers.yaml#/Pagination"
    32    '400':
    33      "$ref": "../../responses.yaml#/400"
    34    '404':
    35      "$ref": "../../responses.yaml#/404"
    36    '429':
    37      "$ref": "../../responses.yaml#/429"
    38  x-code-samples:
    39  - lang: Curl
    40    source: |-
    41      curl "https://api.phrase.com/v2/accounts/ab12cd34/repo_syncs/56ef78/events"\
    42        -u USERNAME_OR_ACCESS_TOKEN
    43  - lang: CLI v2
    44    source: |-
    45      phrase repo_sync events \
    46      --id <id> \
    47      --account_id abcd1234 \
    48      --access_token <token>
    49  x-cli-version: '2.24'