mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
docs: Changed err-msg to message for API docs (#8182)
This commit is contained in:
@@ -1 +1 @@
|
||||
<meta http-equiv="refresh" content="0; url=/API" />
|
||||
<meta http-equiv="refresh" content="0; url=/API" />
|
||||
|
||||
@@ -24,7 +24,7 @@ Output:
|
||||
```json
|
||||
{
|
||||
"status": "ok",
|
||||
"err-msg": "",
|
||||
"message": "",
|
||||
"count": 1,
|
||||
"arp": [
|
||||
{
|
||||
|
||||
@@ -21,7 +21,7 @@ Output:
|
||||
```json
|
||||
{
|
||||
"status": "ok",
|
||||
"err-msg": "",
|
||||
"message": "",
|
||||
"count": 7,
|
||||
"alerts": [
|
||||
{
|
||||
@@ -58,7 +58,7 @@ Output:
|
||||
```json
|
||||
{
|
||||
"status": "ok",
|
||||
"err-msg": "",
|
||||
"message": "",
|
||||
"message": "Alert has been acknowledged"
|
||||
}
|
||||
```
|
||||
@@ -84,7 +84,7 @@ Output:
|
||||
```json
|
||||
{
|
||||
"status": "ok",
|
||||
"err-msg": "",
|
||||
"message": "",
|
||||
"message": "Alert has been unmuted"
|
||||
}
|
||||
```
|
||||
@@ -109,7 +109,7 @@ Output:
|
||||
```json
|
||||
{
|
||||
"status": "ok",
|
||||
"err-msg": "",
|
||||
"message": "",
|
||||
"count": 1,
|
||||
"alerts": [
|
||||
{
|
||||
@@ -147,7 +147,7 @@ Output:
|
||||
```json
|
||||
{
|
||||
"status": "ok",
|
||||
"err-msg": "",
|
||||
"message": "",
|
||||
"count": 1,
|
||||
"rules": [
|
||||
{
|
||||
@@ -184,7 +184,7 @@ Output:
|
||||
```json
|
||||
{
|
||||
"status": "ok",
|
||||
"err-msg": "",
|
||||
"message": "",
|
||||
"message": "Alert rule has been removed"
|
||||
}
|
||||
```
|
||||
@@ -210,7 +210,7 @@ Output:
|
||||
```json
|
||||
{
|
||||
"status": "ok",
|
||||
"err-msg": "",
|
||||
"message": "",
|
||||
"count": 1,
|
||||
"rules": [
|
||||
{
|
||||
@@ -255,7 +255,7 @@ Output:
|
||||
rules
|
||||
{
|
||||
"status": "ok",
|
||||
"err-msg": ""
|
||||
"message": ""
|
||||
}
|
||||
```
|
||||
|
||||
@@ -290,6 +290,6 @@ Output:
|
||||
rules
|
||||
{
|
||||
"status": "ok",
|
||||
"err-msg": ""
|
||||
"message": ""
|
||||
}
|
||||
```
|
||||
|
||||
@@ -17,7 +17,7 @@ Output:
|
||||
```json
|
||||
{
|
||||
"status": "ok",
|
||||
"err-msg": "",
|
||||
"message": "",
|
||||
"count": 1,
|
||||
"bills": [
|
||||
{
|
||||
@@ -84,7 +84,7 @@ Output:
|
||||
```json
|
||||
{
|
||||
"status": "ok",
|
||||
"err-msg": "",
|
||||
"message": "",
|
||||
"count": 1,
|
||||
"bills": [
|
||||
{
|
||||
|
||||
@@ -88,7 +88,7 @@ Output:
|
||||
```json
|
||||
{
|
||||
"status": "ok",
|
||||
"err-msg": "",
|
||||
"message": "",
|
||||
"count": 3,
|
||||
"graphs": [
|
||||
{
|
||||
@@ -133,7 +133,7 @@ Output:
|
||||
```
|
||||
{
|
||||
"status": "ok",
|
||||
"err-msg": "",
|
||||
"message": "",
|
||||
"count": 2,
|
||||
"graphs": [
|
||||
{
|
||||
@@ -157,7 +157,7 @@ Output:
|
||||
```
|
||||
{
|
||||
"status": "ok",
|
||||
"err-msg": "",
|
||||
"message": "",
|
||||
"count": 2,
|
||||
"graphs": [
|
||||
{
|
||||
@@ -181,7 +181,7 @@ Output:
|
||||
```
|
||||
{
|
||||
"status": "ok",
|
||||
"err-msg": "",
|
||||
"message": "",
|
||||
"count": 1,
|
||||
"graphs": [
|
||||
{
|
||||
@@ -428,7 +428,7 @@ Output:
|
||||
```json
|
||||
{
|
||||
"status": "ok",
|
||||
"err-msg": "",
|
||||
"message": "",
|
||||
"count": 3,
|
||||
"ports": [
|
||||
{
|
||||
@@ -461,7 +461,7 @@ Output:
|
||||
```json
|
||||
{
|
||||
"status": "ok",
|
||||
"err-msg": "",
|
||||
"message": "",
|
||||
"addresses": [
|
||||
{
|
||||
"ipv4_address_id": "290",
|
||||
@@ -497,7 +497,7 @@ Output:
|
||||
```json
|
||||
{
|
||||
"status": "ok",
|
||||
"err-msg": "",
|
||||
"message": "",
|
||||
"count": 2,
|
||||
"mappings": [
|
||||
{
|
||||
@@ -543,7 +543,7 @@ Output:
|
||||
```json
|
||||
{
|
||||
"status": "ok",
|
||||
"err-msg": "",
|
||||
"message": "",
|
||||
"count": 3,
|
||||
"components": {
|
||||
"2": {
|
||||
@@ -599,7 +599,7 @@ Output:
|
||||
```json
|
||||
{
|
||||
"status": "ok",
|
||||
"err-msg": "",
|
||||
"message": "",
|
||||
"count": 1,
|
||||
"components": {
|
||||
"4459": {
|
||||
@@ -632,7 +632,7 @@ Output:
|
||||
```json
|
||||
{
|
||||
"status": "ok",
|
||||
"err-msg": "",
|
||||
"message": "",
|
||||
"count": 1
|
||||
}
|
||||
```
|
||||
@@ -658,7 +658,7 @@ Output:
|
||||
```json
|
||||
{
|
||||
"status": "ok",
|
||||
"err-msg": ""
|
||||
"message": ""
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ Output:
|
||||
```json
|
||||
{
|
||||
"status": "ok",
|
||||
"err-msg": "",
|
||||
"message": "",
|
||||
"count": 1,
|
||||
"inventory": [
|
||||
{
|
||||
|
||||
@@ -38,7 +38,7 @@ Output:
|
||||
```json
|
||||
{
|
||||
"status": "ok",
|
||||
"err-msg": "",
|
||||
"message": "",
|
||||
"count": 5,
|
||||
"total": "15",
|
||||
"logs": [
|
||||
|
||||
@@ -24,7 +24,7 @@ Output:
|
||||
```json
|
||||
{
|
||||
"status": "ok",
|
||||
"err-msg": "",
|
||||
"message": "",
|
||||
"ports": [
|
||||
{
|
||||
"ifName": "Gi0/0/0",
|
||||
@@ -65,7 +65,7 @@ Output:
|
||||
```json
|
||||
{
|
||||
"status": "ok",
|
||||
"err-msg": "",
|
||||
"message": "",
|
||||
"port": [
|
||||
{
|
||||
"port_id": "323",
|
||||
@@ -167,7 +167,7 @@ Output:
|
||||
```json
|
||||
{
|
||||
"status": "ok",
|
||||
"err-msg": "",
|
||||
"message": "",
|
||||
"addresses": [
|
||||
{
|
||||
"ipv4_address_id": "290",
|
||||
|
||||
@@ -23,7 +23,7 @@ Output:
|
||||
```json
|
||||
{
|
||||
"status": "ok",
|
||||
"err-msg": "",
|
||||
"message": "",
|
||||
"bgp_sessions": [
|
||||
{
|
||||
"bgpPeer_id": "4",
|
||||
@@ -264,7 +264,7 @@ Output:
|
||||
```json
|
||||
{
|
||||
"status": "ok",
|
||||
"err-msg": "",
|
||||
"message": "",
|
||||
"count": 0,
|
||||
"ipsec": [
|
||||
"tunnel_id": "1",
|
||||
|
||||
@@ -22,7 +22,7 @@ Output:
|
||||
```json
|
||||
{
|
||||
"status": "ok",
|
||||
"err-msg": "",
|
||||
"message": "",
|
||||
"count": 1,
|
||||
"services": [
|
||||
[
|
||||
@@ -84,7 +84,7 @@ Output:
|
||||
```json
|
||||
{
|
||||
"status": "ok",
|
||||
"err-msg": "",
|
||||
"message": "",
|
||||
"count": 1,
|
||||
"services": [
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user