aprs.no

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
xmloverlay [2021/09/15 20:51]
la7eca [REST API services]
xmloverlay [2021/11/12 20:09] (current)
la7eca [Other services]
Line 103: Line 103:
 \\ \\
  
 +
 +==== Login service ====
 +
 +Two services are available for login/​logout. Successful login will create a session on the server (represented by a cookie). Logout will remove that session. Using HTTPS protocol is strongly recommended for servers that are widely available on the internet.
 +
 +|**/​formLogin?​origin=<​font inherit/​inherit;;#​8e44ad;;​inherit>​{url}</​font>​** |HTML form|Login to server with username and password. Browser is redirected to <font inherit/​inherit;;#​8e44ad;;​inherit>​{url}</​font>​ after sucessful login|
 +|**/​logout?​url=<​font inherit/​inherit;;#​8e44ad;;​inherit>​{url}</​font>​** | |Logout. Browser is redirected to <font inherit/​inherit;;#​8e44ad;;​inherit>​{url}</​font>​ after successful logout.|
  
 ==== Other services ==== ==== Other services ====
Line 108: Line 115:
 These are not RESTful. Most of them can be used with GET and POST methods. HTML forms have a button that submit a POST request to perform some update on the server. Many of the following services will probably be replaced with REST methods consuming or returning JSON encoded data. These are not RESTful. Most of them can be used with GET and POST methods. HTML forms have a button that submit a POST request to perform some update on the server. Many of the following services will probably be replaced with REST methods consuming or returning JSON encoded data.
  
-  ​* **[[:​api_ws_finditem|finditem]]** . Comma separated list. Look up a station/​object and return id, x and y coordinates. +  * **[[:​api_ws_admin|admin]]** . HTML page. Show server configuration info [A].
-  * **[[:​api_ws_station|station]]**,​ HTML form, show information about station or object [O, L, S] +
-  * **[[:​api_ws_trailpoint|trailpoint]]**. HTML fragment. Show info about a specific position report in a trail for a station [O]. +
-  ​* **[[:​api_ws_admin|admin]]**. HTML page. Show server configuration info [A].+
   * **[[:​api_ws_telemetry|telemetry]]**. HTML. Show telemetry for a station [O].   * **[[:​api_ws_telemetry|telemetry]]**. HTML. Show telemetry for a station [O].
   * **[[:​api_ws_telhist|telhist]]**. HTML. Show telemetry history for a station [O].   * **[[:​api_ws_telhist|telhist]]**. HTML. Show telemetry history for a station [O].
Line 125: Line 129:
   * **passwd**. HTML form. Set password.   * **passwd**. HTML form. Set password.
   * **restartserver**. HTML. Restart aprsd.   * **restartserver**. HTML. Restart aprsd.
 +
 +\\
  
  
xmloverlay.txt · Last modified: 2021/11/12 20:09 by la7eca
CC Attribution-Share Alike 4.0 International
Powered by PHP Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0 Valid HTML5