From e23fa22233cfbaa4fcea7abcd4e191ce5258870b Mon Sep 17 00:00:00 2001 From: mkenigs <40775676+mkenigs@users.noreply.github.com> Date: Fri, 7 Jun 2019 02:21:47 -0700 Subject: [PATCH] Change snapshot description to be consistent with rest of the doc (#5642) Signed-off-by: mkenigs --- docs/querying/api.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/querying/api.md b/docs/querying/api.md index d01f15ab1..81d06d1b9 100644 --- a/docs/querying/api.md +++ b/docs/querying/api.md @@ -708,10 +708,14 @@ Snapshot creates a snapshot of all current data into `snapshots/- -PUT /api/v1/admin/tsdb/snapshot?skip_head= +POST /api/v1/admin/tsdb/snapshot +PUT /api/v1/admin/tsdb/snapshot ``` +URL query parameters: + +- `skip_head=`: Skip data present in the head block. Optional. + ```json $ curl -XPOST http://localhost:9090/api/v1/admin/tsdb/snapshot {