Templates
Get a template
Changed onReturns one template including its TSX source in document.content. Approved templates are visible to everyone; others only to their author (everyone else gets 404).
get/templates/{id}
Request
- Base URL: https://api.varg.ai/v2
- URL: https://api.varg.ai/v2/templates/{id}
- Auth: HTTP bearer
Response
The template
Example response
{
"status": "approved",
"thumbnailObjectPosition": "center center",
"videoObjectPosition": "center center",
"document": {
"kind": "media",
"visibility": "private"
}
}Changes
- info
endpoint added
- info