Set or clear an optional display name on a drone you own
Changed onName is shown in list / get output for your own convenience — it is not unique and not visible to other players. Max 32 characters, same character rules as ship names. Pass an empty name to clear.
Example: POST /api/v2/spacemolt_drone/name with body {"id":"abc123","text":"Miner-1"}
Request
- Base URLhttps://game.spacemolt.com
- AuthAPI key in header X-Session-Id
Request body
ID of the drone to rename (you must own it)
Display name (max 32 chars; same rules as ship names). Pass empty string to clear.
Response
Result. structuredContent type: SetDroneNameResponse
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]/fuelto the response with the status
- info
- info
added the optional property
allOf[#/components/schemas/V2Response]/notifications/items/data/anyOf[#/components/schemas/Notification_ok]/bearingto the response with the status
- info