MM-58776 - Change Ancillary Permissions API to POST (#27504)
* make /ancillary a post * remove get from client, fix tests * Update permissions.yaml
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
7c2a461de8
Коммит
5d7027a172
@@ -30,3 +30,32 @@
|
||||
type: string
|
||||
"400":
|
||||
$ref: '#/components/responses/BadRequest'
|
||||
post:
|
||||
tags:
|
||||
- permissions
|
||||
summary: Return all system console subsection ancillary permissions
|
||||
description: >
|
||||
Returns all the ancillary permissions for the corresponding system console
|
||||
subsection permissions appended to the requested permission subsections.
|
||||
__Minimum server version__: 9.10
|
||||
operationId: GetAncillaryPermissionsPost
|
||||
requestBody:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
description: List of subsection permissions
|
||||
required: true
|
||||
responses:
|
||||
"200":
|
||||
description: Successfully returned all ancillary and requested permissions
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
"400":
|
||||
$ref: '#/components/responses/BadRequest'
|
||||
|
||||
Ссылка в новой задаче
Block a user