Skip to content

Support Regional Domains #20

Description

@nadrooJ

From your documentation:

The domain used for Wonde API requests varies depending on the region that a school is located. This is to ensure data is stored in the correct region to meet data protection requirements.

The domain required for a school is available through the region object returned by a call to the https://docs.wonde.com/docs/api/sync#schools endpoint. This domain can then be used to build the API call by inserting the domain into the following base URL [https://{domain}/v1.0/schools/](https://docs.wonde.com/docs/api/sync#). Using the wrong domain for a school will return no data.

The domain required for schools in the UK and the rest of the world is "api.wonde.com"
The domain required for schools in Australia and New Zealand is "api-ap-southeast-2.wonde.com"

This should be handled natively within this client library.

we at @cpoms are happy to undertake the work required to make this happen, just creating this issue for reference

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions