Difference between revisions of "WebAPI:Galaxies recent"

From Starsonata Wiki
Jump to: navigation, search
 
Line 3: Line 3:
 
Currently galaxies updated in the '''last minute''' are shown, this could change in the future.
 
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.
 
The format is identical to [[WebAPI:galaxies|galaxies]], except it will only contain galaxies updated recently.

Latest revision as of 19: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.