.. include:: /Includes.rst.txt .. _feature-1793557789: ============================================== Feature: Keep the view of a page on the server ============================================== Description =========== Pages with filters that are not lists can keep how a person left them: the API reads and writes the view per person, company and page (``getViewState``, ``updateViewState``, ``/me/view-states/{page}``). A package registers its pages with the parameters each keeps by implementing ``ViewStatePage``; an unknown page answers 404, a parameter the page does not register, a value over 1000 characters or a view over 4096 bytes is refused with 422. The views are deleted with the person and with the company. Impact ====== Extensions can keep the view of their own pages on the server. No page uses it yet. .. index:: API, Database, package:adsum-core