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