Antenna#
Antenna
A RemoteTech antenna. Obtained by calling GET /remote-tech/comms/(id)/antennas or POST /remote-tech/antenna.
A Antenna object is passed and returned as its identifier, a number. A path that acts on
an object takes it as (id).
- GET /remote-tech/antenna/(id)/part#
Get the part containing this antenna.
- Parameters:
id – The identifier of the Antenna object.
- Response JSON Object:
value (SpaceCenter.Part)
- GET /remote-tech/antenna/(id)/has-connection#
Whether the antenna has a connection.
- Parameters:
id – The identifier of the Antenna object.
- Response JSON Object:
value (bool)
- GET /remote-tech/antenna/(id)/target#
The object that the antenna is targetting. This property can be used to set the target to
"none"or"active_vessel". To set the target to a celestial body, ground station or vessel seeGET /remote-tech/antenna/(id)/target-body,GET /remote-tech/antenna/(id)/target-ground-stationandGET /remote-tech/antenna/(id)/target-vessel.- Parameters:
id – The identifier of the Antenna object.
- Response JSON Object:
value (RemoteTech.Target)
- PUT /remote-tech/antenna/(id)/target#
The object that the antenna is targetting. This property can be used to set the target to
"none"or"active_vessel". To set the target to a celestial body, ground station or vessel seeGET /remote-tech/antenna/(id)/target-body,GET /remote-tech/antenna/(id)/target-ground-stationandGET /remote-tech/antenna/(id)/target-vessel.- Parameters:
id – The identifier of the Antenna object.
- Request JSON Object:
value (RemoteTech.Target) – The new value.
- GET /remote-tech/antenna/(id)/target-body#
The celestial body the antenna is targetting.
- Parameters:
id – The identifier of the Antenna object.
- Response JSON Object:
value (SpaceCenter.CelestialBody)
- PUT /remote-tech/antenna/(id)/target-body#
The celestial body the antenna is targetting.
- Parameters:
id – The identifier of the Antenna object.
- Request JSON Object:
value (SpaceCenter.CelestialBody) – The new value.
- GET /remote-tech/antenna/(id)/target-ground-station#
The ground station the antenna is targetting.
- Parameters:
id – The identifier of the Antenna object.
- Response JSON Object:
value (string)
- PUT /remote-tech/antenna/(id)/target-ground-station#
The ground station the antenna is targetting.
- Parameters:
id – The identifier of the Antenna object.
- Request JSON Object:
value (string) – The new value.
- GET /remote-tech/antenna/(id)/target-vessel#
The vessel the antenna is targetting.
- Parameters:
id – The identifier of the Antenna object.
- Response JSON Object:
value (SpaceCenter.Vessel)
- PUT /remote-tech/antenna/(id)/target-vessel#
The vessel the antenna is targetting.
- Parameters:
id – The identifier of the Antenna object.
- Request JSON Object:
value (SpaceCenter.Vessel) – The new value.
Target
The type of object an antenna is targetting.
See GET /remote-tech/antenna/(id)/target.
Passed and returned as the name of one of its values:
"active_vessel"The active vessel.
"celestial_body"A celestial body.
"ground_station"A ground station.
"vessel"A specific vessel.
"none"No target.