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

     1  ---
     2  summary: Get single Sync Setting
     3  description: Shows a single GitLab Sync Setting.
     4  operationId: gitlab_sync/show
     5  tags:
     6  - GitLab Sync
     7  parameters:
     8  - "$ref": "../../parameters.yaml#/X-PhraseApp-OTP"
     9  - "$ref": "../../parameters.yaml#/id"
    10  - 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.
    11    example: abcd1234
    12    name: account_id
    13    in: query
    14    schema:
    15      type: string
    16  responses:
    17    '200':
    18      description: OK
    19      content:
    20        application/json:
    21          schema:
    22            "$ref": "../../schemas/gitlab_sync.yaml#/gitlab_sync"
    23      headers:
    24        X-Rate-Limit-Limit:
    25          "$ref": "../../headers.yaml#/X-Rate-Limit-Limit"
    26        X-Rate-Limit-Remaining:
    27          "$ref": "../../headers.yaml#/X-Rate-Limit-Remaining"
    28        X-Rate-Limit-Reset:
    29          "$ref": "../../headers.yaml#/X-Rate-Limit-Reset"
    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/gitlab_syncs/:id?account_id=abcd1234" \
    40        -u USERNAME_OR_ACCESS_TOKEN
    41  - lang: CLI v2
    42    source: |-
    43      phrase git_lab_sync show \
    44      --id <id> \
    45      --account_id abcd1234 \
    46      --access_token <token>
    47  x-cli-version: '2.5'