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

     1  ---
     2  summary: List organization job templates
     3  description: List all job templates for the given account.
     4  operationId: organization_job_templates/list
     5  tags:
     6    - Organization Job Templates
     7  parameters:
     8    - "$ref": "../../parameters.yaml#/X-PhraseApp-OTP"
     9    - "$ref": "../../parameters.yaml#/account_id"
    10    - "$ref": "../../parameters.yaml#/page"
    11    - "$ref": "../../parameters.yaml#/per_page"
    12  responses:
    13    "200":
    14      description: OK
    15      content:
    16        application/json:
    17          schema:
    18            type: array
    19            items:
    20              "$ref": "../../schemas/organization_job_template.yaml#/organization_job_template"
    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/:account_id/job_templates" \
    42          -u USERNAME_OR_ACCESS_TOKEN
    43    - lang: CLI v2
    44      source: |-
    45        phrase organization_job_templates list \
    46        --account_id <account_id> \
    47        --access_token <token>
    48  x-cli-version: "2.7.0"