Get colony layout
GET {{baseUrl}}/characters/:character_id/planets/:planet_id/?datasource=tranquility&token=commodo irure
Returns full details on the layout of a single planetary colony, including links, pins and routes. Note: Planetary information is only recalculated when the colony is viewed through the client. Information will not update until this criteria is met.
Alternate route: /dev/characters/{character_id}/planets/{planet_id}/
Alternate route: /v3/characters/{character_id}/planets/{planet_id}/
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
datasource | string | The server name you would like data from | |
token | string | Access token to use if unable to set a header |
RESPONSES
status: OK
{"links":[{"destination_pin_id":1000000017022,"link_level":0,"source_pin_id":1000000017021}],"pins":[{"latitude":1.55087844973,"longitude":0.717145933308,"pin_id":1000000017021,"type_id":2254},{"latitude":1.53360639935,"longitude":0.709775584394,"pin_id":1000000017022,"type_id":2256}],"routes":[{"content_type_id":2393,"destination_pin_id":1000000017030,"quantity":20,"route_id":4,"source_pin_id":1000000017029}]}