netgate-vpp-prometheus API (20.08)

Provide RPCs to control VPP Prometheus Exporter Copyright 2018-2020 Rubicon Communications, LLC.

prometheus-control

creates netgate.vpp.prometheus.PrometheusControl

post /operations/netgate-vpp-prometheus:prometheus-control

Example URL

https://hostname/restconf/operations/netgate-vpp-prometheus:prometheus-control

creates netgate.vpp.prometheus.PrometheusControl

Request Body schema: application/yang-data+json
input
object (netgate.vpp.prometheus.prometheuscontrol.Input)

Responses

200

Correct response

201

No response

400

Internal error

Request samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "input":
    {
    }
}

Response samples

Content type
application/yang-data+json
Copy
Expand all Collapse all
{
  • "output":
    {
    }
}