@deltares/fews-pi-requests
Version:
Library for making requests to the FEWS PI webservice
27 lines (26 loc) • 1.14 kB
TypeScript
import type { BaseFilter } from "./baseFilter";
import type { AttributeQueryParameter } from "./attributeQueryParameter";
export interface AttributesFilter extends BaseFilter {
/**
* Subset of archive attribute keys.
* Only attributes with this key will be returned.
* This parameter has to be duplicated to specify multiple attributes.
* This parameter is useful to get all values for a specific attribute.
*/
attributes?: string | string[];
/**
* Subset of locations for which to retrieve parameters.
* This parameter has to be duplicated to specify multiple locations.
*/
locationIds?: string | string[];
/**
* Subset of locations for which to retrieve parameters.
* This parameter has to be duplicated to specify multiple locations.
*/
parameterIds?: string | string[];
/**
* attribute(key)=value (string): one or more attributes that have to match the archive attribute.
* Attributes are passed by passing the key as an argument to the attribute() parameter and the value as parameter value.
*/
attribute?: AttributeQueryParameter;
}