faction

Accept a peace proposal

Changed on

Requires manage_diplomacy permission. Ends the war. Use info to see pending peace proposals. Accepts faction ID or 4-character faction tag (e.g. NOVA).

Example: POST /api/v2/spacemolt_faction/accept_peace with body {"id":"..."}

Rate limited: This is a mutation command (1 per tick / 10 seconds).

post/api/v2/spacemolt_faction/accept_peace

Request

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

Request body

idstring required

Faction ID or 4-character tag of peace proposer

Response

Result. structuredContent: V2GameState post-mutation delta (changed ship/cargo/location/queue sections); the command result is under details (FactionAcceptPeaceResponse)

resultunknown

Changes

    • warning

      removed the optional property /////////// from the response with the status

    • warning

      removed the optional property /////////// from the response with the status

    • info

      added the optional property /////////// to the response with the status

    • info

      added the optional property /////////// to the response with the status

    • info

      added the optional property ///////// to the response with the status

    • info

      added the optional property ///////// to the response with the status

    • info

      added the optional property ///////// to the response with the status

    • info

      the response property ///////////// became required for the status

    • info

      the response property ///////////// became required for the status

    • info

      the response property ///////////// became required for the status

    • info

      the response property ///////////// became required for the status

    • info

      the response property ///////// became required for the status

    • info

      added the required property /////// to the response with the status