Skip to content

Commit dc537ea

Browse files
committed
Improve documentation on demoweb:
- You can submit, just nog get judged or use submit client - Add link to API itself and note about admin access/credentials
1 parent 7b8657e commit dc537ea

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

website/demo.shtml

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,10 @@ populated with data from a live contest.</p>
2727
<dt><a href="demoweb/public/">Public interface</a></dt>
2828
<dd>Shows the scoreboard and the problemset.</dd>
2929
<dt><a href="demoweb/team/">Team interface</a></dt>
30-
<dd>Shows your submissions, submission details, clarifications, the problemset and the scoreboard. Log in with username and password <em>team</em>.
31-
As this is a demo, you can't actually submit solutions.</dd>
30+
<dd>Shows your submissions, submission details, clarifications, the
31+
problemset and the scoreboard. Log in with username and password <em>team</em>.
32+
You can submit solutions through the web interface, but as this is a demo,
33+
these will not get judged. The submit client is also not available.</dd>
3234
<dt><a href="demoweb/jury/">Jury/admin interface</a></dt>
3335
<dd>The full set of options available to judges and administrators.
3436
Log in with username and password <em>jury</em> or username and password <em>admin</em> respectively. The admin interface is a superset of the jury interface with additional options to configure the contests.
@@ -37,6 +39,16 @@ Team source code and testdata in/output has been replaced with a placeholder, so
3739
and testdata diff functionality is not useful.</dd>
3840
<dt><a href="demoweb/api/doc/">API documentation</a></dt>
3941
<dd>Documentation on how to use DOMjudge from scripts. This is used by our submit client and the <code>configure-domjudge</code> &amp; <code>import-contest</code> scripts. Also useful if you want to use only parts of DOMjudge, for example as you use your own custom scoreboard or another submission method. Some of the <a href="tools">tools</a> also work via this API.</dd>
42+
<dt><a href="demoweb/api/">Contest API</a></dt>
43+
<dd>The contest API itself, which adheres to the <a href="https://ccs-specs.icpc.io/draft/contest_api">Contest API specification</a>.
44+
Note that we do not implement all optional details of the API, some
45+
new specifications from the draft version may be work in progress.
46+
We also have some private additions; additional properties in
47+
endpoints specified by the standard can be disabled by passing the URL
48+
parameter <kbd>strict=1</kbd>.
49+
Various endpoints are available (or provide full access) only with
50+
admin credentials, which have to be provided via HTTP basic auth;
51+
username and password are <em>admin</em>.</dd>
4052
</dl>
4153

4254
<p>The data in the system is reset to a known good state every night, so feel

0 commit comments

Comments
 (0)