GET
Description : retrieve the list of available values for a filtering purpose.
Accepts : Query parameters
Returns : JSON
Query parameters
This route supports two query parameters : endpoint and field, both of type string.
Query parameters description
- endpoint : the desired endpoint for data selection.
Example :
/api/clients - field : the desired column name
Example :
device_id,client_id, ..
Responses
Depending of the validity of the request, different responses/status codes will be returned.
HTTP 200, 501
{
"result": "list[str] | str"
}
Response parameters
- result : the list of values or the error code.
Example :
["1","2"],Error