v4

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-13216144508.7 KB
templates

Like Template

Like or unlike a template

Args: template_id: ID of the template to like/unlike

Returns: Current like status and total likes

Raises: HTTPException: If template not found

post/api/templates/{template_id}/like

Path parameters

template_idstring required

Response

Successful Response

likedboolean required

Whether the template is liked

likesinteger required

Total number of likes