Module: pages/api/data/publish

Methods

(inner) publishHandler()

This endpoint is responsible for enabling users to control the visibility of their dreams.

This endpoint is responsible for enabling users to control the visibility of their dreams. To publish a dream means to make it visible to other users, either publicly visible, or anonymously visible. Users can also hide dreams from other users ('private' is the defaut visbility mode).

Source: