new SamplingFeatures(networkPropertiesopt)
Parameters:
Name | Type | Attributes | Default | Description | ||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
networkProperties |
Object |
<optional> |
{} |
Properties
|
Methods
(async) getSamplingFeatureById(fId, samplingFeatureFilteropt) → {Promise.<SamplingFeature>}
Get a specific feature resource by ID. Note that this will return the description of the feature valid at the current time.
To get the description valid for a past (or future) time, use the "history" sub-collection.
route: /samplingFeatures/{id}
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
fId |
String | The ID of the SamplingFeature resource | ||
samplingFeatureFilter |
SamplingFeatureFilter |
<optional> |
new SamplingFeatureFilter() | default SamplingFeature filter |
Returns:
- The corresponding SamplingFeatures as JSON
- Type
- Promise.<SamplingFeature>
(async) searchSamplingFeatures(samplingFeatureFilteropt, pageSizeopt) → {Promise.<Collection.<SamplingFeatures>>}
List or search all sampled and sampling features available through this API. By default, only top level features
and collections are listed (i.e. nested members of feature collections are ommitted) unless the "parent" query parameter is set.
route: /samplingFeatures
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
samplingFeatureFilter |
SamplingFeatureFilter |
<optional> |
new SamplingFeatureFilter() | default SamplingFeature filter |
pageSize |
Number |
<optional> |
10 | default page size |
Returns:
- A Collection of SamplingFeatures
- Type
- Promise.<Collection.<SamplingFeatures>>