List
Resolves a list of attachments created for given avatar.
GET /avatars/{AVATAR_ID}/attachments
Request
curl -X GET "https://api.loomai.com/v0.5/avatars/{AVATAR_ID}/attachments"
curl -X GET "https://api.loomai.com/v0.5/avatars/5723980430835712/attachments"
Response
On success the endpoint returns HTTP 200 OK as well as a JSON body containing a list of attachments.
{
"entries": [
{
"id": int64,
"type": "string",
"name": "string",
"url": "string",
"updated_at": "string" // ISO-8601 DATETIME
},
...
]
}
{
"entries": [
{
"id": 5754466256551936,
"type": "renderings_preview",
"name": "neutral",
"url": "https://storage.googleapis.com/live-com-loomai-api-attachments/5484235973984256/MThVY01uV2tfbWlhLWF2YXRhcg==.png",
"updated_at": "2020-04-05T16:37:57Z"
},
{
"id": 5670865657659392,
"type": "gltf",
"name": "",
"url": "https://storage.googleapis.com/live-com-loomai-api-attachments/5484235973984256/model.glb",
"updated_at": "2020-04-05T16:37:44Z"
}
]
}