Files
api-specs/idn/beta/paths/managed-client-status.yaml
GitHub Action Bot 9269e86172 Automated commit 'added new oauth2 flow and description (#1386)
* added new oauth2 flow and description

* renamed authentication to make more sense' by github action: 5967546682
2023-08-24 18:29:03 +00:00

84 lines
2.2 KiB
YAML

get:
tags:
- Managed Clients
summary: Specified Managed Client Status.
description: Retrieve Managed Client Status by ID.
operationId: getManagedClientStatus
parameters:
- name: id
in: path
description: ID of the Managed Client Status to get
required: true
schema:
type: string
example: aClientId
- name: type
in: query
description: Type of the Managed Client Status to get
required: true
schema:
$ref: '../schemas/ManagedClientType.yaml'
example: VA
responses:
"200":
description: Responds with Managed Client Status having the given ID and Type.
content:
application/json:
schema:
$ref: '../schemas/ManagedClientStatus.yaml'
'400':
$ref: '../../v3/responses/400.yaml'
'401':
$ref: '../../v3/responses/401.yaml'
'403':
$ref: '../../v3/responses/403.yaml'
'404':
$ref: '../../v3/responses/404.yaml'
'429':
$ref: '../../v3/responses/429.yaml'
'500':
$ref: '../../v3/responses/500.yaml'
security:
- UserContextAuth: [idn:managed-client-status:read]
post:
tags:
- Managed Clients
summary: Handle status request from client
description: Update a status detail passed in from the client
operationId: updateManagedClientStatus
parameters:
- name: id
in: path
description: ID of the Managed Client Status to update
required: true
schema:
type: string
example: aClientId
requestBody:
required: true
content:
application/json:
schema:
$ref: '../schemas/ManagedClientStatus.yaml'
responses:
"200":
description: Responds with the updated Managed Client Status.
content:
application/json:
schema:
$ref: '../schemas/ManagedClientStatusAggResponse.yaml'
'400':
$ref: '../../v3/responses/400.yaml'
'401':
$ref: '../../v3/responses/401.yaml'
'403':
$ref: '../../v3/responses/403.yaml'
'404':
$ref: '../../v3/responses/404.yaml'
'429':
$ref: '../../v3/responses/429.yaml'
'500':
$ref: '../../v3/responses/500.yaml'
security:
- UserContextAuth: [idn:managed-client-status:manage]