mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-06-18 22:09:38 +08:00
chore(openapi): sync shared API contract from cloud@447a63e
This commit is contained in:
parent
7277d99d3a
commit
f3d3e73f97
14
openapi.yaml
14
openapi.yaml
@ -896,11 +896,6 @@ components:
|
|||||||
additionalProperties: true
|
additionalProperties: true
|
||||||
description: The workflow graph to execute
|
description: The workflow graph to execute
|
||||||
type: object
|
type: object
|
||||||
prompt_id:
|
|
||||||
description: Optional client-supplied job id. Must be a UUID in canonical lowercase hyphenated form; it is echoed back in the response. Omitted or null means the server generates one.
|
|
||||||
format: uuid
|
|
||||||
nullable: true
|
|
||||||
type: string
|
|
||||||
workflow_id:
|
workflow_id:
|
||||||
description: UUID identifying the cloud workflow entity to associate with this job
|
description: UUID identifying the cloud workflow entity to associate with this job
|
||||||
type: string
|
type: string
|
||||||
@ -1800,7 +1795,9 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/ErrorResponse'
|
$ref: '#/components/schemas/ErrorResponse'
|
||||||
description: Invalid request (no fields provided)
|
description: |
|
||||||
|
Invalid request — no fields provided, or `preview_id` is the zero UUID
|
||||||
|
(`INVALID_PREVIEW_ID`).
|
||||||
"401":
|
"401":
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
@ -1812,7 +1809,10 @@ paths:
|
|||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/ErrorResponse'
|
$ref: '#/components/schemas/ErrorResponse'
|
||||||
description: Asset not found
|
description: |
|
||||||
|
Asset not found — returned both when the asset being updated does
|
||||||
|
not exist and when `preview_id` does not reference an asset
|
||||||
|
accessible to the caller.
|
||||||
"500":
|
"500":
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user