forked from TrueCloudLab/restic
REST: Make create repository idempotent
This commit is contained in:
parent
f806d8818d
commit
7e9bfa51e9
1 changed files with 2 additions and 3 deletions
|
@ -9,9 +9,8 @@ different repositories can be accessed. The default path is `/`.
|
||||||
## POST {path}?create=true
|
## POST {path}?create=true
|
||||||
|
|
||||||
This request is used to initially create a new repository. The server responds
|
This request is used to initially create a new repository. The server responds
|
||||||
with "200 OK" if the repository structure was created successfully, otherwise
|
with "200 OK" if the repository structure was created successfully or already
|
||||||
an error is returned. If the repo already exists, the HTTP error "409 Conflict"
|
exists, otherwise an error is returned.
|
||||||
is returned.
|
|
||||||
|
|
||||||
## DELETE {path}
|
## DELETE {path}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue