Classic APIs
ClassicCatalogApi
authedUserGetAssetFavorite

authedUserGetAssetFavorite

Gets the authenticated users favorite for a specific asset.

Parameters

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

Example

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

Example Data

{
  assetId: 2608539495,
  userId: 45348281,
  created: 2024-07-30T15:00:39.540Z,
} 

Endpoint

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