Tracker (Stream)
Update Tracker π‘
Changed onUpdate a tracker for an application
patch/api/v1/tracker/{tracker_id}
Request
- Base URLhttps://api.pwapps.com (the document declares no server; this is the origin it was published from)
- AuthOAuth 2PasswordToken URLhttps://api.pwapps.com/api/v1/user/login
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
tracker_idstring uuid required
Request body
Example request
{
"applications": [
{
"application_id": "123e4567-e89b-12d3-a456-426614174000",
"device_type": "ANDROID",
"weight": 100
}
],
"cloaking_type": "MODERATION",
"comment": "Updated example comment",
"geo_list": [
"US",
"CA"
],
"name": "Example Tracker",
"offers": [
{
"offerId": "123e4567-e89b-12d3-a456-426614174000",
"weight": 50
},
{
"offerId": "223e4567-e89b-12d3-a456-426614174000",
"weight": 50
}
],
"pixels_id": [
"123e4567-e89b-12d3-a456-426614174000"
],
"post_landings": [
{
"landing_id": "323e4567-e89b-12d3-a456-426614174000",
"weight": 100
}
],
"pre_landings": [
{
"landing_id": "123e4567-e89b-12d3-a456-426614174000",
"weight": 50
},
{
"landing_id": "223e4567-e89b-12d3-a456-426614174000",
"weight": 50
}
],
"pwas": [
{
"device_type": "IOS",
"pwa_id": "123e4567-e89b-12d3-a456-426614174000",
"weight": 100
}
],
"type": "TRACKER",
"white_page_url": "https://docs.google.com"
}Response
Successful Response
unknown required
Changes
- info
added the new optional request property
- info