From 72b3b49ee1103af45ff71c86139f0e287f9ee9de Mon Sep 17 00:00:00 2001 From: Michael Vasseur <14887731+vmcj@users.noreply.github.com> Date: Fri, 13 Sep 2024 11:22:33 +0200 Subject: [PATCH] Upload of problem metadata uses another endpoint See: https://domjudge-org.slack.com/archives/CHHURFUM7/p1726156440653609?thread_ts=1726145487.583349&cid=CHHURFUM7 --- doc/manual/import.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.