Session

Starts a run

post/v1/session/run

Request

  • Base URL
    https://api.momentum-mod.org (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Request body

mapIDnumber required

ID of the map the run is on

gamemode1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 required

Gamemode the run is on

trackType0 | 1 | 2 required

The number of the track the run is on, relative to trackType

trackNumnumber required

The number of the track the run is on, relative to trackType

Response

Run Session DTO, including the ID of the run to use on other run run endpoints

idnumber required
mapIDnumber required

ID of the map the run is on

gamemode1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 required

Gamemode the run is on

trackType0 | 1 | 2 required

The number of the track the run is on, relative to trackType

trackNumnumber required

The number of the track the run is on, relative to trackType

userIDnumber required

The ID of the user submitting the run

createdAtstring required

When the item was first created, as ISO8601 date string

Changes

No recorded changes to this operation across all 1 revision of this API.