Classic APIs
ClassicCatalogApi
authedUserCreateAssetFavorite

authedUserCreateAssetFavorite

Favorites a specific asset for the authenticated user.

Parameters

NameTypeDescription
userIdUserIdThe ID of the authenticated user.
assetIdAssetIdThe ID of the asset to create favorite for.

Example

const { data: favorite } = await ClassicCatalogApi.authedUserCreateAssetFavorite({
  userId: 45348281,
  assetId: 2608539495,
}); 

Endpoint

POST /v1/favorites/users/{userId}/assets/{assetId}/favorite