Asset
The login token
The optional ID of a Memori object the Asset belongs to
The optional ID of an Engine Memory object the Asset belongs to
POST /api/v2/Asset/{strToken}/{strMemoriID}/{strEngineMemoryID} HTTP/1.1
Host:
Accept: */*
Success
{
"asset": {
"assetID": "text",
"assetURL": "text",
"mimeType": "text",
"originalFileName": "text",
"memoriID": "text",
"engineMemoryID": "text",
"creationTimestamp": "2025-07-23T11:30:34.774Z",
"lastChangeTimestamp": "2025-07-23T11:30:34.774Z"
},
"requestID": 1,
"requestDateTime": "2025-07-23T11:30:34.774Z",
"resultCode": 1,
"resultMessage": "text"
}
The login token
Name of the Asset file
GET /api/v2/AssetDetails/{strToken}/{fileName} HTTP/1.1
Host:
Accept: */*
Success
{
"asset": {
"assetID": "text",
"assetURL": "text",
"mimeType": "text",
"originalFileName": "text",
"memoriID": "text",
"engineMemoryID": "text",
"creationTimestamp": "2025-07-23T11:30:34.774Z",
"lastChangeTimestamp": "2025-07-23T11:30:34.774Z"
},
"requestID": 1,
"requestDateTime": "2025-07-23T11:30:34.774Z",
"resultCode": 1,
"resultMessage": "text"
}
The login token
GET /api/v2/Assets/{strToken} HTTP/1.1
Host:
Accept: */*
Success
{
"assets": [
{
"assetID": "text",
"assetURL": "text",
"mimeType": "text",
"originalFileName": "text",
"memoriID": "text",
"engineMemoryID": "text",
"creationTimestamp": "2025-07-23T11:30:34.774Z",
"lastChangeTimestamp": "2025-07-23T11:30:34.774Z"
}
],
"requestID": 1,
"requestDateTime": "2025-07-23T11:30:34.774Z",
"resultCode": 1,
"resultMessage": "text"
}
Downloads a file from an old asset file URL, such as
```/api/v1/memoriai/memory/media/cloud/<path>/<assetID>.<ext>```.
ID of the old asset file
GET /api/v1/memoriai/memory/media/cloud/{assetID} HTTP/1.1
Host:
Accept: */*
Success
No content
Downloads a file from an old asset file URL, such as
```/api/v1/memoriai/memory/<memoryID>/media/cloud/<path>/<assetID>.<ext>```.
ID of the engine Memory object
ID of the old asset file
GET /api/v1/memoriai/memory/{strMemoryID}/media/cloud/{assetID} HTTP/1.1
Host:
Accept: */*
Success
No content
Downloads the avatar file from an old avatar asset URL, sucs as
```/api/v1/memoriai/memori/avatar/<memoriID>```.
ID of the engine Memori object
GET /api/v1/memoriai/memori/avatar/{strMemoriID} HTTP/1.1
Host:
Accept: */*
Success
No content
The fileName parameter supports specifying a resize format by appending '@{format}' before the extension (e.g., '[email protected]'). The following formats are supported:
```favicon``` (16x16)
```16x16```
```32x32```
```180x180```
```192x192```
```300x300```
```512x512```
Name of the Asset file
Optional ID of an Engine Memori session
GET /api/v2/Asset/{fileName}/{strMemoriSessionID} HTTP/1.1
Host:
Accept: */*
Success
No content
The login token
Name of the Asset file
DELETE /api/v2/Asset/{strToken}/{fileName} HTTP/1.1
Host:
Accept: */*
Success
{
"requestID": 1,
"requestDateTime": "2025-07-23T11:30:34.774Z",
"resultCode": 1,
"resultMessage": "text"
}
The login token
Name of the Asset file
Specifications of an Asset object.
Asset ID. Unique and assigned by the system. Returned during Upload operations. Ignored in other cases.
Public URL of the Asset file. Unique and assigned by the system. Returned during Upload operations. Ignored in other cases.
Extrapolated MIME type. Returned during Upload operations. Ignored in other cases.
Original name of the uploaded file, without the extension. Returned during Upload operations. Used during Update operations.
Optional ID of the Memori object this Asset belongs to. May be empty for assets not belonging to a Memori object. Returned during Upload operations. Ignored in other cases.
Optional ID of the Memory object on the Memori Engine. May be empty for public assets. Returned during Upload operations. Used during Update operations. To clear this property during an Update operation set it to a single dash character ("-").
Timestamp of creation. Returned during Get operations. Ignored in other cases.
Timestamp of latest change. Returned during Get operations. Ignored in other cases.
PATCH /api/v2/Asset/{strToken}/{fileName} HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 218
{
"assetID": "text",
"assetURL": "text",
"mimeType": "text",
"originalFileName": "text",
"memoriID": "text",
"engineMemoryID": "text",
"creationTimestamp": "2025-07-23T11:30:34.774Z",
"lastChangeTimestamp": "2025-07-23T11:30:34.774Z"
}
Success
{
"asset": {
"assetID": "text",
"assetURL": "text",
"mimeType": "text",
"originalFileName": "text",
"memoriID": "text",
"engineMemoryID": "text",
"creationTimestamp": "2025-07-23T11:30:34.774Z",
"lastChangeTimestamp": "2025-07-23T11:30:34.774Z"
},
"requestID": 1,
"requestDateTime": "2025-07-23T11:30:34.774Z",
"resultCode": 1,
"resultMessage": "text"
}