new Observations(networkPropertiesopt)
Parameters:
Name | Type | Attributes | Default | Description | ||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
networkProperties |
Object |
<optional> |
{} |
Properties
|
Methods
(async) getObservationById(observationId) → {Promise.<Observation>}
Get a specific observation resource by ID
Parameters:
Name | Type | Description |
---|---|---|
observationId |
string | ID of requested observation |
Returns:
- corresponding observation
- Type
- Promise.<Observation>
(async) searchObservations(observationFilteropt, pageSizeopt) → {Promise.<Collection.<Observation>>}
List or search all observations available through this API.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
observationFilter |
ObservationFilter |
<optional> |
new ObservationFilter() | default observation filter |
pageSize |
Number |
<optional> |
10 | default page size |
Returns:
- A Collection of Observation
- Type
- Promise.<Collection.<Observation>>
(async) searchObservations(observationFilteropt, pageSizeopt) → {Promise.<Collection.<Observation>>}
List or search all observations available through this API.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
observationFilter |
ObservationFilter |
<optional> |
new ObservationFilter() | default observation filter |
pageSize |
Number |
<optional> |
10 | default page size |
Returns:
- A Collection of Observation
- Type
- Promise.<Collection.<Observation>>