Library
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.
post/v1/library
Request body
Example request
{
"name": "Intro camera take",
"scope": "private",
"sourceId": "su_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 endpoint across all 1 revision of this API.