Scripts

Get Script for Application

Use this API to retrieve script details for the specified application.

get/api/cmp/v1/applications/{id}/script-details

Request

  • Base URL
    https://hostname
  • URL
    https://hostname/api/cmp/v1/applications/{id}/script-details
  • Auth
    OAuth 2
    Client credentials
    Token URL: https://{hostname}/api/access/v1/oauth/token scopes: COOKIE, COOKIE_READ

Path parameters

idstring uuid required

ID of the Application to retrieve a script of

Response

OK

idstring uuid

Unique identifier of this Application.

namestring

The name of this mobile Application.

versionstring

The version of the script

geoRuleIdstring uuid

Unique identifier of the geo rule.

geoRuleNamestring

Name of the geo rule.

platform'IOS' | 'ANDROID' | 'APPLETV' | 'ANDROIDTV' | 'FIRETV' | 'ROKU' | 'SAMSUNGTV' | 'LGTV' | 'VIZIOTV' | 'HBBTV' | 'PANASONICTV' | 'PS5' | 'YOUVIEW'

The platform of this Application.

lastPublishedStatus'DRAFT' | 'PUBLISHED' | 'PUBLISHING' | 'FAILED' | 'WAITING'

The status of the SDK publication

lastPublishedDatestring date-time

Last date publish date (timezone UTC)

lastPublishedVersionstring

Version of the latest publish

lastPublishedBystring

User who triggered the latest publish

solution'API' | 'ONETRUST_SDK'

The type of the SDK published within the application.

publishedVersionsstring[]

The published version of this script.

Example response

{
  "id": "f2229953-b4b5-4042-8cb9-b78038cc4c46",
  "name": "CashPro Mobile-iOS",
  "version": "202212.1.0",
  "geoRuleId": "f2229953-b4b5-4042-8cb9-b78038cc4c46",
  "geoRuleName": "Europe Rule",
  "platform": "IOS",
  "lastPublishedStatus": "PUBLISHED",
  "lastPublishedDate": "2024-01-15T14:30:45",
  "lastPublishedVersion": "202212.1.0",
  "lastPublishedBy": "Adithya H.",
  "solution": "ONETRUST_SDK",
  "publishedVersions": [
    "202602.1.0",
    "202212.1.1"
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.