rest api and bbdd

Jaap Eldering jaap at jaapeldering.nl
Sat Jul 30 20:17:26 CEST 2016


On 19-07-16 11:47, Jaap Eldering wrote:
> On 18-07-16 17:30, Jesús Alberto Domínguez Alfonso wrote:
>> Hello,
>>
>> first, Thanks for your help.
>>
>> First i would to know if there is a rest api for example
>> /submission_file that return values that result in this case compiler
>> error, and the code of compilation (warnings and errros from the code
>> that we can see in the picture)
>>
>> If i can´t i would to know where i can get this information in bbdd.
> 
> Hi Jesús,
> 
> No, there is currently no API call available to request the judging
> status of a specific submission. There is the "judgings" API call; we
> should add a parameter like submission=X to allow querying judgings for
> a specific submission ID, and allow teams to query their own submissions.
> 
> Currently, if you have jury/admin permissions you can query the full
> list of judgings and check the one that has the correct submission ID.

I added access for teams to the judgings API call (only their own
judgings) and querying a specific submission ID. See the master branch
in git.

Jaap




More information about the DOMjudge-devel mailing list