Observatory is accessible via the URL /observatory
.
The observatory controls stellar probes.
The list of methods below represents changes and additions to the methods that all Buildings share.
Returns a list of the stars that have been probed by this planet.
{
"status" : { ... },
"stars" : [
"id" : "id-goes-here",
"color" : "yellow",
"name" : "Sol",
"x" : 17,
"y" : 4,
"z" : -3,
"bodies" : [
{ See get_status() in Body },
...
]
],
"star_count" : 37
}
A session id.
The unique id for the observatory.
An integer representing which set of probes to return. Defaults to 1. Each page has up to 25 probes.
The probe is deactivated, and allowed to burn up in the star.
{
"status" : { ... }
}
Throws 1002, 1010.
A session id.
The unique id for the observatory.
The unique id of the star the probe is attached to.