diff --git a/changelog/unreleased/spaces-post.md b/changelog/unreleased/spaces-post.md index 555c721e6..9c0050218 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 482133f28..19ffa3f4c 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