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

     1  ---
     2  summary: History of single Sync Setting
     3  description: List history for a single Sync Setting.
     4  operationId: gitlab_sync/history
     5  tags:
     6  - GitLab Sync
     7  parameters:
     8  - "$ref": "../../parameters.yaml#/X-PhraseApp-OTP"
     9  - "$ref": "../../parameters.yaml#/gitlab_sync_id"
    10  - "$ref": "../../parameters.yaml#/page"
    11  - "$ref": "../../parameters.yaml#/per_page"
    12  - description: Account ID to specify the actual account the GitLab Sync should be created in. Required if the requesting user is a member of multiple accounts.
    13    example: abcd1234
    14    name: account_id
    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/gitlab_sync_history.yaml#/gitlab_sync_history"
    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/gitlab_syncs/:gitlab_sync_id/history?account_id=abcd1234" \
    48        -u USERNAME_OR_ACCESS_TOKEN
    49  - lang: CLI v2
    50    source: |-
    51      phrase gitlab_syncs history \
    52      --gitlab_sync_id <gitlab_sync_id> \
    53      --account_id abcd1234 \
    54      --access_token <token>
    55  x-cli-version: '2.5'