Skip to main content
PUT
/
api
/
v1
/
backchannel
/
preferences
/
topics
cURL
curl --request PUT \
  --url https://tilt.io/api/v1/backchannel/preferences/topics \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "topics": [
    "<string>"
  ],
  "threshold_exposure_pct_for_alert": "<string>"
}
'
{
  "id": 123,
  "user_id": 123,
  "topics": [
    "<string>"
  ],
  "threshold_exposure_pct_for_alert": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
topics
string[]
Maximum string length: 128
threshold_exposure_pct_for_alert
string
Pattern: ^-?\d{0,3}(?:\.\d{0,2})?$

Response

200 - application/json

Updated topic preferences

id
integer
required
user_id
integer
required
topics
string[]
required
threshold_exposure_pct_for_alert
string
required