Skip to content

Commit 1ba02e7

Browse files
committed
Upload of problem metadata uses another endpoint
See: https://domjudge-org.slack.com/archives/CHHURFUM7/p1726156440653609?thread_ts=1726145487.583349&cid=CHHURFUM7 (cherry picked from commit 72b3b49)
1 parent 3324986 commit 1ba02e7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/manual/import.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -405,11 +405,11 @@ and click `Import`.
405405

406406
To import the file using the API run the following commands::
407407

408-
http --check-status -b -f POST "<API_URL>/contests/<CID>/problems" [email protected]
408+
http --check-status -b -f POST "<API_URL>/contests/<CID>/problems/add-data" [email protected]
409409

410410
To import the file using the CLI run the following command::
411411

412-
<WEBAPP_DIR>/bin/console api:call -m POST -f data=problems.yaml contests/<CID>/problems
412+
<WEBAPP_DIR>/bin/console api:call -m POST -f data=problems.yaml contests/<CID>/problems/add-data
413413

414414
Replace ``<CID>`` with the contest ID that was returned when importing the
415415
contest metadata.

0 commit comments

Comments
 (0)