mirror of
https://github.com/openziti/ziti.git
synced 2026-10-15 00:22:01 +00:00
f28061de4f
- update some CA fields that were not marked required/nullable - some list endpoints were missing 400 response definitions - foundation dep update
90 lines
2.9 KiB
YAML
90 lines
2.9 KiB
YAML
---
|
|
paths:
|
|
edge-router-role-attributes:
|
|
get:
|
|
summary: List role attributes in use by edge routers
|
|
description: |
|
|
Retrieves a list of role attributes in use by edge routers; supports filtering, sorting, and pagination. Requires admin access.
|
|
security:
|
|
- ztSession: [ ]
|
|
tags:
|
|
- Role Attributes
|
|
operationId: listEdgeRouterRoleAttributes
|
|
parameters:
|
|
- $ref: '../shared/parameters.yml#/limit'
|
|
- $ref: '../shared/parameters.yml#/offset'
|
|
- $ref: '../shared/parameters.yml#/filter'
|
|
responses:
|
|
'200':
|
|
$ref: '#/responses/listRoleAttributes'
|
|
'401':
|
|
$ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse'
|
|
'400':
|
|
$ref: '../shared/standard-responses.yml#/responses/badRequestResponse'
|
|
|
|
identity-role-attributes:
|
|
get:
|
|
summary: List role attributes in use by identities
|
|
description: |
|
|
Retrieves a list of role attributes in use by identities; supports filtering, sorting, and pagination. Requires admin access.
|
|
security:
|
|
- ztSession: [ ]
|
|
tags:
|
|
- Role Attributes
|
|
operationId: listIdentityRoleAttributes
|
|
parameters:
|
|
- $ref: '../shared/parameters.yml#/limit'
|
|
- $ref: '../shared/parameters.yml#/offset'
|
|
- $ref: '../shared/parameters.yml#/filter'
|
|
responses:
|
|
'200':
|
|
$ref: '#/responses/listRoleAttributes'
|
|
'401':
|
|
$ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse'
|
|
'400':
|
|
$ref: '../shared/standard-responses.yml#/responses/badRequestResponse'
|
|
|
|
service-role-attributes:
|
|
get:
|
|
summary: List role attributes in use by services
|
|
description: |
|
|
Retrieves a list of role attributes in use by services; supports filtering, sorting, and pagination. Requires admin access.
|
|
security:
|
|
- ztSession: [ ]
|
|
tags:
|
|
- Role Attributes
|
|
operationId: listServiceRoleAttributes
|
|
parameters:
|
|
- $ref: '../shared/parameters.yml#/limit'
|
|
- $ref: '../shared/parameters.yml#/offset'
|
|
- $ref: '../shared/parameters.yml#/filter'
|
|
responses:
|
|
'200':
|
|
$ref: '#/responses/listRoleAttributes'
|
|
'401':
|
|
$ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse'
|
|
'400':
|
|
$ref: '../shared/standard-responses.yml#/responses/badRequestResponse'
|
|
|
|
responses:
|
|
listRoleAttributes:
|
|
description: A list of role attributes
|
|
schema:
|
|
$ref: '#/definitions/listRoleAttributesEnvelope'
|
|
|
|
definitions:
|
|
listRoleAttributesEnvelope:
|
|
type: object
|
|
required:
|
|
- meta
|
|
- data
|
|
properties:
|
|
meta:
|
|
$ref: '../shared/standard-responses.yml#/definitions/meta'
|
|
data:
|
|
$ref: '#/definitions/roleAttributesList'
|
|
roleAttributesList:
|
|
description: An array of role attributes
|
|
type: array
|
|
items:
|
|
type: string |