Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/tpy/src/types/deployment.d.ts>POST.Response

🔑 A strongly typed Pylon API client.
Latest
type alias POST.Response
import { type POST } from "https://deno.land/x/tpy@v1.0.0-RC/src/types/deployment.d.ts";
const { Response } = POST;

Response schema for POST /deployments/:id.

Returns the new deployment's information. If there are errors, the errors property length will be more than 0.

Type Parameters

optional
Raw extends boolean = true
definition: GET.Deployment<Raw> & { errors: DeploymentStructures.FastAPIError; script?: Omit<DeploymentStructures.Script<Raw>, "contents">; }