GET Datasets

GET Datasets

Gets a list of all data sets.

Request
URI
GET
https://{api_host}/api/v2/datasets
COPY
Authentication
This operation uses the following authentication methods.
Responses
200

Gets a list of all data sets.

Returns Array of datasets.object.response of type(s) application/json
[
    {
        "id": "8a11ff41-491a-4969-8a02-981949ab6932",
        "name": "app name data set",
        "description": "id const description",
        "type": "AND",
        "constraints": [
            {
                "name": "appname",
                "operator": "IS",
                "value": "some app name"
            }
        ]
    },
    {
        "id": "aa4dfe85-382d-487c-875b-7e049867a76d",
        "name": "hostname data set",
        "description": "id const description",
        "type": "AND",
        "constraints": [
            {
                "name": "hostname",
                "operator": "IS",
                "value": "10.10.10.10"
            }
        ]
    }
]

401
Operation doesn't return any data structure

440
Operation doesn't return any data structure

Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/api/v2/datasets