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

Method postDeployUploaded

src/observableApiClient.ts:200–206  ·  view source on GitHub ↗
(deployId: string, buildManifest: BuildManifest | null)

Source from the content-addressed store, hash-verified

198 }
199
200 async postDeployUploaded(deployId: string, buildManifest: BuildManifest | null): Promise<DeployInfo> {
201 return await this._fetch<DeployInfo>(new URL(`/cli/deploy/${deployId}/uploaded`, this._apiOrigin), {
202 method: "POST",
203 headers: {"content-type": "application/json"},
204 body: JSON.stringify(buildManifest)
205 });
206 }
207
208 async postAuthRequest(options: {scopes: string[]; deviceDescription: string}): Promise<PostAuthRequestResponse> {
209 return await this._fetch<PostAuthRequestResponse>(new URL("/cli/auth/request", this._apiOrigin), {

Callers 1

markDeployUploadedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected