Skip to content

Commit 72b3b49

Browse files
vmcjmeisterT
authored andcommitted
1 parent aa222cc commit 72b3b49

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/manual/import.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -407,11 +407,11 @@ and click `Import`.
407407

408408
To import the file using the API run the following commands::
409409

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

412412
To import the file using the CLI run the following command::
413413

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

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

0 commit comments

Comments
 (0)