From a3bbba0a3decb35d7a81ac524ff9bd6ce9bae887 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Wed, 3 Jul 2019 10:23:38 +0300 Subject: [PATCH] Update REST API ETag documentation The ETag docuemntation did not mention what sort of changes triggered ETag updates. --- Documentation/REST-API/API.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/REST-API/API.md b/Documentation/REST-API/API.md index ddb0e2aac..fc4ac0dd1 100644 --- a/Documentation/REST-API/API.md +++ b/Documentation/REST-API/API.md @@ -229,7 +229,9 @@ English and it uses the server's local timezone. #### ETag An identifier for a specific version of a resource. The value of this header -changes whenever a resource is modified. +changes whenever a resource is modified via the REST API. It will not change if +an internal MaxScale event (e.g. server changing state or statistics being +updated) causes a change. When the client sends the `If-Match` or `If-None-Match` header, the provided value should be the value of the `ETag` header of an earlier GET.