API - process-type


Get the stored process types.

Prerequisite Method URI Request Body
none GET /api/v1/process-type none

Response Sample:

200 OK
[
    {
        "id": "min",
        "name": "Aggregate data - min",
        "parameter_options": {
            "5minutes": "Every 5 minutes",
            "10minutes": "Every 10 minutes",
            "30minutes": "Every 30 minutes",
            "1hour": "Every one hour",
            "1day": "Every one day",
            "1week": "Every one week",
            "1month": "Every one month"
        }
    },
    {
        "id": "mean",
        "name": "Aggregate data - mean",
        "parameter_options": {
            "5minutes": "Every 5 minutes",
            "10minutes": "Every 10 minutes",
            "30minutes": "Every 30 minutes",
            "1hour": "Every one hour",
            "1day": "Every one day",
            "1week": "Every one week",
            "1month": "Every one month"
        }
    },
    {
        "id": "store_directly",
        "name": "Store directly",
        "parameter_options": null
    },
    {
        "id": "sum",
        "name": "Aggregate data - sum",
        "parameter_options": {
            "5minutes": "Every 5 minutes",
            "10minutes": "Every 10 minutes",
            "30minutes": "Every 30 minutes",
            "1hour": "Every one hour",
            "1day": "Every one day",
            "1week": "Every one week",
            "1month": "Every one month"
        }
    },
    {
        "id": "max",
        "name": "Aggregate data - max",
        "parameter_options": {
            "5minutes": "Every 5 minutes",
            "10minutes": "Every 10 minutes",
            "30minutes": "Every 30 minutes",
            "1hour": "Every one hour",
            "1day": "Every one day",
            "1week": "Every one week",
            "1month": "Every one month"
        }
    }
]