Skip to content

Asset

Get all Directories

GET /api/assets/root

List of directories in Content

Response

{
  "name": "Developers",
  "path": "/Game/Developers",
  "type": "Folder"
},
{
  "name": "Splash",
  "path": "/Game/Splash",
  "type": "Folder"
},
{
  "name": "test",
  "path": "/Game/test",
  "type": "Folder"
}

Parameter Type Description
name String The name of the Asset
type String The type of Asset
path String Path/location of the Asset

Get all Folders in Path

GET /api/assets/folders?path=/Game/test

List folders in specified path

Response

{
  "name": "test1",
  "path": "/Game/test/test1",
  "type": "Folder"
}

Parameter Type Description
name String The name of the Asset
path String Path/location of the Asset
type String The type of Asset

Get all Assets in Path

GET /api/assets?path=/&type=all

List assets in path (only levels)

Response

{
  "name": "NewMap1",
  "path": "/Game/test/NewMap1",
  "type": "Unknown"
}

Parameter Type Description
name String The name of the Asset
path String Path/location of the Asset
type String The type of Asset

Get Texture

POST /api/assets/image

Get the texture

Request Body

{
  "path": "/Game/purepng_com-butterflybutterflyinsectsbloodwormwingspairs-1701528208445ifx8q"
}

Parameter Type Description
path String Path/location of the Asset

Response

The Requested image

Get Thumbnail

POST /api/assets/thumbnail

Get Thumbnail of texture if it's available

Request Body

{
  "path": "/Game/purepng_com-butterflybutterflyinsectsbloodwormwingspairs-1701528208445ifx8q"
}

Parameter Type Description
path String Path/location of the Asset

Response

The Requested Thumbnail