Classic APIs
ClassicGamesApi
authedUserUniverseSetFavorite

authedUserUniverseSetFavorite

Sets the favorited status for a particular universe for the authenticated user.

Parameters

NameTypeDescription
universeIdIdentifierThe ID of the universe to set favorited status for.
statusbooleanThe new status for the favorite.

Example

const { data: newStatus } = await ClassicGamesApi.authedUserUniverseSetFavorite({
  universeId: 1685831367,
  status: true,
}); 

Endpoint

POST /v1/games/{universeId}/favorites