Skip to Content
dropshelf
REST API

Redeploy a drop from a zip

Same contract as createDrop. The current version keeps serving until the new one is live.

POST
/api/v1/drops/{slug}/deploys

Same contract as createDrop. The current version keeps serving until the new one is live.

Authorization

headerAuthorizationBearer <token>

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

Path Parameters

slug*string

The drop.

Query Parameters

type?"site"

Optional. When given it must be the drop's own type, which cannot change.

Value in"site"
publish?boolean

Optional. false uploads a draft: the deploy finishes as ready and nothing changes for visitors until it is published.

note?string

Optional. One line, at most 200 characters, on what this version changes and which comment or request it answers.

Lengthlength <= 200
base?string

Required once the drop has a live version: the version this upload was built on. An upload asking to go live on a version that is no longer live is refused with 409 Live version moved on before its body is read. A plan names its base in its body.

Request Body

The version as a zip archive (its top level is the site root), or, as application/json, a Plan of the files that changed since its base. A plan answers 201 with PlanAccepted, or 200 with {"unchanged": true} when it changes nothing; send the files it needs and call commitPlan.

  1. body

The files that differ from base.

base?string

The version this write was built on. Required once the drop has been live.

changes*

Every changed path. null removes it; any other path stays as base has it.

name?string

A new drop only: its name; blank for none.

note?string

One line on what the version changes, at most 200 characters.

publish?boolean

Go live when committed, if nothing was published since base. Defaults to true for a new drop, false otherwise.

retention?string

A new drop only.

slug?string

A new drop only: its address, generated when omitted.

type?string

A new drop only: its type.

visibility?string

A new drop only.

Response Body

The plan changes nothing; no version was made.

application/json
  1. response
unchanged*boolean
Example Request
curl -X POST 'https://drop.example.com/api/v1/drops/string/deploys' \  -H 'Content-Type: application/json' \  -d '{  "changes": {    "property1": {},    "property2": {}  }}'
Example Response
{  "unchanged": true}

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