API
cloud.games.games.gameBannerUploadPrepare
API
cloud.games.games.gameBannerUploadPrepare
Prepares a game banner image upload.
POST https://cloud.api.rivet.gg/v1/games/{game_id}/banner-upload/prepare
curl -X POST -d '@body.json' 'https://cloud.api.rivet.gg/v1/games/{game_id}/banner-upload/prepare'
Authorizations
Authorization[header]required
string
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
game_idrequired
string
Body
pathrequired
string
The path/filename of the game banner.
mime
string
The MIME type of the game banner.
content_length
integer
Unsigned 64 bit integer.
Response
upload_idrequired
string
presigned_requestrequired
object
A presigned request used to upload files. Upload your file to the given URL via a PUT request.
curl -X POST -d '@body.json' 'https://cloud.api.rivet.gg/v1/games/{game_id}/banner-upload/prepare'