Snmp
API Key Scope: traps / index
List of trap.
GET /api/v2/snmp/traps HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
List of trap.
{
"count": 1,
"traps": [
{
"snmp_trap_id": "text",
"activation": 1,
"version": "text",
"manager": "text",
"community": "text",
"severity_low": 1,
"severity_high": 1
}
]
}API Key Scope: traps / create
A specific trap.
The received resource was not correctly formatted.
POST /api/v2/snmp/traps HTTP/1.1
Host: localhost
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 126
{
"snmp_trap_id": "text",
"activation": 1,
"version": "text",
"manager": "text",
"community": "text",
"severity_low": 1,
"severity_high": 1
}{
"snmp_trap_id": "text",
"activation": 1,
"version": "text",
"manager": "text",
"community": "text",
"severity_low": 1,
"severity_high": 1
}API Key Scope: traps / show
Numeric ID of snmp trap.
A specific trap.
The requested resource was not found. The detailed error will be of type not_found.
GET /api/v2/snmp/traps/{snmp_trap_id} HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
{
"snmp_trap_id": "text",
"activation": 1,
"version": "text",
"manager": "text",
"community": "text",
"severity_low": 1,
"severity_high": 1
}API Key Scope: traps / update
Numeric ID of snmp trap.
A specific trap.
The received resource was not correctly formatted.
PUT /api/v2/snmp/traps/{snmp_trap_id} HTTP/1.1
Host: localhost
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 126
{
"snmp_trap_id": "text",
"activation": 1,
"version": "text",
"manager": "text",
"community": "text",
"severity_low": 1,
"severity_high": 1
}{
"snmp_trap_id": "text",
"activation": 1,
"version": "text",
"manager": "text",
"community": "text",
"severity_low": 1,
"severity_high": 1
}API Key Scope: traps / destroy
Numeric ID of snmp trap.
trap destroyed.
No content
DELETE /api/v2/snmp/traps/{snmp_trap_id} HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
trap destroyed.
No content
API Key Scope: server_configuration / show
server configuration infos.
The requested resource was not found. The detailed error will be of type not_found.
GET /api/v2/snmp/server_configuration HTTP/1.1
Host: localhost
Authorization: Basic username:password
Accept: */*
{
"version": "text",
"community": "text",
"location": "text",
"contact": "text"
}API Key Scope: server_configuration / update
server configuration infos.
The received resource was not correctly formatted.
PUT /api/v2/snmp/server_configuration HTTP/1.1
Host: localhost
Authorization: Basic username:password
Content-Type: application/json
Accept: */*
Content-Length: 72
{
"version": "text",
"community": "text",
"location": "text",
"contact": "text"
}{
"version": "text",
"community": "text",
"location": "text",
"contact": "text"
}Last updated
Was this helpful?