ComfyUI/app/assets/api
Matt Miller cdc61706c6 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-05-19 19:48:54 -07:00
..
routes.py feat(assets): add job_ids filter to GET /api/assets 2026-05-19 19:02:11 -07:00
schemas_in.py fix(assets): tighten job_ids — array schema, max_length, narrow except 2026-05-19 19:48:54 -07:00
schemas_out.py feat(assets): align local API with cloud spec (#12863) 2026-03-16 12:34:04 -07:00
upload.py feat(assets): align local API with cloud spec (#12863) 2026-03-16 12:34:04 -07:00