refactor(api): migrate snippet workspace endpoints to BaseModel (#37956)

Co-authored-by: Asuka Minato <i@asukaminato.eu.org>
This commit is contained in:
chariri
2026-07-09 04:21:27 +00:00
committed by GitHub
co-authored by Asuka Minato
parent 3cd8d850fa
commit 9bb3b1fa98
10 changed files with 28 additions and 99 deletions
+4 -10
View File
@@ -20493,6 +20493,8 @@ Payload for publishing snippet workflow.
| Name | Type | Description | Required |
| ---- | ---- | ----------- | -------- |
| knowledge_base_setting | object | | No |
| marked_comment | string | | No |
| marked_name | string | | No |
#### PublishedWorkflowRunPayload
@@ -21270,14 +21272,6 @@ Validated metadata extracted from a Skill package.
| inferable | boolean | | Yes |
| reason | string | | No |
#### SnippetAccountResponse
| Name | Type | Description | Required |
| ---- | ---- | ----------- | -------- |
| email | string | | Yes |
| id | string | | Yes |
| name | string | | Yes |
#### SnippetDependencyCheckResponse
| Name | Type | Description | Required |
@@ -21407,7 +21401,7 @@ Payload for running a loop node in snippet draft workflow.
| Name | Type | Description | Required |
| ---- | ---- | ----------- | -------- |
| created_at | integer | | Yes |
| created_by | [SnippetAccountResponse](#snippetaccountresponse) | | Yes |
| created_by | [SimpleAccountResponse](#simpleaccountresponse) | | Yes |
| description | string | | Yes |
| graph | object | | Yes |
| icon_info | object | | Yes |
@@ -21418,7 +21412,7 @@ Payload for running a loop node in snippet draft workflow.
| tags | [ [SnippetTagResponse](#snippettagresponse) ] | | Yes |
| type | [SnippetType](#snippettype) | | Yes |
| updated_at | integer | | Yes |
| updated_by | [SnippetAccountResponse](#snippetaccountresponse) | | Yes |
| updated_by | [SimpleAccountResponse](#simpleaccountresponse) | | Yes |
| use_count | integer | | Yes |
| version | integer | | Yes |