Skip to content

Feedback ​

Reports with screenshots and logs sent to ProAnimaStudio through this server.

Operations of this group with their access rule, retry rule, parameters and answers. Every request carries a key: Authorization: Bearer <key> (see Authentication).

Operations ​

Send feedback to ProAnimaStudio ​

POST /api/v1/feedback

Access: Any valid key or session · Retry: Do not repeat automatically

Forwards a message through this server to the ProAnimaStudio hub and answers 202 with the hub's id. Send message (up to 20 000 characters), lang (ru or en), serverLog (true attaches this server's log and a system summary, administrators only), and optionally email for a reply, screen, up to 6 base64 screenshots (PNG, JPEG, WebP or GIF, 8 MiB each) and the console's clientLog; the total is limited to 15 MiB. Nothing is retried, so a second call is a second message. 503 feedback_disabled when the operator turned it off, 503 hub_unreachable when the hub does not answer, 429 feedback_attempts when this server sent too much.

Request body (application/json)

FieldTypeRequiredRules
messagestringyes1–20000 characters
emailstringnoup to 254 characters; may be null
langstringyesone of ru, en
screenstringnoup to 11 characters; may be null
screenshotsarray of objectyesup to 6 items
screenshots[].namestringyes1–120 characters
screenshots[].typestringyesone of image/png, image/jpeg, image/webp, image/gif
screenshots[].datastring (byte)yes—
clientLogstringnoup to 2097152 characters; may be null
serverLogbooleanyes—

Response 202

FieldTypeRequiredRules
idstringyes—

Responses: 202, 400, 401, 403, 404, 405, 409, 413, 415, 422, 503, 507

Example

bash
curl -X POST "$ARKVORY_URL/api/v1/feedback" \
  -H "Authorization: Bearer $ARKVORY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"message":"<message>","lang":"ru","screenshots":[],"serverLog":false}'

Preview the feedback attachments ​

GET HEAD /api/v1/feedback/attachments

Access: Administrator · Retry: Safe to repeat (read)

Returns the two texts that sendFeedback attaches when serverLog is true: the recent records of this server's log and a system summary (versions, operating system, update and mirror states) without addresses, names or secrets. Show them to the administrator before sending.

Response 200

FieldTypeRequiredRules
serverLogstringyes—
systemstringyes—

Responses: 200, 400, 401, 403, 404, 409, 422, 503, 507

Example

bash
curl -X GET "$ARKVORY_URL/api/v1/feedback/attachments" \
  -H "Authorization: Bearer $ARKVORY_TOKEN"

Arkvory · ProAnimaStudio