const state = await toggleContentFavorite({ favoriteableType: "Medium", favoriteableId: 12 });
const toggleContentFavorite: PortalFunction<PortalContentFavoriteState, ToggleContentFavoriteInput>
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Toggles the signed-in member’s favorite state for content.
const state = await toggleContentFavorite({ favoriteableType: "Medium", favoriteableId: 12 });
const toggleContentFavorite: PortalFunction<PortalContentFavoriteState, ToggleContentFavoriteInput>