Api bucket policy (#674)

* Adding API for Users with Access to Bucket

* changing error logging

* Delete .yarn-integrity
This commit is contained in:
adfost
2021-04-02 16:13:29 -07:00
committed by GitHub
parent 94747acab2
commit 4f29f8457f
14 changed files with 1280 additions and 0 deletions

View File

@@ -1308,6 +1308,38 @@ paths:
tags:
- AdminAPI
/bucket-users/{bucket}:
get:
summary: List Users With Access to a Given Bucket
operationId: ListUsersWithAccessToBucket
parameters:
- name: bucket
in: path
required: true
type: string
- name: offset
in: query
required: false
type: integer
format: int32
- name: limit
in: query
required: false
type: integer
format: int32
responses:
200:
description: A successful response.
schema:
type: array
items:
type: string
default:
description: Generic error response.
schema:
$ref: "#/definitions/error"
tags:
- AdminAPI
/policy:
get: