Configure Features

You configure features by app and network. If you want to configure features for multiple apps, you must call this endpoint for each app.

For each feature, you must create all the required keys, which are specified by the Vendor Configuration API.

The available features are:

  • attribution

  • postback

You can switch between these features by exchanging the placeholder in the URL path to the desired feature:

https://api.justtrack.io/management/v0/configuration/:feature

For attribution viewEventTimeFrame and clickEventTimeFrame, use ISO8601 duration-only format, i.e. P1DT0H0M

List configurations

List configurations returns the list of feature configurations for the given app and network.

curl --location -X POST 'https://api.justtrack.io/management/v0/configuration/attribution' \
-H 'X-API-KEY: <API KEY>'

Request

The message body is an object:

{
    "appId": int,
    "networkId": int
}
ParameterTypeDescription

networkId

int

justtrack internal id of the network. You can find it with the network list API.

appId

int

justtrack internal id of the app. You can find it with the app list API, or use the return value from app create API.

Response

[
  {
    "id": int,
    "app": {
      "id": int
    },
    "network": {
      "id": int,
      "vendor": string
    },
    "key": string,
    "value": string,
    "sensitive": boolean
  }
]
FieldTypeDescription

id

int

Id of the config value

app.id

int

justtrack internal app id

network.id

int

justtrack internal network id

network.vendor

string

Name of the network vendor

key

string

Name of the vendor configuration key

value

string

Value of the vendor configuration

sensitive

boolean

True if the value is confidential. False otherwise

Update configurations

Update configurations creates or updates feature-specific configurations for a given app and network.

curl --location -X PUT 'https://api.justtrack.io/management/v0/configuration/attribution' \
-H 'X-API-KEY: <API KEY>'

You must provide values for all keys listed by List vendor configurations. Otherwise, the feature will not work as expected.

Request

The message body is an object:

{
    "appId": int,
    "networkId": int,
    "configuration": [
        {
            "key": string,
            "value": string
        }
    ]
}
ParameterTypeDescription

appId

int

justtrack internal app id

networkId

int

justtrack internal app id

configuration.key

string

Name of the configuration. Has to be one which is returned by the list call for this appId and networkId

configuration.value

string

Value of the configuration

Response

[
  {
    "id": int,
    "app": {
      "id": int
    },
    "network": {
      "id": int,
      "vendor": string
    },
    "key": string,
    "value": string,
    "sensitive": boolean
  }
]
FieldTypeDescription

id

int

Id of the config value

app.id

int

justtrack internal app id

network.id

int

justtrack internal network id

network.vendor

string

Name of the network vendor

key

string

Name of the vendor configuration key

value

string

Value of the vendor configuration

sensitive

boolean

True, if the value is confidential. False otherwise

Last updated