- description: 'The policy type schema'
- content:
- application/json:
- schema:
- "$ref": "#/components/schemas/PolicyTypeSchema"
- 404:
- "$ref": "#/components/responses/404-NotFound"
-
- '/policytypes/subscription':
- put:
- operationId: a1.put_policytypes_subscription
- description: 'Subscribe to notification when any change is made to supported policy types'
- tags:
- - Policy Types Subscription Object
- requestBody:
- content:
- application/json:
- schema:
- "$ref": "#/components/schemas/SubscriptionObject"
- responses:
- 200:
- description: 'The subscription was updated'
- 201:
- description: 'The subscription was created'
- callbacks:
- policyTypesNotification:
- '$request.body#/notificationDestination':
- post:
- description: 'Notify about any change in supported policy types'
- responses:
- 204:
- description: 'Notification received'
- get:
- operationId: a1.get_policytypes_subscription
- description: 'Get current notification destination'
- tags:
- - Policy Types Subscription Object
- responses:
- 200:
- description: 'The current notification destination'