Skip to content
Merged
Show file tree
Hide file tree
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
34 changes: 3 additions & 31 deletions apidocs/openapi/channels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,9 +93,9 @@ paths:
- $ref: "#/components/parameters/Status"
- $ref: "#/components/parameters/ChannelName"
- $ref: "#/components/parameters/ID"
- $ref: "#/components/parameters/Actions"
- $ref: "#/components/parameters/RoleID"
- $ref: "#/components/parameters/RoleName"
- $ref: "./schemas/roles.yaml#/components/parameters/ActionsQuery"
- $ref: "./schemas/roles.yaml#/components/parameters/RoleIDQuery"
- $ref: "./schemas/roles.yaml#/components/parameters/RoleNameQuery"
- $ref: "#/components/parameters/AccessType"
- $ref: "#/components/parameters/OnlyTotal"
- $ref: "#/components/parameters/Client"
Expand Down Expand Up @@ -888,34 +888,6 @@ components:
required: false
example: bb7edb32-2eac-4aad-aebe-ed96fe073879

Actions:
name: actions
description: Lists channels that the user has the given actions on. Multiple actions can be specified separated by comma.
in: query
schema:
type: string
required: false
example: "action1,action2"

RoleID:
name: role_id
description: List channels that the user has the given role ID on.
in: query
schema:
type: string
format: uuid
required: false
example: bb7edb32-2eac-4aad-aebe-ed96fe073879

RoleName:
name: role_name
description: List channels that the user has the given role name on.
in: query
schema:
type: string
required: false
example: admin

AccessType:
name: access_type
description: Type of access the user has on the channel.
Expand Down
34 changes: 3 additions & 31 deletions apidocs/openapi/clients.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ paths:
- $ref: "#/components/parameters/ClientName"
- $ref: "#/components/parameters/Tags"
- $ref: "#/components/parameters/ID"
- $ref: "#/components/parameters/Actions"
- $ref: "#/components/parameters/RoleID"
- $ref: "#/components/parameters/RoleName"
- $ref: "./schemas/roles.yaml#/components/parameters/ActionsQuery"
- $ref: "./schemas/roles.yaml#/components/parameters/RoleIDQuery"
- $ref: "./schemas/roles.yaml#/components/parameters/RoleNameQuery"
- $ref: "#/components/parameters/AccessType"
- $ref: "#/components/parameters/OnlyTotal"
- $ref: "#/components/parameters/Channel"
Expand Down Expand Up @@ -1282,34 +1282,6 @@ components:
required: false
example: bb7edb32-2eac-4aad-aebe-ed96fe073879

Actions:
name: actions
description: Lists clients that the user has the given actions on. Multiple actions can be specified separated by comma.
in: query
schema:
type: string
required: false
example: "action1,action2"

RoleID:
name: role_id
description: List clients that the user has the given role ID on.
in: query
schema:
type: string
format: uuid
required: false
example: bb7edb32-2eac-4aad-aebe-ed96fe073879

RoleName:
name: role_name
description: List clients that the user has the given role name on.
in: query
schema:
type: string
required: false
example: admin

AccessType:
name: access_type
description: Type of access the user has on the client.
Expand Down
31 changes: 3 additions & 28 deletions apidocs/openapi/domains.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ paths:
- $ref: "#/components/parameters/Metadata"
- $ref: "#/components/parameters/Status"
- $ref: "#/components/parameters/DomainName"
- $ref: "#/components/parameters/Actions"
- $ref: "#/components/parameters/RoleID"
- $ref: "#/components/parameters/RoleName"
- $ref: "./schemas/roles.yaml#/components/parameters/ActionsQuery"
- $ref: "./schemas/roles.yaml#/components/parameters/RoleIDQuery"
- $ref: "./schemas/roles.yaml#/components/parameters/RoleNameQuery"
- $ref: "#/components/parameters/AccessType"
- $ref: "#/components/parameters/OnlyTotal"
tags:
Expand Down Expand Up @@ -1260,31 +1260,6 @@ components:
- desc
required: false
example: desc
Actions:
name: actions
description: Lists domains that the user has the given actions on. Multiple actions can be specified separated by comma.
in: query
schema:
type: string
required: false
example: "action1,action2"
RoleID:
name: role_id
description: List domains that the user has the given role ID on.
in: query
schema:
type: string
format: uuid
required: false
example: bb7edb32-2eac-4aad-aebe-ed96fe073879
RoleName:
name: role_name
description: List domains that the user has the given role name on.
in: query
schema:
type: string
required: false
example: admin
AccessType:
name: access_type
description: Type of access the user has on the domain.
Expand Down
36 changes: 4 additions & 32 deletions apidocs/openapi/groups.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,9 @@ paths:
- $ref: "#/components/parameters/RootGroup"
- $ref: "#/components/parameters/Status"
- $ref: "#/components/parameters/ID"
- $ref: "#/components/parameters/Actions"
- $ref: "#/components/parameters/RoleID"
- $ref: "#/components/parameters/RoleName"
- $ref: "./schemas/roles.yaml#/components/parameters/ActionsQuery"
- $ref: "./schemas/roles.yaml#/components/parameters/RoleIDQuery"
- $ref: "./schemas/roles.yaml#/components/parameters/RoleNameQuery"
- $ref: "#/components/parameters/AccessType"
- $ref: "#/components/parameters/OnlyTotal"
responses:
Expand Down Expand Up @@ -1569,36 +1569,8 @@ components:
format: uuid
required: false
example: bb7edb32-2eac-4aad-aebe-ed96fe073879

Actions:
name: actions
description: Lists groups that the user has the given actions on. Multiple actions can be specified separated by comma.
in: query
schema:
type: string
required: false
example: "action1,action2"

RoleID:
name: role_id
description: List groups that the user has the given role ID on.
in: query
schema:
type: string
format: uuid
required: false
example: bb7edb32-2eac-4aad-aebe-ed96fe073879

RoleName:
name: role_name
description: List groups that the user has the given role name on.
in: query
schema:
type: string
required: false
example: admin

AccessType:
AccessType:
name: access_type
description: Type of access the user has on the group.
in: query
Expand Down
35 changes: 30 additions & 5 deletions apidocs/openapi/schemas/roles.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ components:
NewRole:
type: object
properties:
role_id:
id:
type: string
format: uuid
example: bb7edb32-2eac-4aad-aebe-ed96fe073879
description: Role unique identifier.
role_name:
name:
type: string
description: Role's name.
example: "roleName"
Expand Down Expand Up @@ -44,12 +44,12 @@ components:
Role:
type: object
properties:
role_id:
id:
type: string
format: uuid
example: bb7edb32-2eac-4aad-aebe-ed96fe073879
description: Role unique identifier.
role_name:
name:
type: string
description: Role's name.
example: "roleName"
Expand Down Expand Up @@ -82,7 +82,7 @@ components:
CreateRoleObj:
type: object
properties:
role_name:
name:
type: string
description: Role's name.
example: "roleName"
Expand Down Expand Up @@ -270,6 +270,31 @@ components:
type: string
required: true
example: "roleID"
RoleIDQuery:
name: role_id
description: Filter by role ID.
in: query
schema:
type: string
format: uuid
required: false
example: bb7edb32-2eac-4aad-aebe-ed96fe073879
RoleNameQuery:
name: role_name
description: Filter by role name.
in: query
schema:
type: string
required: false
example: admin
ActionsQuery:
name: actions
description: Filter by actions. Multiple actions can be specified separated by comma.
in: query
schema:
type: string
required: false
example: "action1,action2"

requestBodies:
CreateRoleReq:
Expand Down
Loading