Retrieve an existing asset
GET/asset/:assetId
Retrieve an existing asset
Request
Path Parameters
assetId assetIdrequired
ID of the asset to retrieve
Responses
- 200
- 401
- 403
- 404
- 500
- default
Asset successfully retrieved
- application/json
- Schema
- Example (from schema)
Schema
name assetName (string)required
Possible values: <= 32 characters
Name of the asset
tags string[]
Asset tags
url string
Asset URL
createdAt date-time
Time representation of Asset creation
schemaId schemaId (string)
Unique identifier for Schema
type string
data string
Asset data
description string
Asset description
id string
Unique identifier for Asset
projectId projectId (string)
Unique identifier for Project
{
"name": "Profile picture",
"tags": [
"adobeillustrator",
"border",
"imageborder"
],
"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"createdAt": "2024-01-01T09:00:00.00Z",
"schemaId": "s2S7KuFGc",
"type": "tutorial",
"data": "{\"type\":\"youtube\",\"youtubeId\":\"e6pbkJ37U\"}",
"description": "In today's video, I'll be showing you...",
"id": "a7qDzJ7XD",
"projectId": "p2Duhf5N6"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string
{
"error": "string"
}
{
"error": "Unauthorized access"
}
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...