Skip to main content

Create a favorite

POST 

/favorites

Creates a favorite entry for the current user referencing the given item. The id must be set, otherwise a 400 is returned, and it has to resolve to an existing hierarchy node - either by node id or by the referenced object's id - matching the given type, otherwise a 404 is returned. Returns the saved favorite.

Request

Responses

The saved favorite