-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add comments and add missing doc file
- Loading branch information
1 parent
eb9953f
commit dc66efe
Showing
2 changed files
with
95 additions
and
38 deletions.
There are no files selected for viewing
28 changes: 28 additions & 0 deletions
28
docs/api/paths/diagnostic/db-_user-name-_all_channels.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Copyright 2022-Present Couchbase, Inc. | ||
# | ||
# Use of this software is governed by the Business Source License included | ||
# in the file licenses/BSL-Couchbase.txt. As of the Change Date specified | ||
# in that file, in accordance with the Business Source License, use of this | ||
# software will be governed by the Apache License, Version 2.0, included in | ||
# the file licenses/APL2.txt. | ||
parameters: | ||
- $ref: ../../components/parameters.yaml#/db | ||
- $ref: ../../components/parameters.yaml#/user-name | ||
get: | ||
summary: Get all channels for a user | ||
description: |- | ||
Retrieve all channels that a user has access to. | ||
Required Sync Gateway RBAC roles: | ||
* Sync Gateway Architect | ||
* Sync Gateway Application | ||
* Sync Gateway Application Read Only | ||
responses: | ||
'200': | ||
$ref: ../../components/responses.yaml#/All_user_channels_response | ||
'404': | ||
$ref: ../../components/responses.yaml#/Not-found | ||
tags: | ||
- Database Security | ||
operationId: get_db-_user-name_-all_channels |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters