Apps
Create an app
Send either store_url, or name, bundle_id and platform. With store_url, Tenjin reads the app's name, bundle id and platform from the App Store or Google Play. Of the other attributes it keeps only the attribution windows; set the rest with PATCH /v2/apps/{id} after the app is created.
post/v2/apps
Request
- Base URLhttps://api.tenjin.com
- AuthHTTP bearer
Request body
Example request
{
"store_url": "https://play.google.com/store/apps/details?id=com.example.game",
"deterministic_click_attribution_window": "1d",
"deterministic_impression_attribution_window": "1d",
"probabilistic_click_attribution_window": "1d",
"probabilistic_impression_attribution_window": "1d"
}Response
The created app
Example response
{
"data": {
"attributes": {
"name": "My Game",
"bundle_id": "com.example.mygame",
"platform": "ios",
"store_id": "655745678",
"rating": "4.5",
"developer_name": "Example Games",
"match_strings": [
"mygame"
],
"protocol": "mygame",
"sending_events": true,
"deterministic_click_attribution_window": "1d",
"deterministic_impression_attribution_window": "1d",
"probabilistic_click_attribution_window": "1d",
"probabilistic_impression_attribution_window": "1d"
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.