Skip to content

Refactor competitor fetching and URL construction to use more natural… - #1

Merged
captainrobbo merged 3 commits into
openath:mainfrom
KicksTV:patch-1
Aug 4, 2026
Merged

captainrobbo merged 3 commits into
openath:mainfrom
KicksTV:patch-1

Conversation

@KicksTV

@KicksTV KicksTV commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

… url pattern

KicksTV and others added 3 commits July 29, 2026 11:51
…-key URLs

- update_competitor.py: PATCH via .../competitors/<competitor_id>/ (plural)
- update_events.py: update via .../events/<event_id>/; delete/create stay on generic endpoints (no natural-key POST/DELETE)
- update_units.py: list via .../events/<event_id>/rounds/, PUT via .../events/<event_id>/<round>/<heat>/
- create_competitor.py: resolve competition UUID from natural-key URL, POST to generic endpoint
- create_calendar_entry.py: tidy BASE_URL/token style
- update_competitors_qp_sb_pb.py: fix singular 'competitor/' -> plural 'competitors/' in update loop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants