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

Changes

No recorded changes to this endpoint across all 4 revisions of this API.