Add user feedback to event
POST
/events/{event_id}/feedbackAdd user feedback to event. The passed in feedback will then be stored on the event and retrievable for further review and data exploration.
The enum mapping for selections
param are the following:
Enum value | Description |
---|---|
1 | Event reported did not happen in video / was a false positive |
2 | Video did not playback properly / quality issues with video |
3 | Camera was positioned improperly / event happened outside of camera's view |
4 | The event type captured in the video has little / no value to me and/or is unhelpful |
5 | Camera / equipment issue caused the event to not be captured properly enough to be valuable. |
6 | Other |
User Role Permissions
The following table shows which user roles are allowed to send requests using this API endpoint.
User Role | Allowed |
---|---|
Partner | |
Partner View | |
Custom Partner | |
Fleet Manager | |
Group Manager | |
User | |
Custom User |
Request
Path Params
event_id
integer
required
ID of event to add label value
Example:
1234567
Body Params multipart/form-data
has_feedback
boolean
required
Flag to set if submitting feedback for event
Example:
true
selections
string
required
A string of comma-separated enum values for preset feedback selections. One or more can be passed in if relevant, but at least one is required.
Example:
"1,6"
comment
string
optional
User comment field for additional feedback
<= 255 characters
Example:
{{$lorem.sentences}}
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
meta
object
required
Request metadata object
code
integer
required
HTTP status code returned by response
>= 100<= 599
response
string
required
Contains response data
result
enum<string>
required
"OK" if successful, else "Fail" if error
Allowed values:
OKFailed
Example
{
"meta": {
"code": 200
},
"response": "success",
"result": "OK"
}
Last modified: 11 days ago