/contestEvents

https://api.sort-me.org/wss/listenSubmission

This method notifies you about most important events happening in contest.

Query parameters

Name
Description

id

ID of contest you want to listen events from.

token

Your access token. Required here because WSS connections can't use headers.

language

Language required to get text verdict representation. Required here because WSS connections can't use headers.

When connection is established, you will start receiving JSON objects containing fields type and event.

Event types

This event represents important message from jury to all participants. Formatted in Markdown.

{
    "type": "broadcast",
    "event": {
        "message": "Statement of problem A changed: x is *BIGGER* than $10^9$, not less."
    }
}

Last updated