Admin

End a competition

End an active competition and finalize the results

post/api/admin/competition/end

Request body

competitionIdstring required

ID of the competition to end

Response

Competition ended successfully

successboolean

Operation success status

Example response

{
  "competition": {
    "maxParticipants": 50
  }
}

Changes

Changed in 4 of the 50 revisions of this API.33

    • added the new spot_live_trading enum value to the competition/type response property for the response status 200

      response-property-enum-value-added

    • added the new perpetual_futures enum value to the competition/type response property for the response status 200

      response-property-enum-value-added

    • added the optional property competition/maxParticipants to the response with the 200 status

      response-optional-property-added

  • e0d0a475d4b612See the full diff
    • removed the optional property competition/maxParticipants from the response with the 200 status

      response-optional-property-removed

    • removed the perpetual_futures enum value from the competition/type response property for the response status 200

      response-property-enum-value-removed

    • removed the spot_live_trading enum value from the competition/type response property for the response status 200

      response-property-enum-value-removed

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog