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

     1  ---
     2  summary: Get a single notification
     3  description: Get details on a single notification.
     4  operationId: notifications/show
     5  tags:
     6  - Notifications
     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/notification.yaml#/notification"
    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    '401':
    27      "$ref": "../../responses.yaml#/401"
    28    '403':
    29      "$ref": "../../responses.yaml#/403"
    30    '404':
    31      "$ref": "../../responses.yaml#/404"
    32    '429':
    33      "$ref": "../../responses.yaml#/429"
    34  x-code-samples:
    35  - lang: Curl
    36    source: |-
    37      curl "https://api.phrase.com/v2/notification/:id" \
    38        -u USERNAME_OR_ACCESS_TOKEN
    39  - lang: CLI v2
    40    source: |-
    41      phrase notifications show \
    42      --id <id> \
    43      --access_token <token>
    44  x-cli-version: '2.5'