Skip to content
This repository was archived by the owner on Jun 5, 2025. It is now read-only.

Commit 84c8a6e

Browse files
Update OpenAPI to version generated from ref 3736620 (#690)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 3736620 commit 84c8a6e

File tree

1 file changed

+102
-0
lines changed

1 file changed

+102
-0
lines changed

api/openapi.json

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,108 @@
306306
}
307307
}
308308
},
309+
"/api/v1/workspaces/archive": {
310+
"get": {
311+
"tags": [
312+
"CodeGate API",
313+
"Workspaces"
314+
],
315+
"summary": "List Archived Workspaces",
316+
"description": "List all archived workspaces.",
317+
"operationId": "v1_list_archived_workspaces",
318+
"responses": {
319+
"200": {
320+
"description": "Successful Response",
321+
"content": {
322+
"application/json": {
323+
"schema": {
324+
"$ref": "#/components/schemas/ListWorkspacesResponse"
325+
}
326+
}
327+
}
328+
}
329+
}
330+
}
331+
},
332+
"/api/v1/workspaces/archive/{workspace_name}/recover": {
333+
"post": {
334+
"tags": [
335+
"CodeGate API",
336+
"Workspaces"
337+
],
338+
"summary": "Recover Workspace",
339+
"description": "Recover an archived workspace by name.",
340+
"operationId": "v1_recover_workspace",
341+
"parameters": [
342+
{
343+
"name": "workspace_name",
344+
"in": "path",
345+
"required": true,
346+
"schema": {
347+
"type": "string",
348+
"title": "Workspace Name"
349+
}
350+
}
351+
],
352+
"responses": {
353+
"204": {
354+
"description": "Successful Response"
355+
},
356+
"422": {
357+
"description": "Validation Error",
358+
"content": {
359+
"application/json": {
360+
"schema": {
361+
"$ref": "#/components/schemas/HTTPValidationError"
362+
}
363+
}
364+
}
365+
}
366+
}
367+
}
368+
},
369+
"/api/v1/workspaces/archive/{workspace_name}": {
370+
"delete": {
371+
"tags": [
372+
"CodeGate API",
373+
"Workspaces"
374+
],
375+
"summary": "Hard Delete Workspace",
376+
"description": "Hard delete an archived workspace by name.",
377+
"operationId": "v1_hard_delete_workspace",
378+
"parameters": [
379+
{
380+
"name": "workspace_name",
381+
"in": "path",
382+
"required": true,
383+
"schema": {
384+
"type": "string",
385+
"title": "Workspace Name"
386+
}
387+
}
388+
],
389+
"responses": {
390+
"200": {
391+
"description": "Successful Response",
392+
"content": {
393+
"application/json": {
394+
"schema": {}
395+
}
396+
}
397+
},
398+
"422": {
399+
"description": "Validation Error",
400+
"content": {
401+
"application/json": {
402+
"schema": {
403+
"$ref": "#/components/schemas/HTTPValidationError"
404+
}
405+
}
406+
}
407+
}
408+
}
409+
}
410+
},
309411
"/api/v1/workspaces/{workspace_name}/alerts": {
310412
"get": {
311413
"tags": [

0 commit comments

Comments
 (0)