MCPcopy Create free account
hub / github.com/observablehq/framework / getDeploy

Method getDeploy

src/observableApiClient.ts:157–159  ·  view source on GitHub ↗
(deployId: string)

Source from the content-addressed store, hash-verified

155 }
156
157 async getDeploy(deployId: string): Promise<GetDeployResponse> {
158 return await this._fetch<GetDeployResponse>(new URL(`/cli/deploy/${deployId}`, this._apiOrigin), {method: "GET"});
159 }
160
161 async postDeploy({projectId, message}: {projectId: string; message: string}): Promise<string> {
162 const data = await this._fetch<{id: string}>(new URL(`/cli/project/${projectId}/deploy`, this._apiOrigin), {

Callers 2

checkDeployCreatedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected