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:
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.
Request
The message body is an object:
Parameter | Type | Description |
---|---|---|
| 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
Field | Type | Description |
---|---|---|
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.
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:
Parameter | Type | Description |
---|---|---|
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
Field | Type | Description |
---|---|---|
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