---
agentTools:
  projectIndex: https://hxroapi.readme.io/llms.txt
---

# /api/Contests/time-until-contest-event - GET

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Hxro Api",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "http://api.hxro.io/hxroapi"
    }
  ],
  "paths": {
    "/api/Contests/time-until-contest-event": {
      "get": {
        "tags": [
          "Contests"
        ],
        "summary": "/api/Contests/time-until-contest-event - GET",
        "operationId": "get-api-contests-time-until-contest-event",
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ApiContestsTime-until-contest-eventGet200TextPlainResponse"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiContestsTime-until-contest-eventGet200ApplicationJsonResponse"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ApiContestsTime-until-contest-eventGet200TextJsonResponse"
                }
              }
            }
          },
          "500": {
            "description": "Server Error",
            "content": {
              "text/plain": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              },
              "text/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "ProblemDetails": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string"
          },
          "title": {
            "type": "string"
          },
          "status": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "detail": {
            "type": "string"
          },
          "instance": {
            "type": "string"
          }
        },
        "additionalProperties": {
          "type": "object"
        }
      },
      "ApiContestsTime-until-contest-eventGet200TextPlainResponse": {
        "type": "integer",
        "format": "int32"
      },
      "ApiContestsTime-until-contest-eventGet200ApplicationJsonResponse": {
        "type": "integer",
        "format": "int32"
      },
      "ApiContestsTime-until-contest-eventGet200TextJsonResponse": {
        "type": "integer",
        "format": "int32"
      }
    },
    "securitySchemes": {
      "apiKeyHeader": {
        "type": "apiKey",
        "name": "Ocp-Apim-Subscription-Key",
        "in": "header"
      },
      "apiKeyQuery": {
        "type": "apiKey",
        "name": "subscription-key",
        "in": "query"
      }
    }
  },
  "security": [
    {
      "apiKeyHeader": []
    },
    {
      "apiKeyQuery": []
    }
  ],
  "x-explorer-enabled": true,
  "x-proxy-enabled": true,
  "x-samples-enabled": true,
  "x-samples-languages": [
    "curl",
    "node",
    "ruby",
    "javascript",
    "python"
  ],
  "_id": {
    "buffer": {
      "0": 95,
      "1": 95,
      "2": 177,
      "3": 7,
      "4": 28,
      "5": 173,
      "6": 15,
      "7": 0,
      "8": 94,
      "9": 5,
      "10": 121,
      "11": 2
    }
  }
}
```