Skip to content

Commit 88176d6

Browse files
committed
Update cloud public API
1 parent 8c748cc commit 88176d6

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

.vitepress/data/openapi.yaml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,37 @@ paths:
194194
application/json:
195195
schema:
196196
$ref: '#/components/schemas/ErrorResponse'
197+
/api/v1/workspace/{workspace_id}:
198+
get:
199+
tags:
200+
- api
201+
operationId: get_workspace
202+
parameters:
203+
- name: workspace_id
204+
in: path
205+
description: Workspace ID
206+
required: true
207+
schema:
208+
type: string
209+
responses:
210+
'200':
211+
description: Workspace details
212+
content:
213+
application/json:
214+
schema:
215+
$ref: '#/components/schemas/Workspace'
216+
'401':
217+
description: Unauthorized
218+
content:
219+
application/json:
220+
schema:
221+
$ref: '#/components/schemas/ErrorResponse'
222+
'500':
223+
description: Internal server error
224+
content:
225+
application/json:
226+
schema:
227+
$ref: '#/components/schemas/ErrorResponse'
197228
components:
198229
schemas:
199230
Email:
@@ -422,3 +453,16 @@ components:
422453
type: string
423454
updated_at:
424455
$ref: '#/components/schemas/Timestamp'
456+
Workspace:
457+
type: object
458+
required:
459+
- object
460+
- id
461+
- name
462+
properties:
463+
id:
464+
$ref: '#/components/schemas/ID'
465+
name:
466+
type: string
467+
object:
468+
type: string

0 commit comments

Comments
 (0)