Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 934 Bytes

PATCH_comment.md

File metadata and controls

35 lines (28 loc) · 934 Bytes

Edit intervention's comment

API endpoint that represents editing the comment of intervention record

  • URL Endpoint: /api/v1/interventions/{id}/comment

  • Method: PATCH

  • URL Params:

    Name Type Required Description
    id integer The intervention's id
  • Header Options:

    • Authorization: Bearer access_token
  • Request Body:

    Name Type Required Description
    comment string Proposed comment
  • Success Response

    • Code: 200 OK
    • Content:
      {
        "status": 200,
        "data": [
          {
            "id": 3,
            "message": "Updated intervention record's comment"
          }
        ]
      }