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
- Authorization: Bearer
-
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" } ] }
- Code: