Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc/manual/import.rst
Original file line number Diff line number Diff line change
Expand Up @@ -402,11 +402,11 @@ and click `Import`.

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

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

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

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

Replace ``<CID>`` with the contest ID that was returned when importing the
contest metadata.
Expand Down
Loading