chore(openapi): sync shared API contract from cloud@4acc59a (#14947)
This commit is contained in:
parent
8edea4a65d
commit
c67f95607f
51
openapi.yaml
51
openapi.yaml
|
|
@ -530,6 +530,10 @@ components:
|
||||||
description: Job creation timestamp (Unix timestamp in milliseconds)
|
description: Job creation timestamp (Unix timestamp in milliseconds)
|
||||||
format: int64
|
format: int64
|
||||||
type: integer
|
type: integer
|
||||||
|
execution_end_time:
|
||||||
|
description: Workflow execution completion timestamp (Unix milliseconds, only present for terminal states)
|
||||||
|
format: int64
|
||||||
|
type: integer
|
||||||
execution_error:
|
execution_error:
|
||||||
allOf:
|
allOf:
|
||||||
- $ref: '#/components/schemas/ExecutionError'
|
- $ref: '#/components/schemas/ExecutionError'
|
||||||
|
|
@ -538,6 +542,10 @@ components:
|
||||||
additionalProperties: true
|
additionalProperties: true
|
||||||
description: Node-level execution metadata (only for terminal states)
|
description: Node-level execution metadata (only for terminal states)
|
||||||
type: object
|
type: object
|
||||||
|
execution_start_time:
|
||||||
|
description: Workflow execution start timestamp (Unix milliseconds, only present once execution has started)
|
||||||
|
format: int64
|
||||||
|
type: integer
|
||||||
execution_status:
|
execution_status:
|
||||||
additionalProperties: true
|
additionalProperties: true
|
||||||
description: ComfyUI execution status and timeline (only for terminal states)
|
description: ComfyUI execution status and timeline (only for terminal states)
|
||||||
|
|
@ -570,6 +578,12 @@ components:
|
||||||
description: Last update timestamp (Unix timestamp in milliseconds)
|
description: Last update timestamp (Unix timestamp in milliseconds)
|
||||||
format: int64
|
format: int64
|
||||||
type: integer
|
type: integer
|
||||||
|
user_id:
|
||||||
|
description: |
|
||||||
|
ID of the user that owns this job (see the `workspace_id`
|
||||||
|
description above for why this is always the caller's own id
|
||||||
|
on a successful response).
|
||||||
|
type: string
|
||||||
workflow:
|
workflow:
|
||||||
additionalProperties: true
|
additionalProperties: true
|
||||||
description: |
|
description: |
|
||||||
|
|
@ -583,6 +597,18 @@ components:
|
||||||
workflow_id:
|
workflow_id:
|
||||||
description: UUID identifying the workflow graph definition
|
description: UUID identifying the workflow graph definition
|
||||||
type: string
|
type: string
|
||||||
|
workspace_id:
|
||||||
|
description: |
|
||||||
|
ID of the workspace that owns this job. A successful (200)
|
||||||
|
response from this operation is only ever returned for the
|
||||||
|
caller's own job (see this operation's ownership-scoped
|
||||||
|
query), so this is always the caller's own workspace —
|
||||||
|
consumers that also need to correlate this job to its
|
||||||
|
live-progress broadcast channel (workspace+user scoped; see
|
||||||
|
the internal common/gateways/broadcast package) can use this
|
||||||
|
value directly rather than resolving their own identity a
|
||||||
|
second way.
|
||||||
|
type: string
|
||||||
required:
|
required:
|
||||||
- id
|
- id
|
||||||
- status
|
- status
|
||||||
|
|
@ -1565,7 +1591,13 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
default: true
|
default: true
|
||||||
type: boolean
|
type: boolean
|
||||||
- description: Filter assets by exact content hash.
|
- description: |
|
||||||
|
Filter assets by content hash, in the canonical `blake3:<hex>`
|
||||||
|
form. Matches regardless of which of this asset store's two
|
||||||
|
internal hash storage formats the matching row was written
|
||||||
|
under (the canonical form used by from-hash-created references,
|
||||||
|
or the raw `<hex>.<ext>`/bare `<hex>` storage key used by direct
|
||||||
|
uploads) — both represent the same content hash.
|
||||||
in: query
|
in: query
|
||||||
name: hash
|
name: hash
|
||||||
schema:
|
schema:
|
||||||
|
|
@ -2464,6 +2496,23 @@ paths:
|
||||||
schema:
|
schema:
|
||||||
additionalProperties: true
|
additionalProperties: true
|
||||||
properties:
|
properties:
|
||||||
|
free_tier_balance:
|
||||||
|
description: Free-tier job allowance for an authenticated non-paid (FREE-tier) user in the rollout. Absent for paid users and unauthenticated requests. Synthesized from config before a grant row exists so a brand-new user still sees their full allowance.
|
||||||
|
properties:
|
||||||
|
allowance:
|
||||||
|
description: Total free jobs granted for the current period
|
||||||
|
type: integer
|
||||||
|
remaining:
|
||||||
|
description: Free jobs remaining (allowance - used, floored at 0)
|
||||||
|
type: integer
|
||||||
|
used:
|
||||||
|
description: Free jobs consumed so far
|
||||||
|
type: integer
|
||||||
|
required:
|
||||||
|
- allowance
|
||||||
|
- used
|
||||||
|
- remaining
|
||||||
|
type: object
|
||||||
max_upload_size:
|
max_upload_size:
|
||||||
description: Maximum upload size in bytes
|
description: Maximum upload size in bytes
|
||||||
type: integer
|
type: integer
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue