Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workspaces API #518

Merged
merged 5 commits into from
Oct 21, 2024
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Add title and description to workspaces, removed updating the quota
m-mohr committed Dec 1, 2023
commit 9eb872ed65002900e6dd950e7977e8d58812db9d
25 changes: 23 additions & 2 deletions extensions/workspaces/openapi.yaml
Original file line number Diff line number Diff line change
@@ -100,6 +100,10 @@ paths:
required:
- intent
properties:
title:
$ref: '#/components/schemas/workspace_title'
description:
$ref: '#/components/schemas/workspace_description'
intent:
type: string
quota:
@@ -205,8 +209,10 @@ paths:
schema:
type: object
properties:
quota:
$ref: '../../openapi.yaml#/components/schemas/max_storage_quota'
title:
$ref: '#/components/schemas/workspace_title'
description:
$ref: '#/components/schemas/workspace_description'
required: true
responses:
'204':
@@ -337,6 +343,17 @@ components:
type: string
pattern: '^[\w\-\.~]+$'
example: my-collection
workspace_title:
type: string
description: A short title for the workspace.
workspace_description:
type: string
format: commonmark
description: |-
A description that describes the workspace.

[CommonMark 0.29](http://commonmark.org/) syntax MAY be used for rich
text representation.
workspace:
title: Workspace
required:
@@ -346,6 +363,10 @@ components:
properties:
id:
$ref: '#/components/schemas/workspace_id'
title:
$ref: '#/components/schemas/workspace_title'
description:
$ref: '#/components/schemas/workspace_description'
status:
type: string
description: The status of the workspace.