Thread watches
GET
/api/v1/watches
const url = 'https://deck.example.com/api/v1/watches?all=false';const options = {method: 'GET', headers: {cookie: 'qd_auth=<qd_auth>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://deck.example.com/api/v1/watches?all=false' \ --cookie qd_auth=<qd_auth>Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”all
boolean
Responses
Section titled “Responses”Media typeapplication/json
Array<object>
object
account
required
string
active
required
boolean
created_at
required
string
id
required
integer format: int64
subject
string | null
thread_key
required
string
Example generated
[ { "account": "example", "active": true, "created_at": "example", "id": 1, "subject": "example", "thread_key": "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"}