Feedback
You can send events to our API that can be associated to app runs. One of these events is App Run Feedback Received
.
POSThttps://api.scoutos.com/v1/events
Log a feedback event
Required attributes
- Name
name
- Type
- string
- Description
The name of the event. This should be
App Run Feedback Received
.
- Name
user_id
- Type
- string
- Description
The user id of the user that is giving feedback. This is optional. We use this to de-dup feedback from the same user.
- Name
data
- Type
- object
- Description
The data associated with the event. This should include the following attributes:
- Name
value
- Type
- number
- Description
The value of the feedback. For upvotes, this should be
1
. For downvotes, this should be-1
.
- Name
run_id
- Type
- string
- Description
The run id of the app run that the feedback is associated with.
- Name
app_id
- Type
- string
- Description
The app id of the app that the feedback is associated with.
Request
POST
https://api.scoutos.com/v1/eventscurl -X POST https://api.scoutos.com/v1/events \
-H "Content-Type: application/json" \
-H "Authorization: Bearer secret_key"
-d '{"name": "App Run Feedback Received", "data": {"value": 1, "run_id": "ABC123", "app_id": "123PLJ"}}'