Favorites
User favorite management (requires authentication). Users can save their favorite places for quick access.
Add or remove a place from the authenticated user's favorites list.
Idempotent: Calling this endpoint with the same favorite status multiple times has the same effect as calling it once.
Returns updated favorite count for the place and current user status.
Authorizations
AuthorizationstringRequired
Decentraland authentication token obtained from the Decentraland SDK or auth services.
To authenticate:
- Use Decentraland's authentication SDK in your application
- Get the auth token from the SDK
- Include in requests:
Authorization: Bearer <token>
Path parameters
place_idstring · uuidRequired
UUID of the place
Body
favoritesbooleanRequiredExample:
Set to true to add place to favorites, false to remove. Idempotent - safe to call multiple times.
trueResponses
200
Favorite status updated successfully
application/json
401
Unauthorized - Missing or invalid authentication token
application/json
404
Resource not found - Place/world doesn't exist or is disabled
application/json
patch
/places/{place_id}/favoritesLast updated