Type Definitions
Endpoint
Type:
- Source:
itemsCreateOneRequest(body, callback)
Parameters:
- Source:
itemsGetOneRequest(id, paramsopt, callback)
Parameters:
Name |
Type |
Attributes |
Description |
id |
Number
|
|
|
params |
Object
|
<optional>
|
|
callback |
responseCallback
|
|
|
- Source:
itemsGetRequest(paramsopt, callback)
Parameters:
Name |
Type |
Attributes |
Description |
params |
Object
|
<optional>
|
|
callback |
responseCallback
|
|
|
- Source:
itemsModifyOneRequest(body, callback)
Parameters:
- Source:
responseCallback(error, items, meta, response)
A callback passed a collection of items such as traffic updates or simply a success/error message
Parameters:
Name |
Type |
Description |
error |
Error
|
error object |
items |
Array
|
an array of targetted items |
meta |
Object
|
meta data concerning the data |
response |
Object
|
the original response object |
- Source:
SSEClientFactory(initDict) → {EventSource}
Parameters:
Name |
Type |
Description |
initDict |
Object
|
|
- Source:
Returns:
-
Type
-
EventSource