OneSignal (Add a device) (onesignal/players
)
operated by: OneSignal, Inc.
(get company information on datarequests.org, go to tracker entry in the Exodus database)Endpoint URLs
These are URLs or regexes of endpoints the tracker sends data to. We use these to determine which adapter to apply to a request. Some trackers use the same endpoint for several formats. In this case we use additional logic to match the adapter to the request, refer to the code for more information.https://api.onesignal.com/players
https://onesignal.com/api/v1/players
/https:\/\/api\.onesignal\.com\/players\/[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/
Decoding steps
Every tracking library has its own way of transmitting tracking data, often even several. They are regularly pretty convoluted, nested encoding schemes. Because of that, the adapter needs to decode the request information into a consistent format. We try to keep keys and paths intact, but the structure results from our decoding. All steps used in the decoding for this adapter are documented here.- Parse the request body as JSON. Store that in the result for the request body.
- Get the property at JSONPath
$
in the request path. Store that in the result for the request path.
1res.body = parseJson(body)
2res.path = path.$
Observed data transmissions
This is data that we observed being transmitted by this tracker. Not every request contains all of this data. The context of the data describes where we found the data in the request, the path describes the location of the data in the decoded request. The examples are a selection of observed values.References
- Documentation for
game_version
: https://documentation.onesignal.com/v9.0/reference/add-a-device - Documentation for
rooted
: https://documentation.onesignal.com/v9.0/reference/csv-export - Documentation for
language
: https://documentation.onesignal.com/v9.0/reference/add-a-device - Documentation for
lat
: https://documentation.onesignal.com/v9.0/reference/add-a-device - Documentation for
long
: https://documentation.onesignal.com/v9.0/reference/add-a-device - Documentation for
device_model
: https://documentation.onesignal.com/v9.0/reference/add-a-device - Documentation for
device_type
: https://documentation.onesignal.com/v9.0/reference/add-a-device - Documentation for
device_os
: https://documentation.onesignal.com/v9.0/reference/add-a-device - Documentation for
external_user_id
: https://documentation.onesignal.com/v9.0/docs/users#external-user-ids - Documentation for
$
: https://documentation.onesignal.com/v9.0/docs/users#player-id - Documentation for
identifier
: https://documentation.onesignal.com/v9.0/reference/add-a-device - Documentation for
timezone_id
: https://documentation.onesignal.com/v9.0/reference/add-a-device - Documentation for
timezone
: https://documentation.onesignal.com/v9.0/reference/add-a-device