Health repository URL

Hello everyone

First time writing here. I have a question regarding the registration URL at health repository and the steps beyond that. I’ve successfully registered at health repository with the given URL, my question is the following.

For any other communication with system after this step do I use URL with whom I am registered at health repository or do I use a given URL from swagger documentation.

Example to clarify what I mean above:
Call 1 - https://my-health-repository-url/v0.5/users/auth/on-fetch-modes
or
Call 2 - https://dev.ndhm.gov.in/gateway/v0.5/users/auth/on-fetch-modes

Hi @zeljko,

You can make calls to the Gateway API’s from anywhere. But the call backs from Gateway will reach to the Health repository URL using which the HRP is registered on to the Gateway. In above case it would be - https://my-health-repository-url/v0.5/users/auth/on-fetch-modes.

Thanks.

Hi @Mounica

So to confirm that I understand, If I call an endpoint from Postman or application I should use e.g. https://dev.ndhm.gov.in/gateway/v0.5/users/auth/on-fetch-modes but the response will be returned back to the https://my-health-repository-url/v0.5/users/auth/on-fetch-modes?

Thanks for answer
Zeljko

Hi @zeljko,

Yes. But https://dev.ndhm.gov.in/gateway/v0.5/users/auth/on-fetch-modes api will get called by CM. HIP should call https://dev.ndhm.gov.in/gateway/v0.5/users/auth/fetch-modes to fetch auth modes.

Please find all the api specifications that a HIP needs to implement in here.

Thanks.