Update docs.
This commit is contained in:
		@@ -10,7 +10,7 @@ direwolf logs into a REST API in JSON format.
 | 
			
		||||
1. Set up database file with `python init_db.py`.
 | 
			
		||||
2. Run `app.py` with either a Python call or a real WSGI server.
 | 
			
		||||
You can use screen to detach the session.
 | 
			
		||||
    - Default URL is http://127.0.0.1:5000
 | 
			
		||||
    - Default URL is http://127.0.0.1:5001
 | 
			
		||||
    - Example `waitress` and `screen` scripts are included, see
 | 
			
		||||
      - `api_waitress.py` and
 | 
			
		||||
      - `start-aprs_api.sh`
 | 
			
		||||
@@ -20,6 +20,9 @@ You can use screen to detach the session.
 | 
			
		||||
-`/packets` - gives the most recent packets, sorted descending by time received.
 | 
			
		||||
    - argument `n` will return a specific number of packets, default 10. E.g.,
 | 
			
		||||
    `https://digi.w1cdn.net/aprs_api/packets?n=1` returns one packet.
 | 
			
		||||
    - argument `from` will return packets from the named station-SSID (no wildcards).
 | 
			
		||||
    E.g., `https://digi.w1cdn.net/aprs_api/packets?n=1&from=W1CDN-1` returns
 | 
			
		||||
    one packet from W1CDN-1.
 | 
			
		||||
 | 
			
		||||
Example of an object packet sent by W1CDN-1 and digipeated by K0UND-2:
 | 
			
		||||
```
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user