Skip to main content

Add a favorite

POST 

/favorites/:tablename/:id_item

Add an Entry Column favorite item (for yourself) by its tablename and id_item.

This will add the favorite item to the user's list of favorites. You can POST an empty body to this endpoint to add a favorite item.

Required abilities

Any user can add or remove favorites for themselves. In order to add or remove favorites for another user, you need the User - Modify ability on that user, and to use the add-favorite-for-user and delete-favorite-for-user endpoints.

Request

Responses

Successful response; the favorite item has been added to the user's list of favorites.