From d0a7bc4c594af3f48480c86fa5929d9794a8ed8e Mon Sep 17 00:00:00 2001 From: "A.Unger" Date: Wed, 8 Sep 2021 14:30:39 +0200 Subject: [PATCH] update docs --- changelog/unreleased/spaces-post.md | 2 +- docs/extensions/graph/spaces.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/changelog/unreleased/spaces-post.md b/changelog/unreleased/spaces-post.md index 555c721e67..9c0050218e 100644 --- a/changelog/unreleased/spaces-post.md +++ b/changelog/unreleased/spaces-post.md @@ -1,6 +1,6 @@ Enhancement: Create a Space using the Graph API -Spaces can now be created on `POST /drive/{drive-name}`. Only users with the `create-space` permissions can perform this operation. +Spaces can now be created on `POST /drives/{drive-name}`. Only users with the `create-space` permissions can perform this operation. Allowed body form values are: diff --git a/docs/extensions/graph/spaces.md b/docs/extensions/graph/spaces.md index 482133f289..19ffa3f4c5 100644 --- a/docs/extensions/graph/spaces.md +++ b/docs/extensions/graph/spaces.md @@ -49,7 +49,7 @@ This is the status of a DecomposedFS `users` tree. As we can see it is empty bec Let's start with creating a space: -`curl -k -X POST 'https://localhost:9200/graph/v1.0/drive/marketing' -u einstein:relativity -v` +`curl -k -X POST 'https://localhost:9200/graph/v1.0/drives/marketing' -u einstein:relativity -v` ``` ❯ tree -a /var/tmp/ocis/storage/users