Send product feedback
const url = 'https://work.optidata.cloud/api/drives/1/feedback';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"app_id":1,"rating":"good","content":"Uploading a folder is much faster now."}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://work.optidata.cloud/api/drives/1/feedback \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "app_id": 1, "rating": "good", "content": "Uploading a folder is much faster now." }'Records the calling user’s rating of an Optiwork app, with an optional comment and attachments. Returns an empty body on success.
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”Numeric id of the drive. Read it from GET /drives/config.json.
Request Bodyrequired
Section titled “Request Bodyrequired”object
The Optiwork app the feedback is about.
Rating token, as rendered by the feedback widget.
Free-text comment.
Attachments referenced from the comment.
object
Examples
{ "app_id": 1, "rating": "good", "content": "Uploading a folder is much faster now."}Responses
Section titled “ Responses ”The feedback was recorded. The body is empty.
Missing, malformed or expired authentication key.
Authentication failures use an error key rather than message.
object
Examples
No bearer token sent
{ "error": "JWT passport exception: Missing bearer token in request"}The request body or query string failed validation.
object
The first validation message.
Validation messages keyed by field name.
object
Examples
{ "message": "The name field is required.", "errors": { "name": [ "The name field is required." ] }}Rate limit exceeded. Retry after the window resets.
Generic error envelope used by policy, binding and framework failures.
object
Human-readable description of the failure.
Examples
{ "message": "Too Many Attempts."}