Vai al contenuto
GET /v1/proposal

One proposal in full: tally, action, timestamps

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/icpgov-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/icpgov-api/v1/proposal" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/icpgov-api/v1/proposal", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/icpgov-api/v1/proposal");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/icpgov-api/v1/proposal",
    headers={"x-oanor-key": "oanor_test_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "note": "A single NNS proposal in full: its topic, status, action, yes/no voting-power tally and decision timestamps. Omit id for the most recent proposal.",
        "tally": {
            "no": "4288621880057194",
            "yes": "2536171913598928",
            "total": "79254053608670910",
            "no_pct": 5.41,
            "yes_pct": 3.2
        },
        "title": "Upgrade the Engine-controller Canister to Commit 6c4d31d",
        "topic": "Application Canister Management",
        "action": "InstallCode",
        "source": "Internet Computer dashboard",
        "status": "OPEN",
        "summary": "# Upgrade the Engine-controller Canister to Commit 6c4d31d\n\n__Proposer__: pietro.di.marco at dfinity.org\n\n__Source code__: [6c4d31d69969a57e78cd17c237637592dd4fd960][new-commit]\n\n[new-commit]: https://github.com/dfinity/ic/tree/6c4d31d69969a57e78cd17c237637592dd4fd960\n\n\n## Features & Fixes\n\n* Allow the engine-controller canister to update cloud engines directly (#10431).\n* Return the newly created subnet id directly in the subnet-creation response. Callers no longer need to poll and match nodes to subnets after creation.\n* Extract the engine-controller canister's interface types into a shared, importable crate so other projects can depend on them (#10417).\n\n\n## New Commits\n\n```\n$ git log --format=\"%C(auto) %h %s\" c8649149f75040378e608e2a77eb3433122e7bf9..6c4d31d69969a57e78cd17c237637592dd4fd960 --  ./rs/engine_controller\n 8facd5635c feat: allow engine-controller canister to update cloud engines directly (#10431)\n ed411fe09d chore: extract types into a shared libary for engine-controlle",
        "topic_raw": "TOPIC_APPLICATION_CANISTER_MANAGEMENT",
        "proposal_id": 142271,
        "reward_status": "ACCEPT_VOTES",
        "proposer_neuron": "77",
        "decided_timestamp_seconds": null,
        "deadline_timestamp_seconds": 1781689687,
        "executed_timestamp_seconds": null
    },
    "meta": {
        "timestamp": "2026-06-14T08:03:44.409Z",
        "request_id": "7155524b-493c-4a99-afe9-3ecf17672fba"
    },
    "status": "ok",
    "message": "Proposal retrieved successfully",
    "success": true
}