The Trakopolis API server implements simple “new” items tracking functionality. Whenever an application performs GET request to the API, server stores identifier of latest returned item. When new item is available, server detects number of items since last application request and passes this number in the push notification message as a value in “Unread” property. There is no way to change value of “new” items except of receiving items using the API.
“Unread” values may be used as a very simple badge indicator for a mobile application. Sum of all unread items for every item type should give a badge number for an application. For more complicated scenarios it is recommended to track number of unread items on application server or push notifications delivery service.