The owner's feedback on a ping
POST
/api/v1/pings/{id}/feedback
const url = 'https://deck.example.com/api/v1/pings/1/feedback';const options = { method: 'POST', headers: {cookie: 'qd_auth=<qd_auth>', 'Content-Type': 'application/json'}, body: '{"note":null}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://deck.example.com/api/v1/pings/1/feedback \ --header 'Content-Type: application/json' \ --cookie qd_auth=<qd_auth> \ --data '{ "note": null }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
integer format: int64
Request Bodyrequired
Section titled “Request Bodyrequired”“Don’t ping for this again”, with an optional note for the agent that sent it.
Media typeapplication/json
“Don’t ping for this again”, with an optional note for the agent that sent it.
object
note
string | null
Responses
Section titled “Responses”Media typeapplication/json
object
account
string | null
body
required
string
feedback
“Don’t ping for this again”, with the person’s words (empty when they left no note).
string | null
feedback_at
string | null
feedback_picked_up_at
string | null
id
required
integer format: int64
link
string | null
reason
required
string
result
How many devices took it.
string | null
sent_at
required
string
sent_by
required
A session by its tab, on a node. session_id pins one conversation when the tab has been reused.
object
node
required
string
session_id
string | null
tab
required
string
title
required
string
Example generated
{ "account": "example", "body": "example", "feedback": "example", "feedback_at": "example", "feedback_picked_up_at": "example", "id": 1, "link": "example", "reason": "example", "result": "example", "sent_at": "example", "sent_by": { "node": "example", "session_id": "example", "tab": "example" }, "title": "example"}default
Section titled “default”An error, with its message.
Media typeapplication/json
Every error the REST API returns, with an HTTP status.
object
error
required
string
Example generated
{ "error": "example"}