Introduction
Regions and URLs
Each API is located in a specific region. A network of edge locations enables fast access to any API from any location using region specific hostnames.
The APIs are accessed through the following URL-format:
URL format:https://<region-prefix>.restapi.com/<api-path>
Regions and prefixes:
Region | Prefix |
---|---|
EU (Amsterdam) | eu |
US (Virginia) | us |
Norway | no |
Collection names and item identifiers are appended to the API-URL.
An example of a valid collection-URL:https://eu.restapi.com/sample-api/sample-collection
An example of a valid item URL:https://eu.restapi.com/sample-api/sample-collection/f38fa478-842e-4599-8cbc-918a34b3b789
Virtual paths
For hosted web apps you can use a virtual path to access the endpoints of an API.
Virtual API paths are accessed using the following format:https://<app-host-name>/<region-prefix>-api
Examples of valid URLs using virtual paths in hosted apps:
https://sample-app.restapi.cloud/eu-api/sample-api/sample-collection
https://www.sample-app-name.com/no-api/sample-api/sample-collection