Skip to main content

Config Type

The Application Config type is a required input to the top-level Provider, and can be accessed from within an application with the useConfig hook.

PropertyTypeDescription
baseUrlstringThe base URL of the DHIS2 Core server, i.e. https://play.dhis2.org/dev
apiVersionnumberThe default API version to use. API request resource paths will be expanded to {baseUrl}/api/{version}/{path}