aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
Diffstat (limited to 'README')
-rw-r--r--README14
1 files changed, 13 insertions, 1 deletions
diff --git a/README b/README
index 2b78c51..688d431 100644
--- a/README
+++ b/README
@@ -381,7 +381,16 @@ element of the "ip-list" array, the "index" attribute contains the
** PUT /config/ip-list/IP
Adds IP to the current IP list. Returns HTTP status 201 (Created) on
-success. If such an IP is already in the list, returns 403 (Forbidden).
+success. On error, the following codes can be returned:
+ - 403 (Forbidden)
+ The entry for this IP address already exists or (if a hostname is
+ given) the argument cannot be resolved to a IPv4 address. If the
+ Content-Type of the response is "application/json", the "message"
+ attribute of the returned JSON object supplies an explanation of
+ the error.
+ - 500 (Internal server error)
+
+If such an IP is already in the list, returns .
** DELETE /config/ip-list/IP-OR-HOSTNAME
@@ -389,6 +398,9 @@ Deletes IP-OR-HOSTNAME from the IP list. Returns 200 (OK) on success.
If IP-OR-HOSTNAME was not found in the IP list or is immutable,
returns 404 (Not found).
+All update requests are queued and take effect at the beginning of the
+next ping probe.
+
* Copyright information:

Return to:

Send suggestions and report system problems to the System administrator.