List a team's packs with contents (admin; pack-test source)
Changed onRequires canAccessTeam: platform admin/superadmin, or any TeamAdmin role on the team (owner, editor, viewer). teamId is a team id or slug. Always includes contents (includeContents: true) with the full collectible, plus maxReveal, so web PackTesting and native (engage-native#1248) can run weightedRandomSelect(pack.contents, pack.maxReveal) locally. There is no pack-test start/stop session API: simulated opens are never sent to or stored by the server. Newest first, no pagination. archived=true lists archived packs only (status archived, ordered by updatedAt desc) with the same contents shape. Staging JSON capture is deferred; the example is a fixture, not a live capture.
Request
- Base URLhttps://app.d-sports.org
- AuthHTTP bearer
Query parameters
Team id or slug.
Filter by pack status, e.g. active or draft.
true lists archived packs only, with the same contents shape.
Response
{ success: true, data: Pack[] }
Changes
- info
endpoint added
- info