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

Method getProject

src/observableApiClient.ts:119–128  ·  view source on GitHub ↗
({
    workspaceLogin,
    projectSlug
  }: {
    workspaceLogin: string;
    projectSlug: string;
  })

Source from the content-addressed store, hash-verified

117 }
118
119 async getProject({
120 workspaceLogin,
121 projectSlug
122 }: {
123 workspaceLogin: string;
124 projectSlug: string;
125 }): Promise<GetProjectResponse> {
126 const url = new URL(`/cli/project/@${workspaceLogin}/${projectSlug}`, this._apiOrigin);
127 return await this._fetch<GetProjectResponse>(url, {method: "GET"});
128 }
129
130 async postProject({
131 title,

Callers 1

getDeployTargetMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected