Add a source to the library
Saves an uploaded source to the library so it can be listed and reused later, both here and in the editor's media panels. Create the source via POST /v1/sources and upload the bytes first, then pass its sourceId. Without this a source is only reachable through the clips that already reference it. To bring in an image you saved in a connected Pinterest, Are.na or mymind account instead, pass from with the service and sourceId set to the item's id from GET /v1/library?scope=<service>; Tella copies the image into your private library (default), the workspace library, or with scope: "video" the library of the video named by videoId. Only images can be brought in: Pinterest image pins, Are.na image blocks, and mymind images or the screenshot mymind took of a saved page.
Request
- Base URL: https://api.tella.com
- URL: https://api.tella.com/v1/library
- Auth: HTTP bearer
Request body
Example request
{
"from": "pinterest",
"name": "Intro camera take",
"sourceId": "su_abc123def456",
"videoId": "vid_abc123def456"
}Response
Created
Example response
{
"item": {
"category": "Everyday",
"durationMs": 4200,
"id": "media_abc123def456",
"name": "Intro camera take",
"presetId": "cha-ching",
"scope": "private",
"sourceId": "su_abc123def456",
"type": "video"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.