| Required role: | Backoffice |
| GET | /tracking/get_app |
|---|
import Foundation
import ServiceStack
public class DailyStats : Codable
{
public var day:Date
public var displayedInAppCount:Int
public var averageDisplayedInAppTimeInSeconds:Double
required public init(){}
}
Swift GetAppTrackingRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /tracking/get_app HTTP/1.1 Host: backoffice-api.brovs.com Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
dailyStats:
[
{
day: 0001-01-01,
displayedInAppCount: 0,
averageDisplayedInAppTimeInSeconds: 0
}
]
}