API endpoint that represents the creation of red-flag record
-
URL Endpoint:
/api/v1/interventions -
Method:
POST -
URL Params:
None -
Header Options:
- Authorization: Bearer
access_token
- Authorization: Bearer
-
Request Body:
Name Type Required Description locationstring✅ The intervention's location imagesimage✅ Attached images videosvideo✅ Attached videos titlestring✅ The record's title commentstring✅ The record's comment -
Success Response
- Code:
201 Created - Content:
{ "status": 201, "data": [ { "id": 3, "message": "Created red-flag record" } ] } - Code: