kekupload-server

A backend providing a HTTP REST like interface for uploading files written in rust.

View on GitHub

KekUpload API


POST ~/r/{stream}

Terminate an upload stream. See workflow for more information.

Params

stream The stream which you get from the create route. See workflow and stream for more information.


Request

cURL
curl --request POST \
    --data ""
    --url ~/r/{stream}


Responses

200 - Ok
{
    "success": true
}


404 - Not Found
{
    "generic": "NOT_FOUND",
    "field": "STREAM",
    "error": "Stream not found"
}


500 - Internal Server Error
{
    "generic": "FS_REMOVE",
    "field": "FILE",
    "error": "Error while removing file: {error}"
}