Skip to content

Conversation

kites262
Copy link
Member

Description

Add first batch of openapis:

  • list workspaces
  • get exp state
  • get experiment
  • list project exps
  • list projects

Closes: #960

Relations

Docs: SwanHubX/SwanLab-Docs#166

kites262 and others added 11 commits May 6, 2025 13:13
* feat(openapi): list workspaces

* refa(openapi): login logic

* docs(openapi): revise

* fix(test): no cloud
Add `get_exp_state` for OpenAPI (#963)

---------

Co-authored-by: kites262 <kites262@qq.com>
* feature: get experiment
* fix some
feat(openapi): get project exps
* feat(openapi): list project

* refactor(openapi): list projects with apiresponse type

* refactor(openapi): rewrite list comprehension

* fix: typo

* refa(openapi): general fetch paginated api

* fix(openapi): test & default value

---------

Co-authored-by: kites262 <kites262@qq.com>
@SAKURA-CAT SAKURA-CAT merged commit 8aa25c6 into main May 12, 2025
5 checks passed
@SAKURA-CAT SAKURA-CAT deleted the feature/openapis branch May 12, 2025 03:30
@SAKURA-CAT SAKURA-CAT added 📚 documentation Improvements or additions to documentation 💪 enhancement New feature or request labels May 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📚 documentation Improvements or additions to documentation 💪 enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[REQUEST] SwanLab OpenAPI
5 participants