diff --git a/doc/manual/import.rst b/doc/manual/import.rst index b727551c46..a2051dea82 100644 --- a/doc/manual/import.rst +++ b/doc/manual/import.rst @@ -407,11 +407,11 @@ and click `Import`. To import the file using the API run the following commands:: - http --check-status -b -f POST "/contests//problems" data@problems.yaml + http --check-status -b -f POST "/contests//problems/add-data" data@problems.yaml To import the file using the CLI run the following command:: - /bin/console api:call -m POST -f data=problems.yaml contests//problems + /bin/console api:call -m POST -f data=problems.yaml contests//problems/add-data Replace ```` with the contest ID that was returned when importing the contest metadata.