Ignore a session, or park it (until a time)
POST
/api/v1/session-marks
const url = 'https://deck.example.com/api/v1/session-marks';const options = { method: 'POST', headers: {cookie: 'qd_auth=<qd_auth>', 'Content-Type': 'application/json'}, body: '{"mark":"ignored","node":"example","note":null,"tab":"example","until":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/session-marks \ --header 'Content-Type: application/json' \ --cookie qd_auth=<qd_auth> \ --data '{ "mark": "ignored", "node": "example", "note": null, "tab": "example", "until": null }'Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Set a mark (it replaces the same kind of mark on that session).
Media typeapplication/json
Set a mark (it replaces the same kind of mark on that session).
object
mark
required
node
required
string
note
string | null
tab
required
string
until
string | null
key
additional properties
Responses
Section titled “Responses”Media typeapplication/json
Array<object>
The person’s mark on a session.
object
at
required
string
mark
required
node
required
string
note
What it’s about, in the person’s words or the entry’s headline, for the Parked list.
string | null
tab
required
string
until
A parked session comes back on its own at this time (snoozed); None: until unparked.
string | null
Example
[ { "mark": "ignored" }]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"}