Assets

The following resources are applicable:

/assets

Mount Point: /v2/assets

GET

Returns the list of all the Assets that published some data for the account of the currently connected user. For each returned Asset, the Asset ID and timestamp of its last received message will be returned.

Parameters

name description type default
limit Maximum number of entries to be returned. Note that an error will be returned if the maximum allowed value is exceeded. query 50
offset Starting offset for the entries to be returned. Note that an error will be returned if the maximum allowed value is exceeded. query 0

Response Body

element: assetsResult
media types: application/xml
application/json

The list of requested Asset objects.

/assets/{asset}/count

Mount Point: /v2/assets/{asset}/count

GET

Returns the count of all the Messages that the specified asset published.

Parameters

name description type default
asset (no documentation provided) path
startDate Start date of the date range requested. The parameter is expressed as a long counting the number of milliseconds since January 1, 1970, 00:00:00 GMT. If not specified it means no start date. Alternatively, the date can be expressed as a string following the ISO 8601 format. query 0
endDate End date of the date range requested. The parameter is expressed as a long counting the number of milliseconds since January 1, 1970, 00:00:00 GMT. If not specified it means current time. Alternatively, the date can be expressed as a string following the ISO 8601 format. query 0

Response Body

element: countResult
media types: application/xml
application/json

The count of requested Messages.

/assets/{asset}/topics

Mount Point: /v2/assets/{asset}/topics

GET

Returns the list of all the Topic that the specified asset published under. For each returned Topic, the topic and timestamp of its last received message will be returned.

Parameters

name description type default
asset (no documentation provided) path
limit Maximum number of entries to be returned. Note that an error will be returned if the maximum allowed value is exceeded. query 50
offset Starting offset for the entries to be returned. Note that an error will be returned if the maximum allowed value is exceeded. query 0
prefix (no documentation provided) query

Response Body

element: topicsResult
media types: application/xml
application/json

The list of requested Topic objects.