mirror of
https://github.com/mattermost/mattermost.git
synced 2026-08-14 06:55:12 -05:00
33 lines
1.2 KiB
YAML
33 lines
1.2 KiB
YAML
/api/v4/permissions/ancillary:
|
|||
|
|
get:
|
||
|
|
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__: 5.35
|
||
|
|
operationId: GetAncillaryPermissions
|
||
|
|
parameters:
|
||
|
|
- name: subsection_permissions
|
||
|
|
in: query
|
||
|
|
description: >
|
||
|
|
The subsection permissions to return the ancillary permissions for.
|
||
|
|
These values are comma seperated.
|
||
|
|
Ex. subsection_permissions=sysconsole_read_reporting_site_statistics,sysconsole_write_reporting_site_statistics,sysconsole_write_user_management_channels
|
||
|
|
schema:
|
||
|
|
type: string
|
||
|
|
responses:
|
||
|
|
"200":
|
||
|
|
description: Successfully returned all ancillary and requested permissions
|
||
|
|
content:
|
||
|
|
application/json:
|
||
|
|
schema:
|
||
|
|
type: array
|
||
|
|
items:
|
||
|
|
type: string
|
||
|
|
"400":
|
||
|
|
$ref: '#/components/responses/BadRequest'
|