v1

latestOpenAPI 3.1.0Apache 2.02026-07-245981,1853.0 MB
Scripts

Publish Application SDK

Use this API to publish the script configuration options for the specified application.

put/api/cmp/v1/applications/{id}/publish

Path parameters

idstring uuid required

UUID of the application to publish for

Request body

publishVersionstring

Version to publish, by default the lastest version will be used.

productionboolean

Publish a test (false) or production (true)

publishType'PUBLISHERS' | 'HEADLESS' | 'UNITY' | 'ROKU' | 'XAMARIN' | 'SAMSUNGTV' | 'LGTV' | 'VIZIOTV' | 'HBBTV' | 'PANASONICTV' | 'PS5' | 'YOUVIEW'

The type of SDK being published

requireReconsentboolean

If users will be required to reconsent once this update is published

langCodesstring[]

Languages to publish in, by default all languages will be published.

Example request

{
  "publishVersion": "202603.1.0",
  "production": true,
  "publishType": "PUBLISHERS",
  "langCodes": [
    "fr",
    "de",
    "en"
  ],
  "regionRules": [
    {
      "ruleId": "f2229953-b4b5-4042-8cb9-b78038cc4c46",
      "ruleName": "Global"
    },
    {
      "ruleId": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "ruleName": "Europe"
    }
  ]
}

Response

OK