Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
quarto-dev
GitHub Repository: quarto-dev/quarto-cli
Path: blob/main/src/publish/netlify/api/services/DeployedBranchService.ts
6464 views
1
/* istanbul ignore file */
2
/* tslint:disable */
3
/* eslint-disable */
4
import type { CancelablePromise } from "../core/CancelablePromise.ts";
5
import type { BaseHttpRequest } from "../core/BaseHttpRequest.ts";
6
7
export class DeployedBranchService {
8
constructor(public readonly httpRequest: BaseHttpRequest) {}
9
10
/**
11
* @returns any OK
12
* @throws ApiError
13
*/
14
public listSiteDeployedBranches({
15
siteId,
16
}: {
17
siteId: string;
18
}): CancelablePromise<
19
Array<{
20
id?: string;
21
deploy_id?: string;
22
name?: string;
23
slug?: string;
24
url?: string;
25
ssl_url?: string;
26
}>
27
> {
28
return this.httpRequest.request({
29
method: "GET",
30
url: "/sites/{site_id}/deployed-branches",
31
path: {
32
"site_id": siteId,
33
},
34
});
35
}
36
}
37
38