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

     1  ---
     2  summary: Get a single project
     3  description: Get details on a single project.
     4  operationId: project/show
     5  tags:
     6  - Projects
     7  parameters:
     8  - "$ref": "../../parameters.yaml#/X-PhraseApp-OTP"
     9  - "$ref": "../../parameters.yaml#/id"
    10  responses:
    11    '200':
    12      description: OK
    13      content:
    14        application/json:
    15          schema:
    16            "$ref": "../../schemas/project_details.yaml#/project_details"
    17      headers:
    18        X-Rate-Limit-Limit:
    19          "$ref": "../../headers.yaml#/X-Rate-Limit-Limit"
    20        X-Rate-Limit-Remaining:
    21          "$ref": "../../headers.yaml#/X-Rate-Limit-Remaining"
    22        X-Rate-Limit-Reset:
    23          "$ref": "../../headers.yaml#/X-Rate-Limit-Reset"
    24    '400':
    25      "$ref": "../../responses.yaml#/400"
    26    '404':
    27      "$ref": "../../responses.yaml#/404"
    28    '429':
    29      "$ref": "../../responses.yaml#/429"
    30  x-code-samples:
    31  - lang: Curl
    32    source: |-
    33      curl "https://api.phrase.com/v2/projects/:id" \
    34        -u USERNAME_OR_ACCESS_TOKEN
    35  - lang: CLI v2
    36    source: |-
    37      phrase projects show \
    38      --id <id> \
    39      --access_token <token>
    40  x-cli-version: '2.5'