API
cloud.games.cdn.createGameCdnSite
API
cloud.games.cdn.createGameCdnSite
Creates a new CDN site for the given game.
POST https://cloud.api.rivet.gg/v1/games/{game_id}/cdn/sites
curl -X POST -d '@body.json' 'https://cloud.api.rivet.gg/v1/games/{game_id}/cdn/sites'
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
display_namerequired
string
Represent a resource's readable display name.
filesrequired
array
A list of files preparing to upload.
Response
site_idrequired
string
upload_idrequired
string
presigned_requestsrequired
array
curl -X POST -d '@body.json' 'https://cloud.api.rivet.gg/v1/games/{game_id}/cdn/sites'