Skip to main content

Feedback

7 API calls in this section.

Submit Feedback​

Communications & Feedback / Feedback
POST/feedback/submit

Submit a feedback report with its type, severity, description and optional attachments or page context.

Query parameters

ParameterTypeDescription
tenant_idstring

Example: {{tenant_id}}

Headers

ParameterTypeDescription
Authorizationstring

Example: Bearer {{access_token}}

Content-Typestring

Example: application/json

Body parameters

ParameterTypeDescription
typestring—
severitystring—
descriptionstring—
attachmentsarray<string>—
source_panelstring—
pathstring—
localestring—
timezonestring—
Staging
Request
curl
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​

Communications & Feedback / Feedback
GET/feedback/feedbacks

Browse submitted feedback by tenant, status, type, severity or date range.

Query parameters

ParameterTypeDescription
tenant_idstring

Example: {{tenant_id}}

statusstring—
typestring—
severitystring—
fromstring—
tostring—
pagestring

Example: 1

limitstring

Example: 25

Headers

ParameterTypeDescription
Authorizationstring

Example: Bearer {{access_token}}

Staging
Request
curl
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​

Communications & Feedback / Feedback
GET/feedback/feedbacks/:id

Open the details of a submitted feedback report for review.

Path parameters

ParameterTypeDescription
idRequiredstring

Example: uuid

Headers

ParameterTypeDescription
Authorizationstring

Example: Bearer {{access_token}}

Staging
Request
curl
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​

Communications & Feedback / Feedback
PATCH/feedback/feedbacks/:id

Change a feedback report’s review status as it moves through the support process.

Path parameters

ParameterTypeDescription
idRequiredstring

Example: uuid

Headers

ParameterTypeDescription
Authorizationstring

Example: Bearer {{access_token}}

Content-Typestring

Example: application/json

Body parameters

ParameterTypeDescription
statusstring—
Staging
Request
curl
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​

Communications & Feedback / Feedback
GET/feedback/feedback-settings

Read which feedback events send email notifications and which system administrators receive them.

Headers

ParameterTypeDescription
Authorizationstring

Example: Bearer {{access_token}}

Staging
Request
curl
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​

Communications & Feedback / Feedback
PUT/feedback/feedback-settings

Configure notification emails for received and resolved feedback, including system administrator recipients.

Headers

ParameterTypeDescription
Authorizationstring

Example: Bearer {{access_token}}

Content-Typestring

Example: application/json

Body parameters

ParameterTypeDescription
send_on_receivedboolean—
send_on_resolvedboolean—
send_to_system_adminboolean—
system_admin_emailsarray<string>—
Staging
Request
curl
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    "ops@example.com"10  ]11}'

Response examples

No saved response example. Use Try it to inspect a staging response.

Enums​

Communications & Feedback / Feedback
GETabout:blank

FeedbackType

FeatureRequest | BugReport | Feedback

FeedbackSeverity

Urgent | High | Normal | Low

FeedbackStatus (server-managed)

Received | Reviewed | Applied

Path parameters

ParameterTypeDescription
blankRequiredstring

Dynamic path value from the request URL.

Staging

This entry describes a workflow. It does not have a URL to call directly.

Response examples

No saved response example.