This repository defines the public API routes and maps the request to the relevant services.
The routes are generated from the OpenAPI specs inside /spec/paths
.
To regenerate the routes from the specs, run npm run generator
. To run locally, run npm run start
.
Retrieve a list of all users in the current application.
offset | integer Default: 0 Pagination offset |
limit | integer Default: 10 Pagination limit |
[- {
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "username": "John-Mitchell",
- "registered_at": "2019-08-24T14:15:22Z"
}
]
Registers the target user in the current application.
The user unique username.
username required | string non-empty Used only for debug purposes |
{- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "username": "John-Mitchell"
}
{- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "username": "John-Mitchell",
- "registered_at": "2019-08-24T14:15:22Z"
}
Retrieves details about the target user.
user_id required | string <uuid> (UserId) User unique identifier |
{- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "username": "John-Mitchell",
- "registered_at": "2019-08-24T14:15:22Z"
}
Updates the details of the target user.
user_id required | string <uuid> (UserId) User unique identifier |
Change the username
username required | string non-empty Used only for debug purposes |
{- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "username": "John-Mitchell"
}
Deletes the target user.
user_id required | string <uuid> (UserId) User unique identifier |
{- "deleted_assets": {
- "action_maps": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "algorithms": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "animation_graphs": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "animation_sequences": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "animation_sets": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "animations": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "collision_geometries": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "cubemaps": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "event_maps": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "materials": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "meshes": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "modules": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "point_clouds": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "render_graphs": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "scenes": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "scripts": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "shaders": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "skeletons": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "sounds": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "textures": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "textures_1d": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "textures_3d": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "volume_materials": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
]
}
}
Lists all user groups.
user_id required | string <uuid> (UserId) User unique identifier |
[- {
- "group_id": "306db4e0-7449-4501-b76f-075576fe2d8f",
- "name": "Delta Force",
- "description": "The 1st Special Forces Operational Detachment-Delta (1st SFOD-D).",
- "created_at": "2019-08-24T14:15:22Z",
- "members": [
- {
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "joined_at": "2019-08-24T14:15:22Z",
- "group_access": "read",
- "folder_access": "read"
}
]
}
]
Lists all upload tasks of the target user.
user_id required | string <uuid> (UserId) User unique identifier |
offset | integer Default: 0 Pagination offset |
limit | integer Default: 10 Pagination limit |
[- {
- "upload_task_id": "b10b7b4d-5f5b-4227-81be-b65c01192c43",
- "folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901",
- "uploaded_at": "2019-08-24T14:15:22Z",
- "uploaded_by": {
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "username": "John-Mitchell"
}, - "progress": 0.5,
- "download_progress": 0.5,
- "status": "converting",
- "conversion_tasks": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "source_file_id": "2c63f495-4e59-4976-a6f1-8f22fcc6afab",
- "source_file_name": "MyFile.fbx",
- "conversion_pipeline": "auto-detect",
- "progress": 0.5,
- "status": "converting"
}
]
}
]
Generates a user token. This user token identifies the user when making a request.
user_id required | string <uuid> (UserId) User unique identifier |
scope required | string Enum: "read" "write" "manage" Token permission scope |
ttl | string <duration> Default: "1h" Time to live |
{- "scope": "read",
- "ttl": "1h"
}
{- "user_token": "string",
- "expires_in": 0,
- "expires_on": 0
}
Creates a new user group.
name required | string non-empty |
description | string |
required | Array of objects (GroupMember) |
{- "group_id": "306db4e0-7449-4501-b76f-075576fe2d8f",
- "name": "Delta Force",
- "description": "The 1st Special Forces Operational Detachment-Delta (1st SFOD-D).",
- "members": [
- {
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "group_access": "read",
- "folder_access": "read"
}
]
}
{- "group_id": "306db4e0-7449-4501-b76f-075576fe2d8f",
- "name": "Delta Force",
- "description": "The 1st Special Forces Operational Detachment-Delta (1st SFOD-D).",
- "created_at": "2019-08-24T14:15:22Z",
- "members": [
- {
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "joined_at": "2019-08-24T14:15:22Z",
- "group_access": "read",
- "folder_access": "read"
}
]
}
Gets a group details.
group_id required | string <uuid> (GroupId) Group unique identifier |
{- "group_id": "306db4e0-7449-4501-b76f-075576fe2d8f",
- "name": "Delta Force",
- "description": "The 1st Special Forces Operational Detachment-Delta (1st SFOD-D).",
- "created_at": "2019-08-24T14:15:22Z",
- "members": [
- {
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "joined_at": "2019-08-24T14:15:22Z",
- "group_access": "read",
- "folder_access": "read"
}
]
}
Updates a group details.
group_id required | string <uuid> (GroupId) Group unique identifier |
name required | string non-empty |
description required | string |
{- "group_id": "306db4e0-7449-4501-b76f-075576fe2d8f",
- "name": "Delta Force",
- "description": "The 1st Special Forces Operational Detachment-Delta (1st SFOD-D).",
- "members": [
- {
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "group_access": "read",
- "folder_access": "read"
}
]
}
Grants member access to the group.
group_id required | string <uuid> (GroupId) Group unique identifier |
member_type required | string Enum: "users" "groups" User or group |
member_id required | string <uuid> User or group unique identifier |
group_access required | string Enum: "read" "write" "manage" |
folder_access required | string Enum: "read" "write" "manage" |
{- "group_access": "read",
- "folder_access": "read"
}
Revoke requested user access to group.
group_id required | string <uuid> (GroupId) Group unique identifier |
member_type required | string Enum: "users" "groups" User or group |
member_id required | string <uuid> User or group unique identifier |
Lists all accessible folders
offset | integer Default: 0 Pagination offset |
limit | integer Default: 10 Pagination limit |
[- {
- "folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901",
- "parent_folder_id": "26caaf35-00f1-4c8f-a2ac-cb04b9b9a6ec",
- "name": "Characters",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": {
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "username": "John-Mitchell",
- "registered_at": "2019-08-24T14:15:22Z"
}, - "subfolders": [
- { }
], - "source_file_count": 0,
- "asset_count": 0
}
]
Creates a folder.
name required | string non-empty Folder name |
subfolders | Array of objects (Folder) |
{- "folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901",
- "parent_folder_id": "26caaf35-00f1-4c8f-a2ac-cb04b9b9a6ec",
- "name": "Characters",
- "created_by": {
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "username": "John-Mitchell"
}, - "subfolders": [
- { }
]
}
{- "folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901",
- "parent_folder_id": "26caaf35-00f1-4c8f-a2ac-cb04b9b9a6ec",
- "name": "Characters",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": {
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "username": "John-Mitchell",
- "registered_at": "2019-08-24T14:15:22Z"
}, - "subfolders": [
- { }
], - "source_file_count": 0,
- "asset_count": 0
}
Gets the requested folder details.
folder_id required | string <uuid> (FolderId) Folder unique identifier |
{- "folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901",
- "parent_folder_id": "26caaf35-00f1-4c8f-a2ac-cb04b9b9a6ec",
- "name": "Characters",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": {
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "username": "John-Mitchell",
- "registered_at": "2019-08-24T14:15:22Z"
}, - "subfolders": [
- { }
], - "source_file_count": 0,
- "asset_count": 0
}
Move folders inside the specified folder.
folder_id required | string <uuid> (FolderId) Folder unique identifier |
Folder unique identifier
[- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
Updates the folder details.
folder_id required | string <uuid> (FolderId) Folder unique identifier |
name | string non-empty Folder name |
{- "name": "Characters"
}
Creates a subfolder.
folder_id required | string <uuid> (FolderId) Folder unique identifier |
name required | string non-empty Folder name |
subfolders | Array of objects (Folder) |
{- "folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901",
- "parent_folder_id": "26caaf35-00f1-4c8f-a2ac-cb04b9b9a6ec",
- "name": "Characters",
- "created_by": {
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "username": "John-Mitchell"
}, - "subfolders": [
- { }
]
}
{- "folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901",
- "parent_folder_id": "26caaf35-00f1-4c8f-a2ac-cb04b9b9a6ec",
- "name": "Characters",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": {
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "username": "John-Mitchell",
- "registered_at": "2019-08-24T14:15:22Z"
}, - "subfolders": [
- { }
], - "source_file_count": 0,
- "asset_count": 0
}
Lists all subfolders of requested folder. This request can be recursive.
folder_id required | string <uuid> (FolderId) Folder unique identifier |
[- {
- "folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901",
- "parent_folder_id": "26caaf35-00f1-4c8f-a2ac-cb04b9b9a6ec",
- "name": "Characters",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": {
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "username": "John-Mitchell",
- "registered_at": "2019-08-24T14:15:22Z"
}, - "subfolders": [
- { }
], - "source_file_count": 0,
- "asset_count": 0
}
]
List member access to the targeted folder.
folder_id required | string <uuid> (FolderId) Folder unique identifier |
{- "users": [
- {
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "username": "John-Mitchell",
- "access": "read"
}
], - "groups": [
- {
- "group_id": "306db4e0-7449-4501-b76f-075576fe2d8f",
- "name": "Delta Force",
- "access": "read"
}
]
}
Grants member access to the targeted folder.
folder_id required | string <uuid> (FolderId) Folder unique identifier |
member_type required | string Enum: "users" "groups" User or group |
member_id required | string <uuid> User or group unique identifier |
access required | string Enum: "read" "write" "manage" |
{- "access": "read"
}
Revokes member access to a target folder.
folder_id required | string <uuid> (FolderId) Folder unique identifier |
member_type required | string Enum: "users" "groups" User or group |
member_id required | string <uuid> User or group unique identifier |
Uploads the specified source file(s).
folder_id required | string <uuid> (FolderId) Folder unique identifier |
conversion_pipeline required | string (ConversionPipeline) Enum: "auto-detect" "volume" "scene" "texture" "animation" "beta-pipeline" |
Array of objects Instead of submitting a source file as a multipart/form-data field, you can also submit a URL to a source file. This is useful if you want to upload a source file that is already available on a storage service, or upload a source file that is too large to upload via the API. | |
options | object Options for the conversion pipeline. For future use. |
{- "upload_task_id": "b10b7b4d-5f5b-4227-81be-b65c01192c43"
}
Lists all source files in a folder.
folder_id required | string <uuid> (FolderId) Folder unique identifier |
offset | integer Default: 0 Pagination offset |
limit | integer Default: 10 Pagination limit |
object (Filters) A filter object containing properties to filter the query by |
[- {
- "source_file_id": "2c63f495-4e59-4976-a6f1-8f22fcc6afab",
- "source_file_original_name": "my_scene.fbx",
- "name": "My Scene (FBX)",
- "size": 12354
}
]
Move source files inside the specified folder.
folder_id required | string <uuid> (FolderId) Folder unique identifier |
Source file unique identifier
[- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
Lists all upload tasks in a folder.
folder_id required | string <uuid> (FolderId) Folder unique identifier |
offset | integer Default: 0 Pagination offset |
limit | integer Default: 10 Pagination limit |
[- {
- "upload_task_id": "b10b7b4d-5f5b-4227-81be-b65c01192c43",
- "folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901",
- "uploaded_at": "2019-08-24T14:15:22Z",
- "uploaded_by": {
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "username": "John-Mitchell"
}, - "progress": 0.5,
- "download_progress": 0.5,
- "status": "converting",
- "conversion_tasks": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "source_file_id": "2c63f495-4e59-4976-a6f1-8f22fcc6afab",
- "source_file_name": "MyFile.fbx",
- "conversion_pipeline": "auto-detect",
- "progress": 0.5,
- "status": "converting"
}
]
}
]
Lists assets.
folder_id required | string <uuid> (FolderId) Folder unique identifier |
offset | integer Default: 0 Pagination offset |
limit | integer Default: 10 Pagination limit |
object (_index_AssetListFilters) Filter options | |
recursive | boolean Default: false If true, the request will return all assets in the target folder and all subfolders recursively. If false, only the assets in the target folder will be returned. |
{- "action_maps": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "algorithms": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "animation_graphs": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "animation_sequences": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "animation_sets": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "animations": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "collision_geometries": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "cubemaps": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "event_maps": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "materials": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "meshes": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "modules": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "point_clouds": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "render_graphs": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "scenes": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "scripts": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "shaders": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "skeletons": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "sounds": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "textures": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "textures_1d": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "textures_3d": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "volume_materials": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
]
}
Creates a new asset.
folder_id required | string <uuid> (FolderId) Folder unique identifier |
Asset creation options.
asset_type required | string (_index_AssetTypeCreatable) Enum: "action_map" "algorithm" "animation_graph" "animation_sequence" "cubemap" "event_map" "material" "module" "render_graph" "scene" "script" "shader" "volume_material" |
name required | string non-empty |
{- "asset_type": "scene",
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string"
}
{- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset",
- "source_to_copy_asset_id_map": {
- "source_asset_id1": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "source_asset_id2": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}
}
Move assets inside the specified folder.
folder_id required | string <uuid> (FolderId) Folder unique identifier |
A flat list of asset ids to move.
Asset unique identifier
[- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
Creates a material.
folder_id required | string <uuid> (FolderId) Folder unique identifier |
Material description.
dataJson required | object Data object following the descriptor of the attached shader |
isDoubleSided required | boolean Whether the faces of the geometry are rendered from both sides or not |
name required | string Name of the asset |
shaderRef required | string <uuid> The implemented shader |
{- "dataJson": { },
- "isDoubleSided": true,
- "name": "string",
- "shaderRef": "acdae6f2-6d2b-40ed-ad9c-d2ac6d8eb82e"
}
{- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4"
}
Creates a cubemap.
folder_id required | string <uuid> (FolderId) Folder unique identifier |
Cubemap description.
faces required | Array of strings <uuid> = 6 items The 6 images forming the cube faces |
name required | string Name of the asset |
{- "faces": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "name": "string"
}
{- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4"
}
Imports or replaces multiple assets submitted as a package. The package must be a zip archive containing the assets to import.
The package should contain the assets themselves at the root level of the archive with their descriptions in JSON format, and their payloads (e.g. textures, meshes, etc.) and contain all the assets' dependencies if they do not already exist.
Supported assets are :
The packaged assets' files should be named according to the following pattern:
- desc.[asset_type].{uuid}
- payload.[mesh|texture|animation|skeleton|texture_1d|texture_3d|collision_geometry|sound].{uuid}
- payload.[texture_1d|texture|texture_3d].mips[0-16].{uuid}
- payload.point_cloud.[position|color].{uuid}
- payload.texture_3d.histogram.{uuid}
The package may also contain an overwrite.json file that describes which assets to overwrite. The overwrite.json file is only used if the overwrite query parameter is set to only-specified.
folder_id required | string <uuid> (FolderId) Folder unique identifier |
"never" (string) or "only-specified" (string) or "always" (string) (_index_OverwriteOptions) Default: "never" Overwrite behavior when an asset with the same id already exists |
The asset package to import
{- "asset_ids": {
- "imported": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "overwritten": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "skipped": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}, - "skipped_files": [
- "string"
]
}
Lists all sessions running on scenes contained in a specified folder.
folder_id required | string <uuid> (FolderId) Folder unique identifier |
[- {
- "session_id": "1ffd059c-17ea-40a8-8aef-70fd0307db82",
- "scene_id": "861eef56-1159-4a95-802f-abab2d0cc192",
- "scene_name": "My character",
- "folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901",
- "max_users": 10,
- "creator_user_id": "7cd45191-9c6d-4e03-9d6c-fdf3d3c08277",
- "created_at": "2019-08-24T14:15:22Z",
- "country_code": "US",
- "continent_code": "NA",
- "is_transient_session": "NA",
- "clients": [
- {
- "client_id": "5b3fa7ba-57d3-4017-a65b-d57dcd2db643",
- "client_type": "user",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "username": "John-Mitchell"
}
]
}
]
List source files.
offset | integer Default: 0 Pagination offset |
limit | integer Default: 10 Pagination limit |
object (Filters) A filter object containing properties to filter the query by |
[- {
- "source_file_id": "2c63f495-4e59-4976-a6f1-8f22fcc6afab",
- "source_file_original_name": "my_scene.fbx",
- "name": "My Scene (FBX)",
- "size": 12354
}
]
Deletes the target source files. Deleting a source file is permanent.
source_file_ids required | Array of strings <uuid> (SourceFileId) non-empty List of source files to delete |
delete_assets | boolean Default: false If true, delete the assets associated with the source files as well. |
{- "source_file_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "delete_assets": false
}
Get source file details.
source_file_id required | string <uuid> (SourceFileId) Source file unique identifier |
{- "source_file_id": "2c63f495-4e59-4976-a6f1-8f22fcc6afab",
- "source_file_original_name": "my_scene.fbx",
- "name": "My Scene (FBX)",
- "size": 12354
}
Updates details for a specific source file.
source_file_id required | string <uuid> (SourceFileId) Source file unique identifier |
name required | string non-empty Source file display name |
{- "source_file_id": "2c63f495-4e59-4976-a6f1-8f22fcc6afab",
- "name": "My Scene (FBX)"
}
Lists all assets generated from the requested source file.
source_file_id required | string <uuid> (SourceFileId) Source file unique identifier |
{- "action_maps": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "algorithms": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "animation_graphs": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "animation_sequences": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "animation_sets": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "animations": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "collision_geometries": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "cubemaps": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "event_maps": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "materials": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "meshes": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "modules": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "point_clouds": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "render_graphs": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "scenes": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "scripts": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "shaders": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "skeletons": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "sounds": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "textures": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "textures_1d": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "textures_3d": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "volume_materials": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
]
}
Lists all upload tasks. These upload tasks relate to uploaded source files.
offset | integer Default: 0 Pagination offset |
limit | integer Default: 10 Pagination limit |
[- {
- "upload_task_id": "b10b7b4d-5f5b-4227-81be-b65c01192c43",
- "folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901",
- "uploaded_at": "2019-08-24T14:15:22Z",
- "uploaded_by": {
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "username": "John-Mitchell"
}, - "progress": 0.5,
- "download_progress": 0.5,
- "status": "converting",
- "conversion_tasks": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "source_file_id": "2c63f495-4e59-4976-a6f1-8f22fcc6afab",
- "source_file_name": "MyFile.fbx",
- "conversion_pipeline": "auto-detect",
- "progress": 0.5,
- "status": "converting"
}
]
}
]
Gets information related to an upload task. This upload task relates to uploaded source files.
upload_task_id required | string <uuid> (UploadTaskId) Upload task unique identifier |
{- "upload_task_id": "b10b7b4d-5f5b-4227-81be-b65c01192c43",
- "folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901",
- "uploaded_at": "2019-08-24T14:15:22Z",
- "uploaded_by": {
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "username": "John-Mitchell"
}, - "progress": 0.5,
- "download_progress": 0.5,
- "status": "converting",
- "conversion_tasks": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "source_file_id": "2c63f495-4e59-4976-a6f1-8f22fcc6afab",
- "source_file_name": "MyFile.fbx",
- "conversion_pipeline": "auto-detect",
- "progress": 0.5,
- "status": "converting"
}
]
}
Gets metadata related to a conversion task. This metadata is produced by the conversion task.
asset_id required | string <uuid> (_index_AssetId) Asset identifier |
filename required | string Example: file.json Metadata filename, produced by the conversion task. |
Returns a list of all assets.
offset | integer Default: 0 Pagination offset |
limit | integer Default: 10 Pagination limit |
object (Filter) Filter options |
{- "action_maps": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "algorithms": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "animation_graphs": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "animation_sequences": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "animation_sets": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "animations": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "collision_geometries": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "cubemaps": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "event_maps": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "materials": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "meshes": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "modules": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "point_clouds": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "render_graphs": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "scenes": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "scripts": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "shaders": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "skeletons": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "sounds": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "textures": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "textures_1d": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "textures_3d": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
], - "volume_materials": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "name": "my_asset"
}
]
}
Batch delete assets. You MUST NOT reference assets.
Asset unique identifier
[- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
Deletes the asset.
asset_container required | string (_index_AssetContainer) Enum: "action_maps" "algorithms" "animations" "animation_graphs" "animation_sequences" "animation_sets" "collision_geometries" "cubemaps" "event_maps" "materials" "meshes" "modules" "point_clouds" "render_graphs" "scenes" "scripts" "shaders" "skeletons" "sounds" "textures" "textures_1d" "textures_3d" "volume_materials" Asset container |
asset_id required | string <uuid> (_index_AssetId) Asset identifier |
Gets the source file of the specified asset.
asset_container required | string (_index_AssetContainer) Enum: "action_maps" "algorithms" "animations" "animation_graphs" "animation_sequences" "animation_sets" "collision_geometries" "cubemaps" "event_maps" "materials" "meshes" "modules" "point_clouds" "render_graphs" "scenes" "scripts" "shaders" "skeletons" "sounds" "textures" "textures_1d" "textures_3d" "volume_materials" Asset container |
asset_id required | string <uuid> (_index_AssetId) Asset identifier |
{- "source_file_id": "2c63f495-4e59-4976-a6f1-8f22fcc6afab",
- "source_file_original_name": "my_scene.fbx",
- "name": "My Scene (FBX)",
- "size": 12354
}
Gets the asset folder from the specified asset.
asset_container required | string (_index_AssetContainer) Enum: "action_maps" "algorithms" "animations" "animation_graphs" "animation_sequences" "animation_sets" "collision_geometries" "cubemaps" "event_maps" "materials" "meshes" "modules" "point_clouds" "render_graphs" "scenes" "scripts" "shaders" "skeletons" "sounds" "textures" "textures_1d" "textures_3d" "volume_materials" Asset container |
asset_id required | string <uuid> (_index_AssetId) Asset identifier |
{- "folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901",
- "parent_folder_id": "26caaf35-00f1-4c8f-a2ac-cb04b9b9a6ec",
- "name": "Characters",
- "created_at": "2019-08-24T14:15:22Z",
- "created_by": {
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "username": "John-Mitchell",
- "registered_at": "2019-08-24T14:15:22Z"
}, - "subfolders": [
- { }
], - "source_file_count": 0,
- "asset_count": 0
}
Packages and downloads the target asset.
asset_container required | string (_index_AssetContainer) Enum: "action_maps" "algorithms" "animations" "animation_graphs" "animation_sequences" "animation_sets" "collision_geometries" "cubemaps" "event_maps" "materials" "meshes" "modules" "point_clouds" "render_graphs" "scenes" "scripts" "shaders" "skeletons" "sounds" "textures" "textures_1d" "textures_3d" "volume_materials" Asset container |
asset_id required | string <uuid> (_index_AssetId) Asset identifier |
Downloads an asset payload in a given format. Only mesh is supported for the moment. This endpoint requires special export permission.
asset_container_exportable required | string (_index_AssetContainerExportable) Enum: "meshes" "sounds" Asset that can be exported and downloaded from the api |
asset_id required | string <uuid> (_index_AssetId) Asset identifier |
format required | string Enum: "obj" "stl" Exported mesh format |
scale | number Default: 1 Apply a scale on the exported mesh |
sub_mesh_index | number >= 0 Export a specific sub-mesh from a mesh asset |
Gets the asset details from the specified asset.
asset_container required | string (_index_AssetContainer) Enum: "action_maps" "algorithms" "animations" "animation_graphs" "animation_sequences" "animation_sets" "collision_geometries" "cubemaps" "event_maps" "materials" "meshes" "modules" "point_clouds" "render_graphs" "scenes" "scripts" "shaders" "skeletons" "sounds" "textures" "textures_1d" "textures_3d" "volume_materials" Asset container |
asset_id required | string <uuid> (_index_AssetId) Asset identifier |
{- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "contributors": [
- {
- "contribution_count": 1,
- "user": {
- "registered_at": "2019-08-24T14:15:22Z",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "username": "John-Mitchell"
}
}
], - "created_at": "2019-08-24T14:15:22Z",
- "created_by": {
- "registered_at": "2019-08-24T14:15:22Z",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "username": "John-Mitchell"
}, - "last_edited_at": "2019-08-24T14:15:22Z",
- "last_edited_by": {
- "registered_at": "2019-08-24T14:15:22Z",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "username": "John-Mitchell"
}, - "name": "SM_Sphere",
- "type": "scene"
}
Gets the asset dependencies from the specified asset.
asset_container required | string (_index_AssetContainer) Enum: "action_maps" "algorithms" "animations" "animation_graphs" "animation_sequences" "animation_sets" "collision_geometries" "cubemaps" "event_maps" "materials" "meshes" "modules" "point_clouds" "render_graphs" "scenes" "scripts" "shaders" "skeletons" "sounds" "textures" "textures_1d" "textures_3d" "volume_materials" Asset container |
asset_id required | string <uuid> (_index_AssetId) Asset identifier |
offset | integer Default: 0 Pagination offset |
limit | integer Default: 10 Pagination limit |
"all" (string) or "direct" (string) or max (number) (Depth) Default: "all" Filter level | |
object (Filter) Filter options | |
Array of "name" (string) or "dependencies" (string) or "count" (string) or "public" (string) or "payload_info" (string) (Properties) Include additional properties to the asset |
[- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "asset_type": "scene",
- "properties": {
- "name": "My scene",
- "direct_count": 3,
- "indirect_count": 5,
- "is_public": false,
- "payload_info": {
- "hash": "57aea19fbe92d623f7b3b3b3",
- "storage_id": 7693074
}, - "dependencies": [
- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "count": 3
}
]
}
}
]
Gets the asset references from the specified asset.
asset_container required | string (_index_AssetContainer) Enum: "action_maps" "algorithms" "animations" "animation_graphs" "animation_sequences" "animation_sets" "collision_geometries" "cubemaps" "event_maps" "materials" "meshes" "modules" "point_clouds" "render_graphs" "scenes" "scripts" "shaders" "skeletons" "sounds" "textures" "textures_1d" "textures_3d" "volume_materials" Asset container |
asset_id required | string <uuid> (_index_AssetId) Asset identifier |
offset | integer Default: 0 Pagination offset |
limit | integer Default: 10 Pagination limit |
Array of "name" (string) or "count" (string) or "public" (string) (Properties) Include additional properties to the asset |
[- {
- "asset_id": "b4695157-0d1d-4da0-8f9e-5c53149389e4",
- "asset_type": "scene",
- "properties": {
- "name": "My scene",
- "direct_count": 3,
- "is_public": false
}
}
]
Gets the asset description from the specified asset.
asset_container required | string (_index_AssetContainer) Enum: "action_maps" "algorithms" "animations" "animation_graphs" "animation_sequences" "animation_sets" "collision_geometries" "cubemaps" "event_maps" "materials" "meshes" "modules" "point_clouds" "render_graphs" "scenes" "scripts" "shaders" "skeletons" "sounds" "textures" "textures_1d" "textures_3d" "volume_materials" Asset container |
asset_id required | string <uuid> (_index_AssetId) Asset identifier |
{- "actions": {
- "actionName1": { },
- "actionName2": { }
}, - "name": "string",
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"
}
Updates asset description. Supports only updating name.
asset_container required | string (_index_AssetContainer) Enum: "action_maps" "algorithms" "animations" "animation_graphs" "animation_sequences" "animation_sets" "collision_geometries" "cubemaps" "event_maps" "materials" "meshes" "modules" "point_clouds" "render_graphs" "scenes" "scripts" "shaders" "skeletons" "sounds" "textures" "textures_1d" "textures_3d" "volume_materials" Asset container |
asset_id required | string <uuid> (_index_AssetId) Asset identifier |
name | string non-empty |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "name": "string"
}
Gets the asset payload from the specified asset.
asset_container_with_payload required | string (_index_AssetContainerWithPayload) Enum: "animations" "animation_sequences" "collision_geometries" "meshes" "point_clouds" "scripts" "shaders" "skeletons" "sounds" "textures" "textures_1d" "textures_3d" Asset that has payload |
asset_id required | string <uuid> (_index_AssetId) Asset identifier |
Texture mip level (string) or Texture 3D histogram"histogram" (string) or Point cloud position"position" (string) or Point cloud color"color" (string) Some assets have sub-resources that can be requested. For example, texture assets can have mip levels, point cloud assets can have position and color payloads. |
Gets the asset history from the specified asset.
asset_container required | string (_index_AssetContainer) Enum: "action_maps" "algorithms" "animations" "animation_graphs" "animation_sequences" "animation_sets" "collision_geometries" "cubemaps" "event_maps" "materials" "meshes" "modules" "point_clouds" "render_graphs" "scenes" "scripts" "shaders" "skeletons" "sounds" "textures" "textures_1d" "textures_3d" "volume_materials" Asset container |
asset_id required | string <uuid> (_index_AssetId) Asset identifier |
{ }
Gets the asset metadata from the specified asset.
asset_container required | string (_index_AssetContainer) Enum: "action_maps" "algorithms" "animations" "animation_graphs" "animation_sequences" "animation_sets" "collision_geometries" "cubemaps" "event_maps" "materials" "meshes" "modules" "point_clouds" "render_graphs" "scenes" "scripts" "shaders" "skeletons" "sounds" "textures" "textures_1d" "textures_3d" "volume_materials" Asset container |
asset_id required | string <uuid> (_index_AssetId) Asset identifier |
{ }
Gets the code of the specified asset.
asset_container_with_code required | string (_index_AssetContainerWithCode) Enum: "algorithms" "animation_sequences" "modules" "scripts" "shaders" Asset that has code |
asset_id required | string <uuid> (_index_AssetId) Asset identifier |
Gets the asset thumbnail from the specified asset.
asset_container required | string (_index_AssetContainer) Enum: "action_maps" "algorithms" "animations" "animation_graphs" "animation_sequences" "animation_sets" "collision_geometries" "cubemaps" "event_maps" "materials" "meshes" "modules" "point_clouds" "render_graphs" "scenes" "scripts" "shaders" "skeletons" "sounds" "textures" "textures_1d" "textures_3d" "volume_materials" Asset container |
asset_id required | string <uuid> (_index_AssetId) Asset identifier |
size required | string Enum: "large" "medium" "small" "tiny" The size of the thumbnail |
default_url | string <uri> A default image url to redirect to if the thumbnail is not found |
Assigns a thumbnail to the specified asset.
asset_container required | string (_index_AssetContainer) Enum: "action_maps" "algorithms" "animations" "animation_graphs" "animation_sequences" "animation_sets" "collision_geometries" "cubemaps" "event_maps" "materials" "meshes" "modules" "point_clouds" "render_graphs" "scenes" "scripts" "shaders" "skeletons" "sounds" "textures" "textures_1d" "textures_3d" "volume_materials" Asset container |
asset_id required | string <uuid> (_index_AssetId) Asset identifier |
The image payload in .jpg format.
Gets the asset custom types from the specified asset recursively.
asset_container_with_custom_types required | string (_index_AssetContainerWithCustomTypes) Value: "modules" Asset that has custom types |
asset_id required | string <uuid> (_index_AssetId) Asset identifier |
{ }
Lists all sessions running a specified scene.
scene_id required | string <uuid> (_index_AssetId) Scene unique identifier |
[- {
- "session_id": "1ffd059c-17ea-40a8-8aef-70fd0307db82",
- "scene_id": "861eef56-1159-4a95-802f-abab2d0cc192",
- "scene_name": "My character",
- "folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901",
- "max_users": 10,
- "creator_user_id": "7cd45191-9c6d-4e03-9d6c-fdf3d3c08277",
- "created_at": "2019-08-24T14:15:22Z",
- "country_code": "US",
- "continent_code": "NA",
- "is_transient_session": "NA",
- "clients": [
- {
- "client_id": "5b3fa7ba-57d3-4017-a65b-d57dcd2db643",
- "client_type": "user",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "username": "John-Mitchell"
}
]
}
]
Get the axis aligned bounding box of the specified scene.
scene_id required | string <uuid> (_index_AssetId) Scene unique identifier |
{- "max": [
- 4.41093111038208,
- 6.669726848602295,
- 2.882591485977173
], - "min": [
- -4.411155700683594,
- -0.31339988112449646,
- -3.9777069091796875
]
}
Create a new entity in a scene
scene_id required | string <uuid> (_index_AssetId) Scene unique identifier |
Entity components to create
required | object (Animation Controller) |
{- "animation_controller": {
- "animationGraphRef": "17ef0ffd-5703-46b5-8897-6614e91cd7f2",
- "animationSetRef": "754b6e34-0beb-4476-b7b6-941945b264c3",
- "dataJSON": { },
- "rootBoneEntityRef": {
- "originalEUID": "00000000-0000-0000-0000-000000000000",
- "linkage": [ ]
}, - "rootMotionEnabled": true
}
}
{- "entity_id": "8161163a-f227-466f-bc01-090a01e80165"
}
Get a specific entity from a scene
scene_id required | string <uuid> (_index_AssetId) Scene unique identifier |
entity_id required | string <uuid> Entity unique identifier |
compute_global_transform | boolean Default: false Compute the entity global transform in the scene space |
{- "animation_controller": {
- "animationGraphRef": "17ef0ffd-5703-46b5-8897-6614e91cd7f2",
- "animationSetRef": "754b6e34-0beb-4476-b7b6-941945b264c3",
- "dataJSON": { },
- "rootBoneEntityRef": {
- "originalEUID": "00000000-0000-0000-0000-000000000000",
- "linkage": [ ]
}, - "rootMotionEnabled": true
}, - "euid": {
- "value": "a860a344-d7b2-406e-828e-8d442f23f344"
}
}
Update a specific entity from a scene
scene_id required | string <uuid> (_index_AssetId) Scene unique identifier |
entity_id required | string <uuid> Entity unique identifier |
Entity components to update
required | object (Animation Controller) |
{- "animation_controller": {
- "animationGraphRef": "17ef0ffd-5703-46b5-8897-6614e91cd7f2",
- "animationSetRef": "754b6e34-0beb-4476-b7b6-941945b264c3",
- "dataJSON": { },
- "rootBoneEntityRef": {
- "originalEUID": "00000000-0000-0000-0000-000000000000",
- "linkage": [ ]
}, - "rootMotionEnabled": true
}
}
Lists all running rendering sessions.
object (Filter) Filter options |
[- {
- "session_id": "1ffd059c-17ea-40a8-8aef-70fd0307db82",
- "scene_id": "861eef56-1159-4a95-802f-abab2d0cc192",
- "scene_name": "My character",
- "folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901",
- "max_users": 10,
- "creator_user_id": "7cd45191-9c6d-4e03-9d6c-fdf3d3c08277",
- "created_at": "2019-08-24T14:15:22Z",
- "country_code": "US",
- "continent_code": "NA",
- "is_transient_session": "NA",
- "clients": [
- {
- "client_id": "5b3fa7ba-57d3-4017-a65b-d57dcd2db643",
- "client_type": "user",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "username": "John-Mitchell"
}
]
}
]
Create a new rendering session
scene_id required | string <uuid> (_index_AssetId) The unique identifier of the scene to launch. |
renderer_version | string The version of the renderer to use. |
is_transient | boolean Default: false Whether the session should be created as transient or not. |
{- "scene_id": "861eef56-1159-4a95-802f-abab2d0cc192",
- "renderer_version": "string",
- "is_transient": false
}
{- "session_id": "1ffd059c-17ea-40a8-8aef-70fd0307db82"
}
Retrieves details about the target session.
session_id required | string <uuid> Session unique identifier |
{- "session_id": "1ffd059c-17ea-40a8-8aef-70fd0307db82",
- "scene_id": "861eef56-1159-4a95-802f-abab2d0cc192",
- "scene_name": "My character",
- "folder_id": "7695bac3-9397-4ec2-9335-45a2a16f1901",
- "max_users": 10,
- "creator_user_id": "7cd45191-9c6d-4e03-9d6c-fdf3d3c08277",
- "created_at": "2019-08-24T14:15:22Z",
- "country_code": "US",
- "continent_code": "NA",
- "is_transient_session": "NA",
- "clients": [
- {
- "client_id": "5b3fa7ba-57d3-4017-a65b-d57dcd2db643",
- "client_type": "user",
- "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5",
- "username": "John-Mitchell"
}
]
}
Creates a new client for the user and returns a token to join the session.
session_id required | string <uuid> Session unique identifier |
{- "session_token": "string",
- "endpoint_info": {
- "ip": "192.168.0.1",
- "port": 80,
- "ssl_port": 443
}
}