2026.10.30.A — Team formation for ‘Capture the Fright’ Competition
Published: 2026-10-30 · Audience: front-end engineers and platform operators · Environment: production · Outcome: a signed-in user creates a team, adds members, activates it, and registers it for the “Capture the Fright” season of the “Set Your Vector 10-2026” league.
These instructions use only endpoints already deployed in production. The new discovery and create-and-enroll endpoints are not live yet; they are covered in §5 for when the gaming API stack deploys.
1. Constants — EIDs only
| Resource | EID |
|---|---|
| ĀYŌDÈ Competitions realm | 5810106b-50ca-4525-9470-3f7022b037ad |
League realm (Set Your Vector 10-2026) |
95573101-ceaf-4b1f-95f8-1286ad945c02 |
League (Set Your Vector 10-2026) |
69d1457f-1370-4fa4-8572-7a0f3f523c71 |
Season (Capture the Fright) |
02eed0ad-f0cb-406f-8455-dff5a39a8c55 |
| Public realm — new endpoints only | 64849ef4-2cfe-4f05-872e-36bf29e314b5 |
URN form, if you use the URN header instead of the EID header:
urn:ayode:realm-eid:5810106b-50ca-4525-9470-3f7022b037ad
2. The rule that governs every legacy call
Send
X-Ayode-Asserted-Realm-EID: 5810106b-50ca-4525-9470-3f7022b037adon every call in §3 and §4, including calls whose path realm is95573101-ceaf-4b1f-95f8-1286ad945c02.
- The assertion is the header. The path
realmEidsegment is the league’s realm:95573101-ceaf-4b1f-95f8-1286ad945c02. - Do not assert
95573101-ceaf-4b1f-95f8-1286ad945c02. Its membership is limited to the realm’s own accounts, so practically every user receives403withauthorization.outcome: unreferenced. - Do not assert
64849ef4-2cfe-4f05-872e-36bf29e314b5on the legacy team endpoints. The legacy team-create endpoint has no Public arm, so creation returns403. - Authorization succeeds because human accounts hold the
AYODE-Competitions-Studentsrole, which carries the realm-scope list and read privileges plus self-scope create, manage, and register privileges in the competitions realm tree. New users receive it automatically.
Every call also sends Authorization: Bearer <accessToken> and
Accept: application/json.
3. Listing endpoints — step by step
Step 1 — Find the league
GET /v1/leagues/95573101-ceaf-4b1f-95f8-1286ad945c02
X-Ayode-Asserted-Realm-EID: 5810106b-50ca-4525-9470-3f7022b037ad
- SDK:
listLeaguesInRealmV1({ realmEid: "95573101-ceaf-4b1f-95f8-1286ad945c02", assertedRealmEid: "5810106b-50ca-4525-9470-3f7022b037ad" }) - Privilege:
/league/list(realm). The path realm selects the realm’s leagues. - Read: the entry with
leagueEID: "69d1457f-1370-4fa4-8572-7a0f3f523c71"; confirmstatus: activeandselfRegistrationMode: yes.
Step 2 — Confirm league policy
GET /v1/leagues/95573101-ceaf-4b1f-95f8-1286ad945c02/69d1457f-1370-4fa4-8572-7a0f3f523c71
X-Ayode-Asserted-Realm-EID: 5810106b-50ca-4525-9470-3f7022b037ad
- SDK:
getLeagueDetailsV1({ realmEid: "95573101-ceaf-4b1f-95f8-1286ad945c02", leagueEID: "69d1457f-1370-4fa4-8572-7a0f3f523c71", assertedRealmEid: "5810106b-50ca-4525-9470-3f7022b037ad" }) - Privilege:
/league/read(realm) - Read:
selfRegistrationMode,minimumMembers,maximumMembers.
Step 3 — List seasons
GET /v1/seasons/95573101-ceaf-4b1f-95f8-1286ad945c02/69d1457f-1370-4fa4-8572-7a0f3f523c71
X-Ayode-Asserted-Realm-EID: 5810106b-50ca-4525-9470-3f7022b037ad
- SDK:
listSeasonsV1({ realmEid: "95573101-ceaf-4b1f-95f8-1286ad945c02", leagueEid: "69d1457f-1370-4fa4-8572-7a0f3f523c71", assertedRealmEid: "5810106b-50ca-4525-9470-3f7022b037ad" }) - Privilege:
/season/list(realm) - Read: the season with
seasonEID: "02eed0ad-f0cb-406f-8455-dff5a39a8c55":status: upcoming,selfRegistrationMode: yes,effectiveSelfRegistrationMode: yes,registrationOpensDate: 2026-10-26,registrationClosesDate: 2026-11-02.
Step 4 — Read the season
GET /v1/seasons/95573101-ceaf-4b1f-95f8-1286ad945c02/69d1457f-1370-4fa4-8572-7a0f3f523c71/02eed0ad-f0cb-406f-8455-dff5a39a8c55
X-Ayode-Asserted-Realm-EID: 5810106b-50ca-4525-9470-3f7022b037ad
- SDK:
getSeasonDetailsV1({ realmEid: "95573101-ceaf-4b1f-95f8-1286ad945c02", leagueEid: "69d1457f-1370-4fa4-8572-7a0f3f523c71", seasonEid: "02eed0ad-f0cb-406f-8455-dff5a39a8c55", assertedRealmEid: "5810106b-50ca-4525-9470-3f7022b037ad" }) - Privilege:
/season/read(realm) - Gate the UI on
registrationOpensDate <= today <= registrationClosesDate.
Step 5 — Browse teams
GET /v1/teams/95573101-ceaf-4b1f-95f8-1286ad945c02/69d1457f-1370-4fa4-8572-7a0f3f523c71?status=forming
X-Ayode-Asserted-Realm-EID: 5810106b-50ca-4525-9470-3f7022b037ad
- SDK:
listTeamsByLeagueV1({ realmEid: "95573101-ceaf-4b1f-95f8-1286ad945c02", leagueEid: "69d1457f-1370-4fa4-8572-7a0f3f523c71", status: "forming" | "active" | "disbanded", assertedRealmEid: "5810106b-50ca-4525-9470-3f7022b037ad" }) - Privilege:
/team/list(realm)
Step 6 — Read a team
GET /v1/teams/95573101-ceaf-4b1f-95f8-1286ad945c02/69d1457f-1370-4fa4-8572-7a0f3f523c71/{teamEID}
X-Ayode-Asserted-Realm-EID: 5810106b-50ca-4525-9470-3f7022b037ad
- SDK:
getTeamDetailsV1(...) - Privilege:
/team/read(realm)
Step 7 — List team members
GET /v1/teams/95573101-ceaf-4b1f-95f8-1286ad945c02/69d1457f-1370-4fa4-8572-7a0f3f523c71/{teamEID}/members
X-Ayode-Asserted-Realm-EID: 5810106b-50ca-4525-9470-3f7022b037ad
- SDK:
listTeamMembersV1(...) - Privilege:
/team/read(realm)
Step 8 — List season participants
GET /v1/seasons/95573101-ceaf-4b1f-95f8-1286ad945c02/69d1457f-1370-4fa4-8572-7a0f3f523c71/02eed0ad-f0cb-406f-8455-dff5a39a8c55/teams?status=registered
X-Ayode-Asserted-Realm-EID: 5810106b-50ca-4525-9470-3f7022b037ad
- SDK:
listSeasonParticipantsV1(...) - Privilege:
/season/read(realm) statusacceptsregistered,confirmed,withdrawn,disqualified; omit it for all. Forming and disbanded teams never appear.
Step 9 — Read one participant
GET /v1/seasons/95573101-ceaf-4b1f-95f8-1286ad945c02/69d1457f-1370-4fa4-8572-7a0f3f523c71/02eed0ad-f0cb-406f-8455-dff5a39a8c55/teams/{teamEID}
X-Ayode-Asserted-Realm-EID: 5810106b-50ca-4525-9470-3f7022b037ad
- SDK:
getSeasonParticipantV1(...) - Privilege:
/season/read(realm)
Step 10 — Leaderboard
GET /v1/seasons/95573101-ceaf-4b1f-95f8-1286ad945c02/69d1457f-1370-4fa4-8572-7a0f3f523c71/02eed0ad-f0cb-406f-8455-dff5a39a8c55/leaderboard
X-Ayode-Asserted-Realm-EID: 5810106b-50ca-4525-9470-3f7022b037ad
- SDK:
getSeasonLeaderboardV1(...) - Privilege:
/season/read(realm) - Includes
registeredandconfirmedparticipations of active teams only.
Step 11 — Games in the season
GET /v1/seasons/95573101-ceaf-4b1f-95f8-1286ad945c02/69d1457f-1370-4fa4-8572-7a0f3f523c71/02eed0ad-f0cb-406f-8455-dff5a39a8c55/games
X-Ayode-Asserted-Realm-EID: 5810106b-50ca-4525-9470-3f7022b037ad
- SDK:
listGamesInSeasonV1(...) - Privilege:
/game/list(realm) - Expect an empty list until games are scheduled.
Step 12 — Current user’s teams
GET /v1/users/~/teams
X-Ayode-Asserted-Realm-EID: 5810106b-50ca-4525-9470-3f7022b037ad
- SDK:
listMyTeamsV1({ userEid: "~", assertedRealmEid: "5810106b-50ca-4525-9470-3f7022b037ad" }) - Privilege:
/team/listself for~; realm for another user’s EID.
Step 13 — Current user’s team membership requests
GET /v1/users/~/team-requests
X-Ayode-Asserted-Realm-EID: 5810106b-50ca-4525-9470-3f7022b037ad
- SDK:
listMyTeamRequestsV1(...) - Privilege:
/team/listself
4. Registration flow — write steps, same assertion
Step 14 — Create the team
POST /v1/teams/95573101-ceaf-4b1f-95f8-1286ad945c02/69d1457f-1370-4fa4-8572-7a0f3f523c71
X-Ayode-Asserted-Realm-EID: 5810106b-50ca-4525-9470-3f7022b037ad
Content-Type: application/json
{"name":"<team name>","managerUserEID":"<caller user EID>","description":"<optional>"}
- SDK:
createTeamV1({ realmEid: "95573101-ceaf-4b1f-95f8-1286ad945c02", leagueEid: "69d1457f-1370-4fa4-8572-7a0f3f523c71", body: { name, managerUserEID, description?, captainUserEID? }, assertedRealmEid: "5810106b-50ca-4525-9470-3f7022b037ad" }) - Privilege:
/team/createself. The caller must be the manager. - Returns a
formingteam. The manager automatically receives membership in the league’s designated section.
Step 15 — Add members
POST /v1/teams/95573101-ceaf-4b1f-95f8-1286ad945c02/69d1457f-1370-4fa4-8572-7a0f3f523c71/{teamEID}/members
X-Ayode-Asserted-Realm-EID: 5810106b-50ca-4525-9470-3f7022b037ad
Content-Type: application/json
{"userEID":"<member user EID>","role":"member"}
- SDK:
addTeamMemberV1(...) - Privilege:
/team/manageself. The caller must be the manager. - Each added member automatically receives membership in the league’s designated section.
- Enforce the league’s
maximumMembersin the UI.
Step 16 — Activate
POST /v1/teams/95573101-ceaf-4b1f-95f8-1286ad945c02/69d1457f-1370-4fa4-8572-7a0f3f523c71/{teamEID}/activate
X-Ayode-Asserted-Realm-EID: 5810106b-50ca-4525-9470-3f7022b037ad
- SDK:
activateTeamV1(...) - Privilege:
/team/manageself forming→active; requires the league’sminimumMembers(the manager already counts). Must precede registration.
Step 17 — Register for the season
POST /v1/seasons/95573101-ceaf-4b1f-95f8-1286ad945c02/69d1457f-1370-4fa4-8572-7a0f3f523c71/02eed0ad-f0cb-406f-8455-dff5a39a8c55/teams/{teamEID}
X-Ayode-Asserted-Realm-EID: 5810106b-50ca-4525-9470-3f7022b037ad
- SDK:
registerTeamForSeasonV1({ realmEid: "95573101-ceaf-4b1f-95f8-1286ad945c02", leagueEid: "69d1457f-1370-4fa4-8572-7a0f3f523c71", seasonEid: "02eed0ad-f0cb-406f-8455-dff5a39a8c55", teamEid: "<team EID>", assertedRealmEid: "5810106b-50ca-4525-9470-3f7022b037ad" }) - Privilege:
/season/registerself - Requires an active team, a season that is not completed or cancelled, and today inside the registration window.
- Returns
registrationStatus: registered. Leaderboard and participant list both accept it; this path does not confirm it.
5. When the new endpoints deploy
Only these two use the Public assertion:
| Call | Path | Assert |
|---|---|---|
| Discovery | GET /v1/leagues?selfRegistrationMode=yes |
64849ef4-2cfe-4f05-872e-36bf29e314b5 |
| Create and enroll in one call | POST /v1/seasons/95573101-ceaf-4b1f-95f8-1286ad945c02/69d1457f-1370-4fa4-8572-7a0f3f523c71/02eed0ad-f0cb-406f-8455-dff5a39a8c55/teams |
64849ef4-2cfe-4f05-872e-36bf29e314b5 |
The create call answers 201 for both create and idempotent retry,
distinguished by data.outcome: created | already_present. It creates a
forming team with a registered participation; activation then confirms it
and enrolls game participations.
6. Troubleshooting
| Symptom | Cause / fix |
|---|---|
403 with authorization.outcome: unreferenced |
The asserted realm is 95573101-ceaf-4b1f-95f8-1286ad945c02 or 64849ef4-2cfe-4f05-872e-36bf29e314b5; assert 5810106b-50ca-4525-9470-3f7022b037ad |
403 only on team creation |
The legacy create endpoint has no Public arm; assert 5810106b-50ca-4525-9470-3f7022b037ad |
409122, reason: after-registration-window |
The registration window has closed |
409122, “Only active teams can register” |
Step 16 was skipped |
409121, team-name duplicate |
Names are unique per league; a disbanded team still owns its name |
409121, “requires at least N members” |
The league’s minimumMembers is not met |
| Participant missing from standings | The team is still forming or is disbanded |
| No game rows after registration | No games are scheduled yet; the backfill worker converges once games exist |
Assertion summary: every call in §3 and §4 asserts
5810106b-50ca-4525-9470-3f7022b037ad. Only the two endpoints in §5 assert
64849ef4-2cfe-4f05-872e-36bf29e314b5. The path realm stays
95573101-ceaf-4b1f-95f8-1286ad945c02 throughout.