diff options
Diffstat (limited to 'a1-policy-management/open-api-fragments/v2-fragments/authz-api.yaml')
-rw-r--r-- | a1-policy-management/open-api-fragments/v2-fragments/authz-api.yaml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/a1-policy-management/open-api-fragments/v2-fragments/authz-api.yaml b/a1-policy-management/open-api-fragments/v2-fragments/authz-api.yaml new file mode 100644 index 00000000..ca8752cd --- /dev/null +++ b/a1-policy-management/open-api-fragments/v2-fragments/authz-api.yaml @@ -0,0 +1,24 @@ +authz: + post: + description: > + A template endpoint for callout requests to an external authorization function. + The authorization function, if enabled, decides if individual operations are permitted. + operationId: performAccessControl + summary: Callout request for access authorization (performAccessControl) + tags: + - Authorization API + requestBody: + content: + application/json: + schema: + $ref: 'schemas.yaml#/schemas/policy_authorization' + required: true + responses: + "200": + content: + application/json: + schema: + $ref: 'schemas.yaml#/schemas/authorization_result' + description: OK + "403": + $ref: 'responses.yaml#/responses/Forbidden'
\ No newline at end of file |