From c4b5a8bb5b0212a923a2ad97139710ff6b6af630 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C4=93teris=20Caune?= Date: Thu, 18 Feb 2016 10:17:54 +0200 Subject: [PATCH] Corrected example request again. --- templates/front/docs_api.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/templates/front/docs_api.html b/templates/front/docs_api.html index 69990ea8..5dddab73 100644 --- a/templates/front/docs_api.html +++ b/templates/front/docs_api.html @@ -67,7 +67,7 @@ The response may contain a JSON document with additional data. tags

string, optional, default value: ""

-

A comma-delimited list of tags for the new check.

+

A space-delimited list of tags for the new check.

@@ -100,9 +100,9 @@ The response may contain a JSON document with additional data.

Example Request

-curl {{ SITE_ROOT }}/v1/checks/ \
+curl {{ SITE_ROOT }}api/v1/checks/ \
     -X POST \
-    -d '{"api_key": "your-api-key", "name": "Backups", "tags": "prod,www", "timeout": 3600, "grace": 60}'
+    -d '{"api_key": "your-api-key", "name": "Backups", "tags": "prod www", "timeout": 3600, "grace": 60}'
 

Example Response