Skip to Content
CosmicAC Logo
API referenceApp node API

Feedback routes

User feedback submissions.

/v1/feedback

GET
/v1/feedback

Requires platform admin.

Authorization

ttrToken
headerttr-token<token>

Session token issued by sign-in. Sent as the ttr-token header.

Query Parameters

page?integer
Range1 <= value
Default1
limit?integer
Range1 <= value <= 100
Default20
category?string
Value in"bug""feature_request""performance""question""other"
status?string
Value in"pending""delivered""failed""not_configured"

Response Body

Default Response

Example Request
curl -X GET 'https://your-app-node-url/v1/feedback' \  -H 'ttr-token: <session-token>'
Example Response200
Empty

/v1/feedback

POST
/v1/feedback

Authorization

ttrToken
headerttr-token<token>

Session token issued by sign-in. Sent as the ttr-token header.

Request Body

application/json
  1. body
category*string
Value in"bug""feature_request""performance""question""other"
severity?string
Value in"blocking""major""minor"
summary*string
Lengthlength <= 120
description*string
steps_to_reproduce?string
contact_email?string
Formatemail
instance_context*
include_diagnostic_bundle?boolean

Response Body

Default Response

Example Request
curl -X POST 'https://your-app-node-url/v1/feedback' \  -H 'ttr-token: <session-token>' \  -H 'Content-Type: application/json' \  -d '{  "category": "bug",  "summary": "string",  "description": "string",  "instance_context": {    "deployment": {      "mode": "string",      "version": "string",      "package": "string"    },    "user": {      "id": "string",      "name": "string",      "role": "string"    },    "route": {      "name": "string"    }  }}'
Example Response200
Empty

/v1/feedback/{id}

GET
/v1/feedback/{id}

Requires platform admin.

Authorization

ttrToken
headerttr-token<token>

Session token issued by sign-in. Sent as the ttr-token header.

Path Parameters

id*string
Match^fb_[a-f0-9]{32}$

Response Body

Default Response

Example Request
curl -X GET 'https://your-app-node-url/v1/feedback/string' \  -H 'ttr-token: <session-token>'
Example Response200
Empty
POST
/v1/feedback/{id}/retry-webhook

Requires platform admin.

Authorization

ttrToken
headerttr-token<token>

Session token issued by sign-in. Sent as the ttr-token header.

Path Parameters

id*string
Match^fb_[a-f0-9]{32}$

Response Body

Default Response

Example Request
curl -X POST 'https://your-app-node-url/v1/feedback/string/retry-webhook' \  -H 'ttr-token: <session-token>'
Example Response200
Empty
GET
/v1/diagnostic-bundle/{id}

Requires platform admin.

Authorization

ttrToken
headerttr-token<token>

Session token issued by sign-in. Sent as the ttr-token header.

Path Parameters

id*string

Response Body

Default Response

Example Request
curl -X GET 'https://your-app-node-url/v1/diagnostic-bundle/string' \  -H 'ttr-token: <session-token>'
Example Response200
Empty