get https://api.triathlon.org/v1/events/specifications
The Event Specifications method returns a list of cat_id
s that may be used in filtering of all event methods via the specification_id
parameter.
An optional parent_id
parameter allows restricting results to a top-level specification. For example to display all the event specifications related to Duathlon (cat_id 355) the following request should be made.
curl --header "apikey: [[app:key]]" https://api.triathlon.org/v1/events/specifications?parent_id=355
If you only wish to display the top-level specifications simply supply the parameter show_children=false
which will limit to the top-level sport specifications. By default all children are returned.