Templates

Favorites the template if it is not favorited, otherwise removes the favorite. Requires a key bound to a user.

post/templates/{id}/favorite

Request

  • Base URL: https://api.varg.ai/v2
  • URL: https://api.varg.ai/v2/templates/{id}/favorite
  • Auth: HTTP bearer

Response

New favorite state

favoritedboolean

New favorite state after the toggle

templateIdstring uuid

Changes