mirror of
https://github.com/mattermost/mattermost.git
synced 2026-02-03 20:40:00 -05:00
* make /ancillary a post * remove get from client, fix tests * remove GET for retrieving ancillary permissions * Update permissions.yaml * Update permissions.yaml --------- Co-authored-by: Mattermost Build <build@mattermost.com>
30 lines
996 B
YAML
30 lines
996 B
YAML
/api/v4/permissions/ancillary:
|
|
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'
|