Publish Race

Make the race's results, course and measurement public. Owner or admin; needs scored results, a confirmed email address, and the organizer's word that the race is theirs to publish.

Nobody approves a race. What happens instead: the race is screened (api/screening.py). A clean race is public at once and is marked verified on its own after AUTO_VERIFY_HOURS unless an admin objects first; a race with a strong sign of being invented or copied is held, not public, with the reasons in the answer, and an admin decides. The admins hear about every publish.

post/races/{race_id}/publish

Request

  • Base URL: https://safefamilyapp.com (the document declares no server; this is the origin it was published from)
  • URL: https://safefamilyapp.com/races/{race_id}/publish
  • Auth: HTTP bearer

Path parameters

race_idstring required

Request body

attestboolean

Response

Successful Response

race_idstring required
event_idstring required
event_namestring required
event_datestring date required
course_namestring required
distance_kmnumber required
elevation_gain_mnumber required
has_gpxboolean
scoring_versionstring required
measurement_versionstring nullable
measurement_statusstring nullable
published_atstring date-time nullable
is_publishedboolean
is_demoboolean
finisher_countinteger nullable
event_locationstring nullable
event_countrystring nullable
organizer_displaystring nullable
organizer_websitestring nullable
elevation_loss_mnumber nullable
is_verticalboolean
listing_statusstring
is_listedboolean
calculator_onlyboolean
source_urlstring nullable
edition_yearinteger nullable
review_statusstring
review_flagsobject[] nullable
auto_verify_atstring date-time nullable
reviewed_atstring date-time nullable
reviewed_bystring nullable
review_notestring nullable
publish_attested_atstring date-time nullable

Changes

No recorded changes to this operation across all 1 revision of this API.