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-3f7022b037ad on every call in §3 and §4, including calls whose path realm is 95573101-ceaf-4b1f-95f8-1286ad945c02.

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

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

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

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

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

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

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

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

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

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

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

Step 12 — Current user’s teams

GET /v1/users/~/teams
X-Ayode-Asserted-Realm-EID: 5810106b-50ca-4525-9470-3f7022b037ad

Step 13 — Current user’s team membership requests

GET /v1/users/~/team-requests
X-Ayode-Asserted-Realm-EID: 5810106b-50ca-4525-9470-3f7022b037ad

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>"}

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"}

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

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

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.