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

     1  ---
     2  summary: List Bitbucket syncs
     3  description: List all Bitbucket repositories for which synchronisation with Phrase Strings is activated.
     4  operationId: bitbucket_syncs/list
     5  tags:
     6  - Bitbucket Sync
     7  parameters:
     8  - "$ref": "../../parameters.yaml#/X-PhraseApp-OTP"
     9  - description: Account ID to specify the actual account the project should be created in. Required if the requesting user is a member of multiple accounts.
    10    example: abcd1234
    11    name: account_id
    12    in: query
    13    schema:
    14      type: string
    15  responses:
    16    '200':
    17      description: OK
    18      content:
    19        application/json:
    20          schema:
    21            type: array
    22            items:
    23              "$ref": "../../schemas/bitbucket_sync.yaml#/bitbucket_sync"
    24      headers:
    25        X-Rate-Limit-Limit:
    26          "$ref": "../../headers.yaml#/X-Rate-Limit-Limit"
    27        X-Rate-Limit-Remaining:
    28          "$ref": "../../headers.yaml#/X-Rate-Limit-Remaining"
    29        X-Rate-Limit-Reset:
    30          "$ref": "../../headers.yaml#/X-Rate-Limit-Reset"
    31        Link:
    32          "$ref": "../../headers.yaml#/Link"
    33        Pagination:
    34          "$ref": "../../headers.yaml#/Pagination"
    35    '400':
    36      "$ref": "../../responses.yaml#/400"
    37    '404':
    38      "$ref": "../../responses.yaml#/404"
    39    '429':
    40      "$ref": "../../responses.yaml#/429"
    41  x-code-samples:
    42  - lang: Curl
    43    source: |-
    44      curl "https://api.phrase.com/v2/bitbucket_syncs?account_id=abcd1234" \
    45        -u USERNAME_OR_ACCESS_TOKEN
    46  - lang: CLI v2
    47    source: |-
    48      phrase bitbucket_sync list \
    49      --account_id abcd1234 \
    50      --access_token <token>
    51  x-cli-version: '2.5'