Event

Long-polls for pending events for a device.

Request body: JSON object. This endpoint polls for up to 60 seconds and returns an empty list if no pending events are found before the timeout.

post/v1/event/list/pending/longpoll

Request

  • Base URL: https://api.actionstreamer.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.actionstreamer.com/v1/event/list/pending/longpoll
  • Auth: none declared

Request body

deviceNamestring nullable

Example request

{
  "deviceName": "WearableDevice"
}

Response

Success

deviceNamestring nullable
eventTypestring nullable
agentTypestring nullable
versionstring nullable
eventStatusNamestring nullable
eventStatusDescriptionstring nullable
agentIndexinteger
keyinteger
deviceIDinteger
agentTypeIDinteger
agentIDinteger
eventTypeIDinteger
serverEventinteger
eventStatusinteger
eventParametersstring nullable
processIDinteger
resultstring nullable
percentCompletenumber double
priorityinteger
expirationEpochinteger
attemptNumberinteger
maxAttemptsinteger
tagStringstring nullable
tagNumberinteger
creationDatestring date-time nullable

Example response

[
  {
    "key": 501,
    "userID": 101,
    "deviceID": 201,
    "agentTypeID": 1,
    "agentID": 1,
    "eventTypeID": 1,
    "serverEvent": 1,
    "eventStatus": 1,
    "eventParameters": "{\"presetName\":\"Run Event Preset\"}",
    "processID": 4321,
    "result": "Example value",
    "percentComplete": 42.5,
    "priority": 1,
    "expirationEpoch": 1711800000,
    "attemptNumber": 1,
    "maxAttempts": 3,
    "tagString": "Example value",
    "tagNumber": 1,
    "creationDate": "2026-03-30T12:00:00.0000000Z",
    "createdBy": 1,
    "lastModifiedDate": "2026-03-30T12:00:00.0000000Z",
    "lastModifiedBy": 1,
    "deviceName": "WearableDevice",
    "eventType": "Run",
    "agentType": "Device",
    "version": "1.0.0",
    "eventStatusName": "Example value",
    "eventStatusDescription": "Example description",
    "agentIndex": 1
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.