Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ISSUE 754] Define listing of Acls API #1511

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 55 additions & 0 deletions kafka-ui-contract/src/main/resources/swagger/kafka-ui-api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1578,6 +1578,44 @@ paths:
404:
description: Not found

/api/clusters/{clusterName}/acls/{resourceType}:
get:
tags:
- Acls
summary: getAcls
operationId: getAcls
parameters:
- name: clusterName
in: path
required: true
schema:
type: string
- name: resourceType
in: path
required: true
schema:
type: string
- name: patternType
in: query
required: false
schema:
type: string
enum: [ANY, MATCH, LITERAL, PREFIXED]
- name: name
in: query
required: false
schema:
type: string
responses:
200:
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/AclResponse'
404:
description: Not found

components:
schemas:
ErrorResponse:
Expand Down Expand Up @@ -2720,6 +2758,23 @@ components:
- totalReplicationFactor
- topicName

AclResponse:
type: object
properties:
principal:
type: string
host:
type: string
operation:
type: string
enum: [UNKNOWN, ANY, ALL, READ, WRITE, CREATE, DELETE, ALTER, DESCRIBE, CLUSTER_ACTION, DESCRIBE_CONFIGS, ALTER_CONFIGS, IDEMPOTENT_WRITE]
permissionType:
type: string
enum: [UNKNOWN, ANY, DENY, ALLOW]
required:
- totalReplicationFactor
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's that?

- topicName

BrokerConfigItem:
type: object
properties:
Expand Down