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

     1  ---
     2  summary: Get a single reaction
     3  description: Get details on a single reaction.
     4  operationId: reaction/show
     5  tags:
     6  - Comment Reactions
     7  parameters:
     8  - "$ref": "../../parameters.yaml#/X-PhraseApp-OTP"
     9  - "$ref": "../../parameters.yaml#/project_id"
    10  - "$ref": "../../parameters.yaml#/key_id"
    11  - "$ref": "../../parameters.yaml#/comment_id"
    12  - "$ref": "../../parameters.yaml#/id"
    13  - description: specify the branch to use
    14    example: my-feature-branch
    15    name: branch
    16    in: query
    17    schema:
    18      type: string
    19  responses:
    20    '200':
    21      description: OK
    22      content:
    23        application/json:
    24          schema:
    25            "$ref": "../../schemas/comment_reaction.yaml#/comment_reaction"
    26      headers:
    27        X-Rate-Limit-Limit:
    28          "$ref": "../../headers.yaml#/X-Rate-Limit-Limit"
    29        X-Rate-Limit-Remaining:
    30          "$ref": "../../headers.yaml#/X-Rate-Limit-Remaining"
    31        X-Rate-Limit-Reset:
    32          "$ref": "../../headers.yaml#/X-Rate-Limit-Reset"
    33    '400':
    34      "$ref": "../../responses.yaml#/400"
    35    '403':
    36      "$ref": "../../responses.yaml#/403"
    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/projects/:project_id/keys/:key_id/comments/:comment_id/reactions/:id" \
    45        -u USERNAME_OR_ACCESS_TOKEN \
    46        -X GET \
    47        -d '{"branch":"my-feature-branch"}' \
    48        -H 'Content-Type: application/json'
    49  - lang: CLI v2
    50    source: |-
    51      phrase reactions show \
    52      --project_id <project_id> \
    53      --key_id <key_id> \
    54      --comment_id <comment_id> \
    55      --id <id> \
    56      --branch my-feature-branch \
    57      --access_token <token>
    58  x-cli-version: '2.9'