V1AssetsIdFavorite
Toggle favorite status
Authorization
cookieAuth better-auth.session_token<token>
Session cookie set by Better Auth. Login via the app to obtain.
In: cookie
Path Parameters
id*string
Response Body
application/json
curl -X POST "http://localhost:3002/v1/assets/string/favorite"{
"favorited": true,
"revalidate": [
"string"
]
}