Skip to content

Commit

Permalink
WARSTATUS: various README fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mascaldotfr committed May 21, 2024
1 parent 30a4c87 commit 3e274b9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion js/menu.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 7 additions & 6 deletions warstatus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,16 +76,17 @@ Note that the API is [static](https://www.seancdavis.com/posts/lets-talk-about-s
"icon filename",
[...17 other gems...]
],
"events_log": [ // The last 25 server events (fort, gem and relics captures)
"events_log": [ // The last 100 server events (fort, gem and relic captures, wish)
{
"date": "Unix timestamp",
"name": "forts: fortification name | gem: gem number | relic: relic name",
"location": "Capitalised original realm of the fort/gem/relic (ex: Syrtis)",
"name": "forts: fortification name | gem: gem number | relic: relic name | wish: empty",
"location": "Capitalised original realm of the fort/gem/relic (ex: Syrtis), name of the wisher otherwise",
"owner": "gem/fort: Capitalised current owner realm of the gem/fort (ex: Alsius)
relic: either 'transit' or 'altar'",
"type": "It's either 'fort' or 'gem' or 'relic' depending on what is captured"
relic: either 'transit' or 'altar'
wish: empty",
"type": "It's either 'fort' or 'gem' or 'relic' or 'wish' depending on what is captured"
},
[...24 other events...]
[...99 other events...]
],
"relics": [ // The current relic status
"Alsius": {
Expand Down
2 changes: 1 addition & 1 deletion warstatus/stats/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Using static gzip compression in your web server is recommended, especially for
`events.json` which weights 500kb uncompressed but only a 25kb compressed.

- The "API endpoint" for statistics URL is: https://hail.thebus.top/CoRT/warstatus/stats/statistics.json
- The "API endpoint" for events URL is: https://hail.thebus.top/CoRT/warstatus/stats/events.json
- The "API endpoint" for events URL is: https://hail.thebus.top/CoRT/warstatus/stats/allevents.json
- The full database is publicly available at: https://hail.thebus.top/CoRT/warstatus/stats/events.sqlite

Unless you prepopulate your installation with the downloadable `events.sqlite`
Expand Down

0 comments on commit 3e274b9

Please sign in to comment.