Sonolus Wiki

POST /sonolus/levels/result/upload

/sonolus/levels/result/upload allows Sonolus app to upload files when submitting replay from result screen.

URL Parameters

None.

Query Parameters

Query ParameterValueDescription
localizationstringSee localization.
Configuration OptionsanySee Options Query Parameters.

Request Headers

HeaderValueDescription
Sonolus-SessionstringOptional, see Sonolus-Session.
Sonolus-Upload-KeystringSee POST /sonolus/{type}/create.

Request Body

multipart/form-data encoded data with files field.

Response Code

CodeDescription
200 OK
401 UnauthorizedAuthentication required or expired.

Response Headers

HeaderValueDescription
Sonolus-VersionstringOptional, see Sonolus-Version.

Response Body

type ServerUploadLevelResultResponse = {}

Examples

{}