hiper-backend
    hiper-backend
    • API Conventions
    • user
      • before login
        • login
        • register a user
        • request verification code
        • reset email
        • reset password
      • search users
        GET
      • get the user
        GET
      • get current user
        GET
      • update current user
        PATCH
    • game
      • create
        • create a game
      • administer
        • get settings related info about the game
        • update the game's game logic
        • update the game's match detail
      • get games
        GET
    • contest
      • create
        • create a contest
      • administer
        • get settings related info about the contest
        • update the registration password
      • get contests
        GET
      • register for contest
        PUT
      • exit contest
        DELETE
    • permission
      • grant creation permission
        PUT
      • revoke creation permission
        DELETE
    • base contest
      • administer
        • delete the game
        • add admin
        • relinquish admin
        • update contest script
        • update metadata
        • add a sdk
        • get a sdk
        • delete a sdk
        • update a sdk
        • update states
      • get the game
        GET
      • get AIs
        GET
      • commit an AI
        POST
      • get the ai
        GET
      • download the AI
        GET
      • edit ai note
        PUT
      • get contestants
        GET
      • assign an AI
        PUT
      • get current contestant
        GET
      • revoke the assigned AI
        DELETE
      • get matches
        GET
      • get a match
        GET
      • get sdks
        GET
    • Schemas
      • game/contest
        • in base contest
          • metadata
          • task_state
          • task_status
          • contest_states
          • sdk_base
          • sdk
          • sdk_detail
          • contestant
          • ai_base
          • ai
          • ai_detail
          • player
          • player_detail
          • match
          • match_detail
        • base_contest
        • base_contest_detail_for_contestants
        • base_contest_detail_for_admins
        • game_specific
        • game
        • game_detail_for_contestants
        • game_detail_for_admins
        • contest_specific
        • contest
        • contest_detail_for_contestants
        • contest_detail_for_admins
      • user_base
      • user
      • user_detail

    user_detail

    {
        "avatar_url": "string",
        "nickname": "string",
        "username": "string",
        "bio": "string",
        "department": "string",
        "name": "string",
        "permissions": {
            "can_create_game_or_contest": "true"
        },
        "school": "string",
        "contests_registered": [
            {
                "base_contest": {
                    "id": 0,
                    "game_id": 0,
                    "states": {
                        "assign_ai_enabled": true,
                        "commit_ai_enabled": true,
                        "contest_script_environment_enabled": true,
                        "private_match_enabled": true,
                        "public_match_enabled": true,
                        "test_match_enabled": true
                    }
                },
                "id": 0,
                "my_privilege": "admin",
                "metadata": {
                    "cover_url": "string",
                    "readme": "string",
                    "title": "string"
                },
                "registration": {
                    "registration_enabled": true
                }
            }
        ],
        "email": "string"
    }
    Built with