Asset Upload
Upload and process a media file.
Upload and process a media file.
/assetsIn: cookie
Query Parameters
The client-provided file name for the asset.
For uploading new versions of an existing asset, set this parameter to the asset ID of the parent asset. This must be an ID and not a filename. This feature is used for situations where you want to replace an asset in its usage context, but retain the original with a way to reference it for features such as editable/croppable images or file version history.
Header Parameters
Body content length in bytes.
Upload a file.
binaryResponse Body
curl -X POST "https://loading/api/assets?filename=string&parent_asset_id=string" \ -H "Content-Length: 0" \ -H "Content-Type: application/octet-stream" \ -d 'string'{
"id": "cc5lnd2s1s4652adtu50",
"filename": "string",
"path": "string",
"mime_type": "string",
"width": 0,
"height": 0,
"parent": {
"id": "cc5lnd2s1s4652adtu50",
"filename": "string",
"path": "string",
"mime_type": "string",
"width": 0,
"height": 0,
"parent": {}
}
}{
"error": "string",
"message": "string",
"suggested": "string",
"metadata": {}
}Asset Get GET GET
Download an asset by its ID.
Like Post Add PUT PUT
Add a like/vote to a post. A "like" is pretty much what you'd expect for any modern social platform, it will inform the feed algorithm and the account's recommendations as well as listing the post on their profile. Idempotent operation where repeated use will do nothing.