List Assets with pagination and owner filter #86

Open
opened 2026-11-27 16:43:24 -05:00 by bobby · 0 comments
Owner

Part of #73 (spec: #72)

What to build

Members can list Assets. The list establishes the shared list conventions: cursor pagination {items, next_cursor} with limit capped at 100, and ?owner=me|household|<person-id> that, unfiltered, returns everything the caller may see.

Acceptance criteria

  • Listing returns {items, next_cursor}, and following cursors visits every Asset exactly once
  • limit over 100 is capped, or rejected with a problem (pick one and document it)
  • ?owner=household and an unfiltered list return the same Assets; ?owner=me returns none
  • Archived Assets are excluded by default, with a filter to include them
Part of #73 (spec: #72) ## What to build Members can list Assets. The list establishes the shared list conventions: cursor pagination `{items, next_cursor}` with `limit` capped at 100, and `?owner=me|household|<person-id>` that, unfiltered, returns everything the caller may see. ## Acceptance criteria - [ ] Listing returns `{items, next_cursor}`, and following cursors visits every Asset exactly once - [ ] `limit` over 100 is capped, or rejected with a problem (pick one and document it) - [ ] `?owner=household` and an unfiltered list return the same Assets; `?owner=me` returns none - [ ] Archived Assets are excluded by default, with a filter to include them
bobby added the ready-for-agent label 2026-11-27 16:43:24 -05:00
bobby added a new dependency 2026-11-27 16:43:25 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Reference: bobby/hapi#86