Get all global assets
GET/assets/global
Get all global assets
Request
Query Parameters
The tags of the assets to grab
The type of the assets to grab
Search by start date
Search by end date
Possible values: >= 1
Default value: 1
Specify the page number for pagination (default is 1).
Default value: 10
Specify the number of results per page (default is 10, 0 gets all results).
Possible values: [createdAt
, name
]
Field to order the results by (e.g., 'createdAt', 'ownerId'). Default is 'createdAt'.
Possible values: [asc
, desc
]
Default value: desc
'asc' for ascending or 'desc' for descending order. Default is 'desc'.
Responses
- 200
- 403
- 404
- 500
- default
List of global assets
- application/json
- Schema
- Example (from schema)
- Example
Schema
Array [
]
Asset description
Unique identifier for Schema
Asset tags
Unique identifier for Project
Possible values: <= 32 characters
Name of the asset
Time representation of Asset creation
Asset data
Asset URL
Unique identifier for Asset
[
{
"description": "In today's video, I'll be showing you...",
"schemaId": "s2S7KuFGc",
"tags": [
"adobeillustrator",
"border",
"imageborder"
],
"projectId": "p2Duhf5N6",
"type": "tutorial",
"name": "Profile picture",
"createdAt": "2024-01-01T09:00:00.00Z",
"data": "{\"type\":\"youtube\",\"youtubeId\":\"e6pbkJ37U\"}",
"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"id": "a7qDzJ7XD"
}
]
[
{
"id": "a1g8TGDav",
"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"data": "{\"type\":\"youtube\",\"youtubeId\":\"e6pbkJ37U\"}",
"createdAt": "2024-01-01T09:00:00.00Z",
"type": "tutorial",
"name": "How to Add a Border to an Image",
"projectId": "null",
"tags": [
"adobeillustrator",
"border",
"imageborder"
],
"schemaId": "null",
"description": "In today's video, I'll be showing you..."
},
{
"projectId": "null",
"tags": [
"3D",
"3Ddesign"
],
"schemaId": "null",
"description": "A fully rigged and textured 3D model of a cartoon character ready for animation",
"id": "a3nH4gRjo",
"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..",
"url": "https://example.com/assets/cartoon-character.fbx",
"createdAt": "2024-01-01T09:00:00.00Z",
"name": "Animated Cartoon Character",
"type": "3D character"
}
]
Forbidden
- application/json
- Schema
- Example (from schema)
- Example
Schema
{
"error": "string"
}
{
"error": "Forbidden access"
}
NotFound
- application/json
- Schema
- Example (from schema)
- Example
Schema
{
"error": "string"
}
{
"error": "A mandatory item was not found"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
- Example
Schema
{
"error": "string"
}
{
"error": "Internal Server Error"
}
Unexpected error
- application/json
- Schema
- Example (from schema)
- Example
Schema
{
"error": "string"
}
{
"error": "An unexpected error occured"
}