ComfyUI/app/assets/api
Matt Miller 887ea2a2af fix(assets): tighten job_ids — array schema, max_length, narrow except
From cursor-reviews on the parent commit:

- OpenAPI: declare job_ids as `type: array, items: string format: uuid`
  with `style: form, explode: true` so it matches the documented
  contract (and matches sibling include_tags/exclude_tags shape).
  Description now states both accepted shapes explicitly.
- Schema: cap `job_ids` at 500 entries (max_length on the Pydantic
  field) so a client can't splice an unbounded list into the IN clauses.
- Schema: drop `AttributeError` from the except — `raw` only contains
  `str` items by construction, so `uuid.UUID(<str>)` raises `ValueError`
  exclusively; the second clause was dead code.
2026-06-09 21:21:47 -07:00
..
routes.py feat(assets): add job_ids filter to GET /api/assets 2026-06-09 21:21:36 -07:00
schemas_in.py fix(assets): tighten job_ids — array schema, max_length, narrow except 2026-06-09 21:21:47 -07:00
schemas_out.py feat(assets): cursor-based pagination on GET /api/assets (#14014) 2026-06-09 21:14:03 -07:00
upload.py feat(assets): align local API with cloud spec (#12863) 2026-03-16 12:34:04 -07:00