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

     1  ---
     2  summary: List notification groups
     3  description: List all notification groups from the current user
     4  operationId: notification_groups/list
     5  tags:
     6  - Notification Groups
     7  parameters:
     8  - "$ref": "../../parameters.yaml#/X-PhraseApp-OTP"
     9  - "$ref": "../../parameters.yaml#/page"
    10  - "$ref": "../../parameters.yaml#/per_page"
    11  responses:
    12    '200':
    13      description: OK
    14      content:
    15        application/json:
    16          schema:
    17            type: array
    18            items:
    19              "$ref": "../../schemas/notification_group_detail.yaml#/notification_group_detail"
    20      headers:
    21        X-Rate-Limit-Limit:
    22          "$ref": "../../headers.yaml#/X-Rate-Limit-Limit"
    23        X-Rate-Limit-Remaining:
    24          "$ref": "../../headers.yaml#/X-Rate-Limit-Remaining"
    25        X-Rate-Limit-Reset:
    26          "$ref": "../../headers.yaml#/X-Rate-Limit-Reset"
    27        Link:
    28          "$ref": "../../headers.yaml#/Link"
    29        Pagination:
    30          "$ref": "../../headers.yaml#/Pagination"
    31    '400':
    32      "$ref": "../../responses.yaml#/400"
    33    '404':
    34      "$ref": "../../responses.yaml#/404"
    35    '429':
    36      "$ref": "../../responses.yaml#/429"
    37  x-code-samples:
    38  - lang: Curl
    39    source: |-
    40      curl "https://api.phrase.com/v2/notification_groups" \
    41        -u USERNAME_OR_ACCESS_TOKEN
    42  - lang: CLI v2
    43    source: |-
    44      phrase notification_groups list \
    45      --access_token <token>
    46  x-cli-version: '2.5'