From 1beeb7d0ddaa8f81a90095787e1c04eae0f6cba2 Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Sun, 18 Mar 2018 13:26:19 +0100 Subject: [PATCH] doc/REST: Make documentation match reality --- doc/100_references.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/100_references.rst b/doc/100_references.rst index 44dcc6673..be22defa0 100644 --- a/doc/100_references.rst +++ b/doc/100_references.rst @@ -672,8 +672,8 @@ The following values are valid for ``{type}``: The API version is selected via the ``Accept`` HTTP header in the request. The following values are defined: - * ``application/vnd.x.restic.rest.v1+json`` or empty: Select API version 1 - * ``application/vnd.x.restic.rest.v2+json``: Select API version 2 + * ``application/vnd.x.restic.rest.v1`` or empty: Select API version 1 + * ``application/vnd.x.restic.rest.v2``: Select API version 2 The server will respond with the value of the highest version it supports in the ``Content-Type`` HTTP response header for the HTTP requests which should