Skip to main content

uploadPart

Uploads part of an allowed file to the server

Request Body

Information required to upload part of a file

userid string REQUIRED

The UserId

tokenContent string REQUIRED

The token's content

file REQUIRED

The file being uploaded (from a form)

originalFileName string

The original file's name

chunkNumber integer REQUIRED

The current chunk of a part to upload

amountOfChunks integer REQUIRED

The total amount of chunks as calculated by the client

chunkId string

The assigned upload part id given after the first chunk is uploaded

avatarMeta object

The avatarMeta if the upload is an avatar

Publicity integer

The publicity of an avatar represented as an integer from 0-1

Name string

The name of the avatar

Description string

The avatar's description

Tags array

The avatar's tags

ImageURL string

The Image URL for an avatar

BuildPlatform integer

The BuildPlatform for the file being uploaded along with the avatarMeta

Id string

The Id of an existing avatar being overwritten or added to

worldMeta object

The worldMeta if the upload is a world

Publicity integer

The publicity of an world represented as an integer from 0-1

Name string

The name of the world

Description string

The world's description

Tags array

The world's tags

ThumbnailURL string

The Thumbnail URL for a world

IconURLs array

An array of Image URLs as icons for a world

ServerScripts array

An array of Script URLs as ServerScripts for a world

BuildPlatform integer

The BuildPlatform for the file being uploaded along with the worldMeta

Id string

The Id of an existing world being overwritten or added to

Responses
200

A successful request

Schema OPTIONAL
success boolean

Was the operation a success

message string

The message returned by the server

result object OPTIONAL

The result of the server response

chunkNumber integer OPTIONAL

The next chunk number as calculated by the server

chunkId string OPTIONAL

The assigned chunkId