SDK reference

Feedback

Each route's function in the SDK, its call beside the same request in cURL.
feedbackSettings

GET/v1/feedback/settings

What the report dialog needs: how many images a report takes and how large each may be.

Parameters and answers
curl 'https://api.cactive.com.au/v1/feedback/settings' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
postFeedback

POST/v1/feedback

Sends a bug report, feedback or a suggestion. With images (types and sizes), the report waits for them: PUT each to its uploads[].url with its type, then POST /:reportId/submit.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/feedback' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"
postFeedbackSubmit

POST/v1/feedback/:reportId/submit

After the uploads: checks the images and sends the report.

Parameters and answers
curl -X POST 'https://api.cactive.com.au/v1/feedback/{reportId}/submit' \
  -H "Authorization: Bearer $CACTIVE_TOKEN"