Commit an explicit Handoff milestone

POST
/v1/handoff/commit

Authorization

BearerAuth
AuthorizationBearer <token>

Static bearer token used when local Server authentication is enabled.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v1/handoff/commit" \  -H "Content-Type: application/json" \  -d '{    "scope_id": "string",    "handoff": {      "schema": "powercontext.prepared-handoff.v1",      "scope_id": "string",      "base": {        "family": "string",        "artifact_id": "string",        "revision": 1      },      "content": {        "schema": "powercontext.handoff.v1",        "objective": "string",        "state": [          {            "text": "string",            "citations": [              {                "kind": "source",                "source_ref": {                  "name": "string",                  "source_id": "string"                }              }            ]          }        ],        "disposition": "continuable",        "next_action": {          "text": "string",          "citations": [            {              "kind": "source",              "source_ref": {                "name": "string",                "source_id": "string"              }            }          ]        },        "omissions": [          {            "text": "string",            "citation": {              "kind": "source",              "source_ref": {                "name": "string",                "source_id": "string"              }            }          }        ]      }    }  }'
{  "reference": {    "family": "string",    "artifact_id": "string",    "revision": 1  },  "content": {    "schema": "powercontext.handoff.v1",    "objective": "string",    "state": [      {        "text": "string",        "citations": [          {            "kind": "source",            "source_ref": {              "name": "string",              "source_id": "string"            }          }        ]      }    ],    "disposition": "continuable",    "next_action": {      "text": "string",      "citations": [        {          "kind": "source",          "source_ref": {            "name": "string",            "source_id": "string"          }        }      ]    },    "omissions": [      {        "text": "string",        "citation": {          "kind": "source",          "source_ref": {            "name": "string",            "source_id": "string"          }        }      }    ]  },  "source_refs": [    {      "name": "string",      "source_id": "string"    }  ],  "artifact_refs": [    {      "family": "string",      "artifact_id": "string",      "revision": 1    }  ]}