Skip to content

Commit

Permalink
commit 9702292
Browse files Browse the repository at this point in the history
Merge: 917ae0b 7d34f0a
Author: Ralf Haferkamp <rhaferkamp@owncloud.com>
Date:   Wed Feb 23 10:49:55 2022 +0100

    Merge pull request #3227 from rhafer/graph-user-doc

    [docs-only] Fix typos in graph user and groups docs
  • Loading branch information
rhafer committed Feb 23, 2022
1 parent c92dadf commit 4dbdfbe
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 15 deletions.
12 changes: 6 additions & 6 deletions extensions/graph/groups.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,12 +142,12 @@ Example:
curl -k --request DELETE 'https://localhost:9200/graph/v1.0/groups/7a20f238-8a22-4458-902d-47674c317e5f' -u user:password
```

When successful the API returns no Response Body and the HTTP status code 204 (No Content)
When successful the API returns no response body and the HTTP status code 204 (No Content)

#### `PATCH /groups/{id}`

Updating attributes of a single group is supposed to be done with a patch request. This is however currently not fully
implemented for our write-enabled backends. The PATCH request can however to used to add multiple members to a group at once.
implemented for our write-enabled backends. The PATCH request can however be used to add multiple members to a group at once.
See below.

### Adding a single member to a group
Expand All @@ -164,7 +164,7 @@ curl -k --header "Content-Type: application/json" \
```

When successful the API returns no Response Body and the HTTP status code 204 (No Content)
When successful the API returns no response body and the HTTP status code 204 (No Content)

### Adding multiple members in a single request

Expand All @@ -182,11 +182,11 @@ Example:
}
```

When successful the API returns no Response Body and the HTTP status code 204 (No Content)
When successful the API returns no response body and the HTTP status code 204 (No Content)

### Removing a member

#### `DELETE /groups/{groupid}/members/{id}/$ret`
#### `DELETE /groups/{groupid}/members/{id}/$ref`

Example

Expand All @@ -196,4 +196,4 @@ curl -k --request DELETE \
-u user:password
```

When successful the API returns no Response Body and the HTTP status code 204 (No Content)
When successful the API returns no response body and the HTTP status code 204 (No Content)
2 changes: 1 addition & 1 deletion extensions/graph/users.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ Example:
curl -k --request DELETE 'https://localhost:9200/graph/v1.0/users/c067b139-c91c-4e47-8be6-669156a0587b' -u user:password
```

When successful the API returns no Response Body and the HTTP status code 204 (No Content)
When successful the API returns no response body and the HTTP status code 204 (No Content)


#### `PATCH /users/{id}`
Expand Down
2 changes: 1 addition & 1 deletion grpc_apis/ocis/messages/accounts/v0/grpc.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "ocis.messages.accounts.v0"
url: /grpc_apis/ocis_messages_accounts_v0
date: 2022-02-23T08:24:36Z
date: 2022-02-23T09:51:11Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
Expand Down
2 changes: 1 addition & 1 deletion grpc_apis/ocis/messages/settings/v0/grpc.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "ocis.messages.settings.v0"
url: /grpc_apis/ocis_messages_settings_v0
date: 2022-02-23T08:24:37Z
date: 2022-02-23T09:51:11Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
Expand Down
2 changes: 1 addition & 1 deletion grpc_apis/ocis/messages/store/v0/grpc.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "ocis.messages.store.v0"
url: /grpc_apis/ocis_messages_store_v0
date: 2022-02-23T08:24:37Z
date: 2022-02-23T09:51:11Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
Expand Down
2 changes: 1 addition & 1 deletion grpc_apis/ocis/messages/thumbnails/v0/grpc.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "ocis.messages.thumbnails.v0"
url: /grpc_apis/ocis_messages_thumbnails_v0
date: 2022-02-23T08:24:37Z
date: 2022-02-23T09:51:11Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
Expand Down
2 changes: 1 addition & 1 deletion grpc_apis/ocis/services/accounts/v0/grpc.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "ocis.services.accounts.v0"
url: /grpc_apis/ocis_services_accounts_v0
date: 2022-02-23T08:24:37Z
date: 2022-02-23T09:51:11Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
Expand Down
2 changes: 1 addition & 1 deletion grpc_apis/ocis/services/settings/v0/grpc.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "ocis.services.settings.v0"
url: /grpc_apis/ocis_services_settings_v0
date: 2022-02-23T08:24:37Z
date: 2022-02-23T09:51:11Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
Expand Down
2 changes: 1 addition & 1 deletion grpc_apis/ocis/services/store/v0/grpc.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "ocis.services.store.v0"
url: /grpc_apis/ocis_services_store_v0
date: 2022-02-23T08:24:37Z
date: 2022-02-23T09:51:11Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
Expand Down
2 changes: 1 addition & 1 deletion grpc_apis/ocis/services/thumbnails/v0/grpc.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "ocis.services.thumbnails.v0"
url: /grpc_apis/ocis_services_thumbnails_v0
date: 2022-02-23T08:24:36Z
date: 2022-02-23T09:51:11Z
weight: 50
geekdocRepo: https://github.com/owncloud/ocis
---
Expand Down

0 comments on commit 4dbdfbe

Please sign in to comment.