From d527c355d09077adac7cedb8bd3f9820e4c06512 Mon Sep 17 00:00:00 2001 From: Patrick Hiesel Date: Fri, 28 Apr 2017 12:44:10 +0200 Subject: [PATCH] Document that unknown input parameters are ignored in the REST API Change-Id: I3d10eae617eeb5b5c767c0ab28753ae7a3a59d02 --- Documentation/rest-api.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Documentation/rest-api.txt b/Documentation/rest-api.txt index 7928512958..8e2bff66c7 100644 --- a/Documentation/rest-api.txt +++ b/Documentation/rest-api.txt @@ -78,6 +78,12 @@ Responses will be gzip compressed by the server if the HTTP `Accept-Encoding` request header is set to `gzip`. This may save on network transfer time for larger responses. +[[input]] +=== Input Format +Unknown JSON parameters will simply be ignored by Gerrit without causing +an exception. This also applies to case-sensitive parameters, such as +map keys. + [[timestamp]] === Timestamp Timestamps are given in UTC and have the format