diff --git a/api-reference/user-app/abdm-connect/registration.yml b/api-reference/user-app/abdm-connect/registration.yml index ce6fee74..86188c9e 100644 --- a/api-reference/user-app/abdm-connect/registration.yml +++ b/api-reference/user-app/abdm-connect/registration.yml @@ -3481,23 +3481,9 @@ paths: get: description: Search KYCed ABHA profiles using mobile number parameters: - - description: Eka User ID (OID) - in: header - name: X-Pt-Id - schema: - type: string - - description: Partner User ID - in: header - name: X-Partner-Pt-Id - schema: - type: string - - description: Partner HIP ID - in: header - name: X-Hip-Id - schema: - type: string - in: query name: mobile + required: true schema: type: string responses: @@ -3517,7 +3503,7 @@ paths: content: application/json: schema: - $ref: '#/components/schemas/ProfileDiscoverAbhaResponse' + $ref: '#/components/schemas/ProfileSearchKycAbhaResponse' description: OK security: - authApiKey: [] @@ -4759,25 +4745,6 @@ components: format: date-time type: string type: object - DiscoverAbha: - properties: - ABHANumber: - examples: - - xx-xxxx-xxxx-1525 - type: string - gender: - examples: - - M - type: string - index: - examples: - - 1 - type: integer - name: - examples: - - John Doe - type: string - type: object DiscoverCareContext: properties: display: @@ -6184,15 +6151,19 @@ components: - Jharkhand type: string type: object - ProfileDiscoverAbhaResponse: + ProfileAbha: properties: - abha: - items: - $ref: '#/components/schemas/DiscoverAbha' - type: - - array - - "null" - txnId: + abha_number: + examples: + - xx-xxxx-xxxx-1525 + type: string + gender: + examples: + - M + type: string + name: + examples: + - John Doe type: string type: object ProfileResponse: @@ -6274,6 +6245,15 @@ components: - "null" - integer type: object + ProfileSearchKycAbhaResponse: + properties: + profiles: + items: + $ref: '#/components/schemas/ProfileAbha' + type: + - array + - "null" + type: object ProviderHipDetail: properties: hip_id: