diff --git a/static/api-specs/idn/beta/paths/entitlements-query-by-source-id-and-attribute-and-value.yaml b/static/api-specs/idn/beta/paths/entitlements-query-by-source-id-and-attribute-and-value.yaml deleted file mode 100644 index 4082dae91..000000000 --- a/static/api-specs/idn/beta/paths/entitlements-query-by-source-id-and-attribute-and-value.yaml +++ /dev/null @@ -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' diff --git a/static/api-specs/idn/beta/schemas/gov-entitlement/EntitlementQueryRequest.yaml b/static/api-specs/idn/beta/schemas/gov-entitlement/EntitlementIdentifierDTO.yaml similarity index 100% rename from static/api-specs/idn/beta/schemas/gov-entitlement/EntitlementQueryRequest.yaml rename to static/api-specs/idn/beta/schemas/gov-entitlement/EntitlementIdentifierDTO.yaml