authedUserGetAssetFavorite
Gets the authenticated users favorite for a specific asset.
Parameters
Name | Type | Description |
---|---|---|
userId | UserId | The ID of the authenticated user. |
assetId | AssetId | The 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