DeviceLogsController_getDeviceLog
GET/v1/organizations/:organizationId/projects/:projectId/platforms/:platform/users/:userId/devices/:deviceId/logs/:logId
DeviceLogsController_getDeviceLog
Request
Path Parameters
Responses
- 200
- 400
Get Device Log by ID
- application/json
- Schema
- Example (from schema)
Schema
Unique ID of the device log
Possible values: [consumePurchase
, consumePurchaseError
, purchase
, purchaseError
, queryPurchases
, queryPurchasesError
, acknowledgeSubscriptionPurchase
, acknowledgeSubscriptionPurchaseError
, acknowledgeProductPurchase
, acknowledgeProductPurchaseError
, subscribe
, subscribeError
, querySubscriptionPurchases
, querySubscriptionPurchasesError
, skuDetails
, skuDetailsError
, productDetails
, productDetailsError
, startConnection
, startConnectionError
, subscriptionPurchaseEvent
, subscriptionPurchaseEventError
, subscriptionPurchase
, subscriptionPurchaseError
]
Event type
Status code
payload object
Possible values: [inapp
, subs
]
purchase object
ID
Possible values: [PURCHASED
, CANCELED
, PENDING
]
The state of the purchase
Quantity of items purchased
The time the purchase was made
Obfuscated account ID
Obfuscated profile ID
Developer payload
Order ID
The applicationId associated with the app, also referred to as packageName.
Purchase token
Product ID
User ID
Organization ID
Device ID
Android platform ID
The time the purchase was consumed
The time the purchase was updated
The time the purchase was acknowledged
Creation timestamp
product objectrequired
Product Sku details
Product SKU
startConnectionRequestDto object
device objectrequired
The device details.
The applicationId associated with the app, also referred to as packageName.
The artifactId of the library used to make the purchase (optional)
The version of the library used to make the purchase (optional)
payload object
features objectrequired
The features of the device.
The URL for establishing the Server-Sent Events (SSE) connection.
Date of creation
{
"id": "abc123",
"event": "purchase",
"statusCode": 200,
"payload": {
"organizationId": "string",
"projectId": "string",
"deviceId": "string",
"userId": "string",
"productType": "inapp",
"purchase": {
"id": "id1234",
"purchaseState": "Purchased",
"quantity": 1,
"purchaseTime": "2021-09-20T00:40:56.000Z",
"obfuscatedAccountId": "abcd1234",
"obfuscatedProfileId": "efgh5678",
"developerPayload": "payload",
"orderId": "order1234",
"applicationId": "com.example.app",
"purchaseToken": "purchaseToken1234",
"productId": "prod1234",
"userId": "user1234",
"organizationId": "org1234",
"deviceId": "device1234",
"androidPlatformId": "platform1234",
"consumedAt": "2021-09-20T00:40:56.000Z",
"updatedAt": "2021-09-20T00:40:56.000Z",
"acknowledgedAt": "2021-09-20T00:40:56.000Z",
"createdAt": "2021-09-20T00:40:56.000Z",
"product": {
"sku": "product_sku_1234"
}
},
"productSkus": [
"string"
],
"subscriptionSkus": [
"string"
],
"skuDetails": {},
"platform": "string",
"startConnectionRequestDto": {
"device": {},
"applicationId": "com.example.app",
"artifactId": "android-billing-sdk-drop-in",
"artifactVersion": "1.0.20230705123456"
},
"payload": {
"features": {},
"sseUrl": "string"
},
"error": {}
},
"createdAt": ""
}
Bad Request