Reopen a dismissed run
const url = 'https://example.com/v1/projects/example/judging-queue/example/reopen';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/v1/projects/example/judging-queue/example/reopen \ --header 'Authorization: Bearer <token>'Back in the open queue. Only a dismissed item reopens: a judged one was closed by its judgments. Needs write on the project.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”ProjectId — opaque branded string.
Responses
Section titled “Responses”The item, open again.
A queued run: never its content, only what it was and where it stands.
object
How a run ended.
The rules that queued it, each at the version that did.
object
The judge classes its rules want.
One of its rules wants any judgment.
The live judgments on the run so far, by class.
object
object
null: unclassified.
Where a queued run stands. judged: every rule that queued it has the judgment it wants. erased: the run’s content is gone (erased, or the run purged); the item shows nothing of it.
Who dismissed or reopened it last.
Why it was dismissed, when they said.
What the caller may do with the item, by the check the routes make (write on the project, as judging the run needs).
object
Example
{ "runStatus": "completed", "state": "open"}Malformed request body.
object
object
Stable machine-readable discriminant. Values match domain error codes (see docs/API-ROUTE-CONVENTIONS.md §4.3).
Optional, kind-specific.
object
Server-assigned request id; also echoed via X-Request-Id header.
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": {}, "requestId": "example" }}Missing / malformed / expired / revoked bearer token.
object
object
Stable machine-readable discriminant. Values match domain error codes (see docs/API-ROUTE-CONVENTIONS.md §4.3).
Optional, kind-specific.
object
Server-assigned request id; also echoed via X-Request-Id header.
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": {}, "requestId": "example" }}The run isn’t in the project’s queue (judging-item-not-found).
object
object
Stable machine-readable discriminant. Values match domain error codes (see docs/API-ROUTE-CONVENTIONS.md §4.3).
Optional, kind-specific.
object
Server-assigned request id; also echoed via X-Request-Id header.
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": {}, "requestId": "example" }}The item wasn’t dismissed (judging-item-not-open).
object
object
Stable machine-readable discriminant. Values match domain error codes (see docs/API-ROUTE-CONVENTIONS.md §4.3).
Optional, kind-specific.
object
Server-assigned request id; also echoed via X-Request-Id header.
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": {}, "requestId": "example" }}Server error (unmapped domain code or framework crash).
object
object
Stable machine-readable discriminant. Values match domain error codes (see docs/API-ROUTE-CONVENTIONS.md §4.3).
Optional, kind-specific.
object
Server-assigned request id; also echoed via X-Request-Id header.
Examplegenerated
{ "error": { "code": "example", "message": "example", "details": {}, "requestId": "example" }}