falcon_plus_api v0.1.3 FalconPlusApi.Api.Nodata
Summary
Functions
- Session Required
Request
{
"tags": "",
"step": 60,
"obj_type": "host",
"obj": "docker-agent",
"name": "testnodata",
"mock": -1,
"metric": "test.metric",
"dstype": "GAUGE"
}
Response
Status: 200
{
"id": 4,
"name": "testnodata",
"obj": "docker-agent",
"obj_type": "host",
"metric": "test.metric",
"tags": "",
"dstype": "GAUGE",
"step": 60,
"mock": -1,
"creator": "root"
}
- Session Required
- ex. /api/v1/nodata/4
Response
Status: 200
{"message":"mockcfg:4 is deleted"}
- Session Required
- ex. /api/v1/nodata/2
Response
Status: 200
{
"id": 2,
"name": "owl_nodate",
"obj": "docker-agent",
"obj_type": "host",
"metric": "test.metric",
"tags": "",
"dstype": "GAUGE",
"step": 60,
"mock": -2,
"creator": "root"
}
- Session Required
Response
Status: 200
[
{
"id": 2,
"name": "owl_nodate",
"obj": "docker-agent",
"obj_type": "host",
"metric": "test.metric",
"tags": "",
"dstype": "GAUGE",
"step": 60,
"mock": -2,
"creator": "root"
}
]
- Session Required
Request
{
"tags": "",
"step": 60,
"obj_type": "host",
"obj": "docker-agent",
"mock": -2,
"metric": "test.metric",
"id": 4,
"dstype": "GAUGE"
}
Response
Status: 200
{
"id": 0,
"name": "",
"obj": "docker-agent",
"obj_type": "host",
"metric": "test.metric",
"tags": "",
"dstype": "GAUGE",
"step": 60,
"mock": -2,
"creator": ""
}