Feedback
7 API calls in this section.
Submit Feedback
/feedback/submitSubmit a feedback report with its type, severity, description and optional attachments or page context.
Query parameters
| Parameter | Type | Description |
|---|---|---|
tenant_id | string | Example: |
Headers
| Parameter | Type | Description |
|---|---|---|
Authorization | string | Example: |
Content-Type | string | Example: |
Body parameters
| Parameter | Type | Description |
|---|---|---|
type | string | — |
severity | string | — |
description | string | — |
attachments | array<string> | — |
source_panel | string | — |
path | string | — |
locale | string | — |
timezone | string | — |
1curl --globoff --request POST "https://staging-api.ondi.io/functions/v1/feedback/submit?tenant_id=${TENANT_ID}" \2 --header "Authorization: Bearer ${ONDI_ACCESS_TOKEN}" \3 --header "Content-Type: application/json" \4 --data-raw '{5 "type": "BugReport",6 "severity": "Normal",7 "description": "Steps to reproduce...",8 "attachments": [9 "https://cdn.example.com/feedback/img-1.png",10 "https://cdn.example.com/feedback/vid-1.mp4"11 ],12 "source_panel": "admin",13 "path": "/dashboard",14 "locale": "en",15 "timezone": "UTC"16}'Response examples
No saved response example. Use Try it to inspect a staging response.
List Feedbacks
/feedback/feedbacksBrowse submitted feedback by tenant, status, type, severity or date range.
Query parameters
| Parameter | Type | Description |
|---|---|---|
tenant_id | string | Example: |
status | string | — |
type | string | — |
severity | string | — |
from | string | — |
to | string | — |
page | string | Example: |
limit | string | Example: |
Headers
| Parameter | Type | Description |
|---|---|---|
Authorization | string | Example: |
1curl --globoff --request GET "https://staging-api.ondi.io/functions/v1/feedback/feedbacks?tenant_id=${TENANT_ID}&status=&type=&severity=&from=&to=&page=1&limit=25" \2 --header "Authorization: Bearer ${ONDI_ACCESS_TOKEN}"Response examples
No saved response example. Use Try it to inspect a staging response.
Get Feedback
/feedback/feedbacks/:idOpen the details of a submitted feedback report for review.
Path parameters
| Parameter | Type | Description |
|---|---|---|
idRequired | string | Example: |
Headers
| Parameter | Type | Description |
|---|---|---|
Authorization | string | Example: |
1curl --globoff --request GET "https://staging-api.ondi.io/functions/v1/feedback/feedbacks/${ID}" \2 --header "Authorization: Bearer ${ONDI_ACCESS_TOKEN}"Response examples
No saved response example. Use Try it to inspect a staging response.
Update Feedback Status
/feedback/feedbacks/:idChange a feedback report’s review status as it moves through the support process.
Path parameters
| Parameter | Type | Description |
|---|---|---|
idRequired | string | Example: |
Headers
| Parameter | Type | Description |
|---|---|---|
Authorization | string | Example: |
Content-Type | string | Example: |
Body parameters
| Parameter | Type | Description |
|---|---|---|
status | string | — |
1curl --globoff --request PATCH "https://staging-api.ondi.io/functions/v1/feedback/feedbacks/${ID}" \2 --header "Authorization: Bearer ${ONDI_ACCESS_TOKEN}" \3 --header "Content-Type: application/json" \4 --data-raw '{5 "status": "Reviewed"6}'Response examples
No saved response example. Use Try it to inspect a staging response.
Get Feedback Settings
/feedback/feedback-settingsRead which feedback events send email notifications and which system administrators receive them.
Headers
| Parameter | Type | Description |
|---|---|---|
Authorization | string | Example: |
1curl --globoff --request GET "https://staging-api.ondi.io/functions/v1/feedback/feedback-settings" \2 --header "Authorization: Bearer ${ONDI_ACCESS_TOKEN}"Response examples
No saved response example. Use Try it to inspect a staging response.
Update Feedback Settings
/feedback/feedback-settingsConfigure notification emails for received and resolved feedback, including system administrator recipients.
Headers
| Parameter | Type | Description |
|---|---|---|
Authorization | string | Example: |
Content-Type | string | Example: |
Body parameters
| Parameter | Type | Description |
|---|---|---|
send_on_received | boolean | — |
send_on_resolved | boolean | — |
send_to_system_admin | boolean | — |
system_admin_emails | array<string> | — |
1curl --globoff --request PUT "https://staging-api.ondi.io/functions/v1/feedback/feedback-settings" \2 --header "Authorization: Bearer ${ONDI_ACCESS_TOKEN}" \3 --header "Content-Type: application/json" \4 --data-raw '{5 "send_on_received": true,6 "send_on_resolved": true,7 "send_to_system_admin": true,8 "system_admin_emails": [9 "[email protected]"10 ]11}'Response examples
No saved response example. Use Try it to inspect a staging response.
Enums
about:blankFeedbackType
FeatureRequest | BugReport | Feedback
FeedbackSeverity
Urgent | High | Normal | Low
FeedbackStatus (server-managed)
Received | Reviewed | Applied
Path parameters
| Parameter | Type | Description |
|---|---|---|
blankRequired | string | Dynamic path value from the request URL. |
This entry describes a workflow. It does not have a URL to call directly.
Response examples
No saved response example.