Tracker (Stream)

Update Tracker ๐Ÿ“ก

Update a tracker for an application

patch/api/v1/tracker/{tracker_id}

Path parameters

tracker_idstring uuid required

Request body

namestring nullable
whitePageUrlstring nullable
cloakingType'MODERATION' | 'ACTIVE' | 'INACTIVE'
pixelsIdstring[] nullable
commentstring nullable
geoListstring[] nullable

Geo cloaking

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

{"stackTrail":"paths:/api/v1/tracker/{tracker_id}:patch:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes