Skip to Content
dropshelf
REST API

Make the version a plan describes

Only the plan's author. Takes the drop's one pending slot, waiting up to ten seconds for a running deploy, then assembles the version in the background: every file not sent is copied from the base or another kept version of the drop, and the result is inspected as a zip would be. It finishes as a draft unless the plan asked to publish, and a version asked to go live is kept as a draft when something was published after its base. Poll getDeploy for the outcome. There is no body; a caller using the session cookie must still send Content-Type: application/json.

POST
/api/v1/deploys/{id}/commit

Only the plan's author. Takes the drop's one pending slot, waiting up to ten seconds for a running deploy, then assembles the version in the background: every file not sent is copied from the base or another kept version of the drop, and the result is inspected as a zip would be. It finishes as a draft unless the plan asked to publish, and a version asked to go live is kept as a draft when something was published after its base. Poll getDeploy for the outcome. There is no body; a caller using the session cookie must still send Content-Type: application/json.

Authorization

headerAuthorizationBearer <token>

A personal access token, odp_ followed by 43 characters. Create one in the dashboard.

Path Parameters

id*string

The planned deploy.

Response Body

Accepted.

application/json
  1. response
deploy*
drop*

Present when the deploy is live, ready or superseded.

queries*array<>

The version's queries from _dropshelf/queries.yaml and their approvals; empty without the file.

Example Request
curl -X POST 'https://drop.example.com/api/v1/deploys/string/commit'
Example Response
{  "deploy": {    "createdAt": "2019-08-24T14:15:22Z",    "drop": {      "createdAt": "2019-08-24T14:15:22Z",      "currentDeploy": {},      "description": "string",      "expiresAt": "2019-08-24T14:15:22Z",      "name": "string",      "owner": {        "email": "string",        "id": "string",        "name": "string"      },      "retention": "string",      "role": "owner",      "slug": "string",      "social": {        "bookmarkedByMe": true,        "comments": 0,        "likedByMe": true,        "likes": 0,        "openChangeRequests": 0      },      "type": "string",      "updatedAt": "2019-08-24T14:15:22Z",      "url": "string",      "visibility": "public",      "waitingVersion": {        "id": "string",        "version": 0      }    },    "error": "string",    "fileCount": 0,    "finishedAt": "2019-08-24T14:15:22Z",    "held": {      "changed": [        {          "change": "added",          "path": "string"        }      ],      "live": {        "at": "2019-08-24T14:15:22Z",        "by": "string",        "deploy": "string",        "note": "string",        "version": 0      },      "root": "string",      "rootGone": true,      "yours": [        "string"      ]    },    "id": "string",    "note": "string",    "source": "web",    "status": "planned",    "totalBytes": 0,    "version": 0  },  "drop": {    "createdAt": "2019-08-24T14:15:22Z",    "currentDeploy": {      "createdAt": "2019-08-24T14:15:22Z",      "drop": {},      "error": "string",      "fileCount": 0,      "finishedAt": "2019-08-24T14:15:22Z",      "held": {        "changed": [          {            "change": "added",            "path": "string"          }        ],        "live": {          "at": "2019-08-24T14:15:22Z",          "by": "string",          "deploy": "string",          "note": "string",          "version": 0        },        "root": "string",        "rootGone": true,        "yours": [          "string"        ]      },      "id": "string",      "note": "string",      "source": "web",      "status": "planned",      "totalBytes": 0,      "version": 0    },    "description": "string",    "expiresAt": "2019-08-24T14:15:22Z",    "name": "string",    "owner": {      "email": "string",      "id": "string",      "name": "string"    },    "retention": "string",    "role": "owner",    "slug": "string",    "social": {      "bookmarkedByMe": true,      "comments": 0,      "likedByMe": true,      "likes": 0,      "openChangeRequests": 0    },    "type": "string",    "updatedAt": "2019-08-24T14:15:22Z",    "url": "string",    "visibility": "public",    "waitingVersion": {      "id": "string",      "version": 0    }  },  "queries": [    {      "boundTo": [        {          "id": "string",          "kind": "string",          "value": "string"        }      ],      "name": "string",      "source": "string",      "state": "approved"    }  ]}

Generated from dropshelf core at 6a548b2, 26 Nov 2026.