Closed wbreeze closed 5 years ago
The data returned from, for example, https://iaccdb.iac.org/contests.json does not indicate whether result data is present for a contest.
This need arises from the api added about two years ago, that creates an empty (no data) contest record and assigns an id when the someone enters a new contest at iac.org. The endpoint that creates a contest via api is the contests controller create method (authenticated to a contest_admin) at https://github.com/wbreeze/iaccdb/blob/7b1454e93d71a2087bc4cdd6dbbaa47c9d24080b/app/controllers/contests_controller.rb#L31
The data returned from, for example, https://iaccdb.iac.org/contests.json does not indicate whether result data is present for a contest.
This need arises from the api added about two years ago, that creates an empty (no data) contest record and assigns an id when the someone enters a new contest at iac.org. The endpoint that creates a contest via api is the contests controller create method (authenticated to a contest_admin) at https://github.com/wbreeze/iaccdb/blob/7b1454e93d71a2087bc4cdd6dbbaa47c9d24080b/app/controllers/contests_controller.rb#L31