Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions .vitepress/data/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,37 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
/api/v1/workspace/{workspace_id}:
get:
tags:
- api
operationId: get_workspace
parameters:
- name: workspace_id
in: path
description: Workspace ID
required: true
schema:
type: string
responses:
'200':
description: Workspace details
content:
application/json:
schema:
$ref: '#/components/schemas/Workspace'
'401':
description: Unauthorized
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
'500':
description: Internal server error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
components:
schemas:
Email:
Expand Down Expand Up @@ -422,3 +453,16 @@ components:
type: string
updated_at:
$ref: '#/components/schemas/Timestamp'
Workspace:
type: object
required:
- object
- id
- name
properties:
id:
$ref: '#/components/schemas/ID'
name:
type: string
object:
type: string