Create a deployment
Creates a new deployment for the specified project using its current spicepod configuration. A project connected to a GitHub repository deploys spicepod.yaml from its root directory, read when the deployment is created. It reads the head of the production branch, or the branch or commit_sha the request names. The runtime image is selected based on the project's update channel.
Request
- Base URLhttps://api.spice.ai
- AuthHTTP bearer
Path parameters
The ID of the project
Headers
The organization to act on, by handle. Omit it to act on the organization the credential is bound to; sending it blank is a 400, not the same as omitting it. A user credential may name any organization its owner belongs to; a machine credential is pinned to its own. A portal session token is bound to none, so it must send this header on every route but GET /v1/orgs (400 org_assertion_required otherwise).
Request body
Response
Deployment created and queued for processing
Changes
No recorded changes to this operation across all 1 revision of this API.