Skip to main content

CreateGameCdnSite

Creates a new CDN site for the given game.

Path Parameters
  • game_id string required

    Possible values: Value must match regular expression ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$

    A universally unique identifier.

Request Body required
  • display_name string required

    Possible values: 1 ≤ length ≤ 24, Value must match regular expression ^(?:[^ \n\r] ?)+[^ \n\r]$

    Represent a resource's readable display name.

  • files object[] required

    A list of files preparing to upload.

    • path string required

      The path/filename of the file.

    • content_type string

      The MIME type of the file.

    • content_length int64 required

      Unsigned 64 bit integer.

Responses

CreateGameCdnSite 200 response

Schema
  • site_id string required

    Possible values: Value must match regular expression ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$

    A universally unique identifier.

  • upload_id string required

    Possible values: Value must match regular expression ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$

    A universally unique identifier.

  • presigned_requests object[] required
    • path string required

      The name of the file to upload. This is the same as the one given in the upload prepare file.

    • url string required

      The URL of the presigned request for which to upload your file to.