WebAPI:Galaxies

From Starsonata Wiki
Revision as of 18:37, 14 June 2018 by Si (talk | contribs)

Jump to: navigation, search

This returns a list of all galaxies in the game that have been discovered or otherwise marked as public knowledge.

Response

Returns an array galaxies with members keyed by their galaxy ID. Each galaxy has the following attributes.

  • ID - The galaxy ID. This is unique per galaxy in a universe.
  • name - The galaxy name.
  • lastUpdate - The last time the galaxy was updated in the api.
  • x - The x coordinate for the map.
  • y - The y coordinate for the map.
  • links - An array of galaxy IDs that this galaxy has wormholes leading to.
  • layer - The layer of the map that this galaxy resides in.

Example