feat(houseofrc): create a race from a House of RC event and its entries (1.80.0)
This commit is contained in:
1 parent
42df6a786f
commit
9c1f5713e6
18 files changed
+444
-21
No files matched your search
+9
-2
@@ -1003,9 +1003,16 @@ Agreed with Conny (House of RC), 2026-11-07:
|
||||
- **Result format:** send back the same structure as the entries came in, with the results added: driver ID, class and result. Extra heat data can be sent along too; House of RC stores it, as it already does from MyRCM and LiveRC.
|
||||
- If entries change on the House of RC side (late entry, withdrawal), RaceCore fetches them again. Results go only one way: RaceCore → House of RC.
|
||||
|
||||
Status 2026-11-08 (1.78.0-1.80.0):
|
||||
- [x] Key stored server-side (`data/houseofrc.json`, mode 600), Settings → System → House of RC with **Test connection** (`/v1/me` works).
|
||||
- [x] Drivers → **Fetch from House of RC**: names and makes by transponder (`/timing/users`); drivers are linked by `houseOfRcId`.
|
||||
- [x] Race wizard → **Fetch from House of RC**: events via `/v1/events` (filtered by country here), entries via `/results?event_id=` (before the race it lists the entered drivers with 0 points). The race stores `houseOfRc.eventId`.
|
||||
- Note: on 2026-11-08 `/results` answered 404 for every event (also ones that listed entries the day before) and `/openapi.yaml` gave "Server Error"; ask Conny.
|
||||
|
||||
Still open with Conny:
|
||||
- [ ] Test the key with `GET /v1/me`.
|
||||
- [ ] Which endpoint gives an event's entries per class (with House of RC driver ID, class/eventclass ID, driver number and transponder)?
|
||||
- [x] Test the key with `GET /v1/me`.
|
||||
- [ ] An event's classes (eventclass ID + name), e.g. `/v1/events/{id}/classes`, so one fetch can create a race per class instead of choosing our class by hand.
|
||||
- [ ] The transponder per entry (or the eventclass ID per row in `/results`), so new drivers don't need it typed in.
|
||||
- [ ] The URL and JSON body for posting results, with an example of a qualifying-plus-finals result (TQ, A/B/C finals). Can a result be posted again, overwriting the previous one, after a correction?
|
||||
- [ ] A test event to post against.
|
||||
|
||||
|
||||
Reference in new issue
Block a user