Alias to the production endpoint
Version aliasing is used to switch between squid versions without a downtime and updates of the downstream clients. Each squid has a canonical production endpoint URL of the form
https://squid.subsquid.io/<squid name>/graphql
To alias a squid version to the production endpoint, use sqd prod
:
sqd prod <squid name>@<version>
Note that after promoting to the production the version-specific endpoint URL of the form
https://squid.subsquid.io/<squid name>/v/<version>/graphql
remains to be available.
Example
Run
sqd prod my-squid@v1
The squid endpoint will be accessible at https://squid.subsquid.io/my-squid/graphql
.