Environments
The same docs site is deployed for test, staging, and production. Examples use
the https://staging-pie.streamline.enterprises placeholder at build time and rewrite it during deployment
so each environment links to itself.
API hosts
Section titled “API hosts”| Environment | API base URL |
|---|---|
| Production | https://staging-pie.streamline.enterprises |
| Staging | https://staging-pie.streamline.enterprises |
| Test | https://test-pie.streamline.enterprises |
| Local | http://localhost:8888 |
Docs hosts
Section titled “Docs hosts”| Environment | Docs URL |
|---|---|
| Production | https://staging-pie.streamline.enterprises/docs/v2/ |
| Staging | https://staging-pie.streamline.enterprises/docs/v2/ |
| Test | https://test-pie.streamline.enterprises/docs/v2/ |
| Local preview | http://localhost:4321/docs/v2/ |
Use tokens, client ids, domains, models, and services from the same environment as the API host you call. Identifiers are not guaranteed to exist across environments.