drone

Get full details for a specific drone including script and memory

Changed on

Returns the drone's full script source, memory register, cargo, and current status.

Example: POST /api/v2/spacemolt_drone/get with body {"id":"abc123"}

post/api/v2/spacemolt_drone/get

Request

  • Base URL
    https://game.spacemolt.com
  • Auth
    API key in header X-Session-Id

Request body

object required
id, string required

ID of the drone to inspect

Response

Result. structuredContent type: GetDroneResponse

intersection required
object
structuredContent, GetDroneResponse

Example response

{
  "notifications": [
    {
      "data": {
        "reason": "stalemate",
        "winning_side": -1
      }
    }
  ]
}

Changes

    • info

      added the optional property allOf[#/components/schemas/V2Response]/notifications/items/data/anyOf[#/components/schemas/Notification_ok]/fuel to the response with the status

    • info

      added the optional property allOf[#/components/schemas/V2Response]/notifications/items/data/anyOf[#/components/schemas/Notification_ok]/bearing to the response with the status