Skip to main content

upload

Uploads an allowed file to the server

Request Body

Information required to upload a file

userid string REQUIRED

The UserId

tokenContent string REQUIRED

The token's content

file REQUIRED

The file being uploaded (from a form)

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