feat: reveal saved server deployment inputs
This commit is contained in:
@@ -89,6 +89,7 @@ import type {
|
||||
ServerLifecycleCreateRequest,
|
||||
ServerLifecycleResponse,
|
||||
ServerDeploymentRequest,
|
||||
ServerDeploymentRevealResponse,
|
||||
ServerDeploymentResponse,
|
||||
ServerConfigWriteApprovalRequest,
|
||||
ServerConfigWriteDispatchResponse,
|
||||
@@ -188,7 +189,11 @@ export class PlatformApiClient {
|
||||
}
|
||||
|
||||
async getServerDeployment(id: string): Promise<ServerDeploymentResponse> {
|
||||
return this.request<ServerDeploymentResponse>(`/server-instances/${encodeURIComponent(id)}/deployment`);
|
||||
return this.request<ServerDeploymentResponse>(`/server-instances/${encodeURIComponent(id)}/deployment`);
|
||||
}
|
||||
|
||||
async revealServerDeployment(id: string): Promise<ServerDeploymentRevealResponse> {
|
||||
return this.request<ServerDeploymentRevealResponse>(`/server-instances/${encodeURIComponent(id)}/deployment/reveal`);
|
||||
}
|
||||
|
||||
async updateServerDeployment(id: string, request: ServerDeploymentRequest): Promise<ServerDeploymentResponse> {
|
||||
|
||||
Reference in New Issue
Block a user