Get a project's deployment domain
Retrieve the domain the project's production deployments are served on. Use it to find the address a project's production deployments are served on.
Retrieve the domain the project's production deployments are served on. Use it to find the address a project's production deployments are served on.
Authenticate as a project with a project token.
Send it as a bearer token in the Authorization header:
Authorization: Bearer <project-token>You can find your project token in your Snapvisor project settings. Project tokens are used by CI and the SDK to create builds and deployments.
In: header
Path Parameters
1 <= length1 <= lengthResponse Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/projects/string/string/domain"{ "domain": "string"}List a project's deployments GET
List a project's deployments, most recent first. Use `environment` to keep only the production ones — the deployments that answer "what is live right now?". Use it to find what is deployed for a project, or the address of a deployment.
Set a project's deployment domain PUT
Set the domain the project's production deployments are served on. Requires administrator access to the project. Only domains under the Snapvisor deployments domain are accepted, and reserved slugs are refused. Use it when a project administrator asks to change that address.