Difference between revisions of "WebAPI:Galaxies recent"
From Starsonata Wiki
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
This returns a list of all [[Galaxy|galaxies]] in the game that have been discovered or otherwise marked as public knowledge and have been updated recently. By loading the [[WebAPI:galaxies|galaxies]] endpoint and polling the galaxies_recent endpoint a nearly real-time galaxy map can be maintained. | This returns a list of all [[Galaxy|galaxies]] in the game that have been discovered or otherwise marked as public knowledge and have been updated recently. By loading the [[WebAPI:galaxies|galaxies]] endpoint and polling the galaxies_recent endpoint a nearly real-time galaxy map can be maintained. | ||
+ | Currently galaxies updated in the '''last minute''' are shown, this could change in the future. | ||
+ | |||
+ | ==Parameters== | ||
+ | <code>https://www.starsonata.com/webapi/galaxies_recent/v1</code> | ||
+ | |||
+ | No parameters. | ||
==Response== | ==Response== | ||
− | The format is identical to [[WebAPI:galaxies|galaxies]], except it will only contain galaxies updated recently. This will often be empty mid-universe, and at the beginning of a universe it | + | The format is identical to [[WebAPI:galaxies|galaxies]], except it will only contain galaxies updated recently. |
+ | |||
+ | This will often be empty mid-universe, and at the beginning of a universe it will be very full as people explore the universe and galaxies are added in. | ||
[[Category:WebAPI| Main]] | [[Category:WebAPI| Main]] |
Latest revision as of 18:05, 9 November 2019
This returns a list of all galaxies in the game that have been discovered or otherwise marked as public knowledge and have been updated recently. By loading the galaxies endpoint and polling the galaxies_recent endpoint a nearly real-time galaxy map can be maintained.
Currently galaxies updated in the last minute are shown, this could change in the future.
Parameters
https://www.starsonata.com/webapi/galaxies_recent/v1
No parameters.
Response
The format is identical to galaxies, except it will only contain galaxies updated recently.
This will often be empty mid-universe, and at the beginning of a universe it will be very full as people explore the universe and galaxies are added in.