Automated commit by github action: 3284044307

This commit is contained in:
GitHub Action Bot
2022-10-19 18:28:03 +00:00
parent 8043256e68
commit fbe0afd318
2 changed files with 0 additions and 43 deletions

View File

@@ -1,43 +0,0 @@
post:
operationId: getEntitlementBySourceIdAndAttributeValues
tags:
- Entitlements
summary: Queries an entitlement
description: >-
This internal endpoint queries for an entitlement by its source id, attribute and value.
It is expected to get no more than one entitlement.
requestBody:
required: true
content:
application/json:
schema:
type: array
items:
$ref: '../schemas/gov-entitlement/EntitlementQueryRequest.yaml'
responses:
'200':
description: List of entitlements
content:
application/json:
schema:
type: array
items:
$ref: '../schemas/gov-entitlement/EntitlementDTO.yaml'
'400':
description: |
* Source id is missing
* Attribute name is missing
* Attribute value is missing
* Assignments + removals total number > 50 or equal to 0
content:
application/json:
schema:
$ref: '../../v3/schemas/ErrorResponseDto.yaml'
'401':
$ref: '../../v3/responses/401.yaml'
'403':
$ref: '../../v3/responses/403.yaml'
'429':
$ref: '../../v3/responses/429.yaml'
'500':
$ref: '../../v3/responses/500.yaml'