Admin
Packs

List a team's packs with contents (admin; pack-test source)

Changed on

Requires 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.

get/api/admin/packs

Request

  • Base URL
    https://app.d-sports.org
  • Auth
    HTTP bearer

Query parameters

teamIdstring required

Team id or slug.

statusstring

Filter by pack status, e.g. active or draft.

archivedboolean

true lists archived packs only, with the same contents shape.

Response

{ success: true, data: Pack[] }

successtrue required

Changes