Get all global assets
GET/assets/global
Get all global assets
Request
Query Parameters
tags string[]
The tags of the assets to grab
type assetType
The type of the assets to grab
Responses
- 200
- 403
- 404
- 500
- default
List of global assets
- application/json
- Schema
- Example (from schema)
- Example
Schema
Array [
]
name stringrequired
Asset name
url string
Asset URL
schemaId schemaId (string)
Unique identifier for Schema
type string
data string
Asset data
id string
Unique identifier for Asset
tags string[]
Asset tags
projectId projectId (string)
Unique identifier for Project
createdAt date-time
Time representation of Asset creation
description string
Asset description
[
{
"name": "How to Add a Border to an Image",
"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"schemaId": "s2S7KuFGc",
"type": "tutorial",
"data": "{\"type\":\"youtube\",\"youtubeId\":\"e6pbkJ37U\"}",
"id": "a7qDzJ7XD",
"tags": [
"adobeillustrator",
"border",
"imageborder"
],
"projectId": "p2Duhf5N6",
"createdAt": "2024-01-01T09:00:00.00Z",
"description": "In today's video, I'll be showing you..."
}
]
[
{
"schemaId": "null",
"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"name": "How to Add a Border to an Image",
"projectId": "null",
"createdAt": "2024-01-01T09:00:00.00Z",
"description": "In today's video, I'll be showing you...",
"id": "a1g8TGDav",
"tags": [
"adobeillustrator",
"border",
"imageborder"
],
"data": "{\"type\":\"youtube\",\"youtubeId\":\"e6pbkJ37U\"}",
"type": "tutorial"
},
{
"name": "Animated Cartoon Character",
"url": "https://example.com/assets/cartoon-character.fbx",
"schemaId": "null",
"data": "{\"mesh\":{\"vertices\":[[-1.0,1.0,0.0],[1.0,1.0,0.0],[1.0,-1.0,0.0],[-1.0,-1.0,0.0]],\"faces..",
"type": "3D character",
"createdAt": "2024-01-01T09:00:00.00Z",
"description": "A fully rigged and textured 3D model of a cartoon character ready for animation",
"projectId": "null",
"tags": [
"3D",
"3Ddesign"
],
"id": "a3nH4gRjo"
}
]
Forbidden
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "Forbidden access"
}
NotFound
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "A mandatory item was not found"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "Internal Server Error"
}
Unexpected error
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "An unexpected error occured"
}
Loading...