Details
-
Type: Improvement
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: Current Version
-
Fix Version/s: None
-
Component/s: OIOIOI
-
Labels:None
Description
Contest id and problem short name already uniquely identify a problem instance, so they could be used to find it, and the problem.
It would be nice to have an API that allows obtaining problem_id (and possibly problem_instance_id) by providing contest id and problem short name.
The problem_id would be very useful for reuploading a package from a CI, which does not necessarily know it beforehend, but does have access the contest id and short name in the package source.
It would be nice to have an API that allows obtaining problem_id (and possibly problem_instance_id) by providing contest id and problem short name.
The problem_id would be very useful for reuploading a package from a CI, which does not necessarily know it beforehend, but does have access the contest id and short name in the package source.
Issue Links
- relates to
-
SIO-2394 Improve API support for problem package CI (meta-ticket)
Activity
Transition | Time In Source Status | Execution Times | Last Executer | Last Execution Date | |||||
---|---|---|---|---|---|---|---|---|---|
|
160d 4h 16m | 1 | Szymon Czyżmański | 2021-05-25 14:38 | |||||
|
7s | 1 | Szymon Czyżmański | 2021-05-25 14:38 | |||||
|
29d 21h 6m | 1 | Szymon Czyżmański | 2021-06-24 11:45 |
Szymon Czyżmański
made changes -
Status | In Progress [ 3 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Szymon Czyżmański
made changes -
Status | Open [ 1 ] | In Progress [ 3 ] |
Szymon Czyżmański
made changes -
Status | New [ 10000 ] | Open [ 1 ] |
Szymon Czyżmański
made changes -
Assignee | Szymon Czyżmański [ czyzmanski ] |
Wojciech Dubiel
made changes -
https://gerrit.sio2project.mimuw.edu.pl/3749
(
SIO-2396) API: Allow finding a problem by contest_id and short_nameContest id and problem short name already uniquely identify a problem
instance, so they could be used to find it, and the problem.
It would be nice to have an API that allows obtaining problem_id
(and possibly problem_instance_id) by providing contest id and problem
short name. The problem_id would be very useful for reuploading a package
from a CI, which does not necessarily know it beforehend, but does have
access the contest id and short name in the package source.
*Add an API endpoint for finding problem_id and problem_instance_id
based on contest_id and problem_short_name.
*Refactor old code.
*Add tests.
Change-Id: Icd4beca8f3668e6a69ee29b1a2e5036293328221