-
Notifications
You must be signed in to change notification settings - Fork 256
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch '8.2' into bugfix-2279-backport
- Loading branch information
Showing
2 changed files
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters