User Platform Feedback
Endpoints for interacting with users Feedback
Get all Feedbacks
GET
https://switch-api-staging.herokuapp.com/user/feedbacks
This endpoint allows you get the list of feedbacks from users
Headers
Name | Type | Description |
---|---|---|
auth_token | string | The format for auth_token is Bearer token_string |
Create Feedback
POST
https://switch-api-staging.herokuapp.com/user/feedbacks
This endpoint allows you to create a feedback
Headers
Name | Type | Description |
---|---|---|
auth_token | string | The format for auth_token is Bearer token_string |
Request Body
Name | Type | Description |
---|---|---|
image_url | string | link to image for feedback |
feedback_type | string | type of feedback can either be bug_report or feature_request |
message | string | feedback message |
topic | string | topic of feedback |
Get Feedback by Id
GET
https://switch-api-staging.herokuapp.com/user/feedbacks/:id
This endpoint returns a specific feedback using it's id
Path Parameters
Name | Type | Description |
---|---|---|
id | string | the id of the feedback |
Headers
Name | Type | Description |
---|---|---|
auth_token | string | The format for auth_token is Bearer token_string |
Last updated