mirror of
https://github.com/langgenius/dify.git
synced 2026-09-24 23:22:26 +08:00
refactor(api): migrate snippet workspace endpoints to BaseModel (#37956)
Co-authored-by: Asuka Minato <i@asukaminato.eu.org>
This commit is contained in:
@@ -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 |
|
||||
|
||||
|
||||
Reference in New Issue
Block a user