Settings

Configures the users settings for visibility and colors used in the comparison mode.

GET /api/comparison/settings

REQUEST-Parameter Value Description
reset empty Reset to default settings
visible typ(s) List of visible element types
invisible typ(s) List of hidden element types
AddedOrRemoved color The color format can be defined using 6 or 8 characters (0-9 and a-f). The type ALLOUTLINEMARKER ignores the opacity value.
Replaced
Modified
MetadataChanged
ALLOUTLINEMARKER
all visibility filters

The following type values can be used.

  • AddedOrRemoved
  • Replaced
  • Modified
  • MetadataChanged
  • ALLOUTLINEMARKER
  • REGEXP*
  • HIDEROTATEDTEXT*
  • BASELINETABLE*
  • PAGERANGE*
  • ...*

* [Types filter] The full list of types filter can be see with the command Info in the current server enviromnent.

Application Example

# Browser access: use the following URL
http://127.0.0.1:9900/api/comparison/setting?reset
http://127.0.0.1:9900/api/comparison/setting?visible=COMMENTS,FOOTER,Replaced,Modified
http://127.0.0.1:9900/api/comparison/setting?invisible=COMMENTS,FOOTER,Replaced,Modified
http://127.0.0.1:9900/api/comparison/setting?AddedOrRemoved=00993c64
 
# Shell access using curl
curl -Lsu <USERNAME>:<PASSWORD> 'http://127.0.0.1:9900/api/comparison/setting?reset'