From 7e9bfa51e9fab142515eb2051024cc4f90c8774c Mon Sep 17 00:00:00 2001 From: Alexander Neumann Date: Mon, 30 Jan 2017 19:33:17 +0100 Subject: [PATCH] REST: Make create repository idempotent --- doc/REST_backend.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/doc/REST_backend.md b/doc/REST_backend.md index 3a65dded3..6423d95b0 100644 --- a/doc/REST_backend.md +++ b/doc/REST_backend.md @@ -9,9 +9,8 @@ different repositories can be accessed. The default path is `/`. ## POST {path}?create=true This request is used to initially create a new repository. The server responds -with "200 OK" if the repository structure was created successfully, otherwise -an error is returned. If the repo already exists, the HTTP error "409 Conflict" -is returned. +with "200 OK" if the repository structure was created successfully or already +exists, otherwise an error is returned. ## DELETE {path}