Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent
with a free APIs.io key —
sign in with
GitHub,
Google or
LinkedIn.
No form to fill in; signing in shares your email address with us (Privacy).
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Xhostd Com Feedback API
version: 0.1.0
description: 'Operations tagged Feedback across 2 of this provider''s published API definitions: api.xhostd.com-openapi.json, console.xhostd.com-openapi.json. Each path carries the servers of the definition it was published in.'
tags:
- name: Feedback
paths:
/feedback:
post:
summary: Submit Feedback
operationId: submit_feedback_feedback_post
parameters:
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/SubmitFeedbackRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/SubmitFeedbackResponse'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Feedback
get:
summary: List Feedback
description: 'List the caller''s own reports with the team''s answers.
Scoped to the caller''s account, the way ``GET /exports`` is. The
account is one account, so a page holds a console report too.
``cursor`` walks to the older reports. The payload answers
``next_cursor``, which is the value of the next call, or None at the
end of the account''s reports.
The route takes NO ``report`` parameter. That parameter serves the
console bell anchor alone, and a public parameter is a published
surface the platform must then keep (FEEDBACK.md).'
operationId: list_feedback_feedback_get
parameters:
- name: limit
in: query
required: false
schema:
type: integer
maximum: 200
minimum: 1
default: 50
title: Limit
- name: cursor
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Cursor
- name: authorization
in: header
required: false
schema:
anyOf:
- type: string
- type: 'null'
title: Authorization
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response List Feedback Feedback Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Feedback
/feedback/{feedback_id}/reply:
post:
summary: Feedback Reply
description: 'Append one reply of the caller to their own report.
A plain form and a redirect, the shape of `feedback_submit`. The form
carries NO cross-site request forgery (CSRF) token:
``src/xhost_web/middleware.py::origin_admitted`` refuses a POST from
any other origin before it reaches this route.
The redirect returns to the report''s own card, so the reader reads
the reply where they wrote it.
xhostd refuses an empty reply, a reply over its length bound, a reply
past the per-report reply limit, and a report that is not the
caller''s own. Its own prose reaches the reader on the first three,
because the limit refusal names the number.'
operationId: feedback_reply_feedback__feedback_id__reply_post
parameters:
- name: feedback_id
in: path
required: true
schema:
type: string
title: Feedback Id
requestBody:
content:
application/x-www-form-urlencoded:
schema:
$ref: '#/components/schemas/Body_feedback_reply_feedback__feedback_id__reply_post'
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
tags:
- Feedback
components:
schemas:
SubmitFeedbackRequest:
properties:
message:
type: string
title: Message
subject:
anyOf:
- type: string
- type: 'null'
title: Subject
app_id:
anyOf:
- type: string
format: uuid
- type: 'null'
title: App Id
type: object
required:
- message
title: SubmitFeedbackRequest
SubmitFeedbackResponse:
properties:
id:
type: string
format: uuid
title: Id
status:
type: string
title: Status
type: object
required:
- id
- status
title: SubmitFeedbackResponse
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
input:
title: Input
ctx:
type: object
title: Context
type: object
required:
- loc
- msg
- type
title: ValidationError
Body_feedback_reply_feedback__feedback_id__reply_post:
properties:
message:
type: string
title: Message
default: ''
type: object
title: Body_feedback_reply_feedback__feedback_id__reply_post
Body_feedback_submit_feedback_post:
properties:
message:
type: string
title: Message
default: ''
subject:
type: string
title: Subject
default: ''
type: object
title: Body_feedback_submit_feedback_post
x-refined-from:
- api.xhostd.com-openapi.json
- console.xhostd.com-openapi.json