URLs
This page resumes the url and path strategy for the backend
Environments
Each environment will have a subdomain where the backend will be pointed to:
production
api.concrete.xyz
staging
api.raccoonlab.net
dev
apidev.raccoonlab.net
Services
Each service will have its own subdomain within the environment domain:
Price oracle
oracle.
Borrower
borrow.
LTV Monitor
ltv.
Notification
notify.
Identity
auth.
Paths
Every service will expose public and private paths, and aditionally, host some internal endpoints for monitoring porpouses:
/v1/...
main entrypoint of the api functionality, with version control
/docs
only available on dev
/readiness
&/liveness
internal endpoint for monitoring porpouses
Example
For example to query the price of BTC on production:
GET https://oracle.api.concrete.xyz/v1/ticker/price/btc/usd
To query about the swagger documentation of Identity service in dev:
GET https://auth.apidev.raccoonlab.net/docs
Last updated