The API is divided into four categories of endpoints, one for each type of celestial body: galaxies, moons, planets, and stars. Each endpoint provides two routes, one for retrieving a list of all objects in that category, and one for retrieving a specific object by name.
Galaxies:
GET /galaxies
Returns a list of all known galaxies.
GET /galaxies/{name}
Returns information about a specific galaxy, identified by name.
Moons:
GET /moons
Returns a list of all known moons.
GET /moons/{name}
Returns information about a specific moon, identified by name.
Planets:
GET /planets
Returns a list of all known planets.
GET /planets/{name}
Returns information about a specific planet, identified by name.
Stars:
GET /stars
Returns a list of all known stars.
GET /stars/{name}
Returns information about a specific star, identified by name.