Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
documentation:latest:restconfbackend [2019/02/28 16:10]
coudot
documentation:latest:restconfbackend [2019/09/30 17:31] (current)
coudot [REST configuration backend]
Line 5: Line 5:
   * GET /​config/<​cfgNum>:​ get the metadata for config n° <​cfgNum>​   * GET /​config/<​cfgNum>:​ get the metadata for config n° <​cfgNum>​
   * GET /​config/<​latest|cfgNum>/<​key>:​ get conf key value   * GET /​config/<​latest|cfgNum>/<​key>:​ get conf key value
-  * GET /​config/<​latest|cfgNum>?​full:​ get the full configuration+  * GET /​config/<​latest|cfgNum>?​full=1: get the full configuration 
 + 
 +You can retrieve "human readable"​ error messages: 
 +  * GET /​error/<​lang>/<​errNum>:​ get <​errNum>​ error reference and  <​lang>​ errors file. 
 +If no <​lang>​ provided, '​en'​ errors file is returned.
  
 <note tip>Note that REST is not a real configuration backend, but just a proxy system to access to your configuration over the network</​note>​ <note tip>Note that REST is not a real configuration backend, but just a proxy system to access to your configuration over the network</​note>​