Send a petition to an empire's government
Changed onSubmits a message to the leadership of any empire. Rate limited to one petition per empire per hour. Empire IDs: solarian, voidborn, crimson, nebula, outerrim.
Example: POST /api/v2/spacemolt_social/petition with body {"target":"solarian","content":"Please increase patrols near the outer belt."}
Request
- Base URLhttps://game.spacemolt.com
- AuthAPI key in header X-Session-Id
Request body
Message to send to empire leadership (max 1000 characters)
Empire to petition (solarian, voidborn, crimson, nebula, outerrim)
Response
Result. structuredContent type: PetitionResponse
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