MCPToolsVersions and people
publish_version
Make a kept version the live one, older or newer than the current, such as the draft an upload ticket made.
The drop's address serves it at once. A version still being uploaded is waited for first. The owner, an editor or an admin may do this. A draft goes live only if nothing was published after the version it was built on; otherwise the refusal says who published, when, and which files changed: read those files with read_drop_files as the live version has them, adapt your change, and write again with base set to the live version. After two refusals, tell the person.
Changes data
Input
| Name | Type | Required | Description |
|---|---|---|---|
slug | string | yes | the drop's name, the first label of its address |
version | integer | yes | the version number from list_versions |
Output
| Field | Type | Always present | Description |
|---|---|---|---|
createdAt | string | yes | |
currentDeploy | object, nullable | yes | null until the first deploy is live. |
currentDeploy.createdAt | string | yes | When the deploy was accepted. |
currentDeploy.error | string | no | Why the deploy failed. Present only when status is failed. |
currentDeploy.fileCount | integer | yes | |
currentDeploy.finishedAt | string, nullable | no | When it became live or failed. |
currentDeploy.held | object | no | |
currentDeploy.held.changed | array of object | yes | |
currentDeploy.held.changed[].change | "added" or "modified" or "removed" | yes | |
currentDeploy.held.changed[].path | string | yes | A file's path. |
currentDeploy.held.live | object | yes | |
currentDeploy.held.live.at | string | yes | When it finished. |
currentDeploy.held.live.by | string | yes | The member who made it. |
currentDeploy.held.live.deploy | string | yes | The live version's id. |
currentDeploy.held.live.note | string | no | Its note, when it has one. |
currentDeploy.held.live.version | integer | yes | |
currentDeploy.held.root | string | no | The published version the refused one was started from. |
currentDeploy.held.rootGone | boolean | no | The root's files are no longer kept, so nothing could be compared; changed and yours are empty. |
currentDeploy.held.yours | array of string | yes | |
currentDeploy.id | string | yes | ULID. |
currentDeploy.note | string | no | One line on what this version changes, when its writer gave one. |
currentDeploy.source | "web" or "api" or "mcp" or "demo" | yes | web for a session, api for a bearer token, mcp for the instance's MCP server acting for a token, demo for the drops dropshelf-server demo install made. |
currentDeploy.status | "planned" or "pending" or "live" or "ready" or "superseded" or "failed" | yes | |
currentDeploy.totalBytes | integer | yes | |
currentDeploy.version | integer | yes | This deploy's number within its drop, counting from 1. It is what a preview address names; id stays the handle every other route takes. |
description | string, nullable | yes | From the request or the page's meta description; null when it has none. |
expiresAt | string, nullable | yes | null when the retention is forever. |
name | string, nullable | yes | The drop's name, from the request or the page's title; null when it has none. |
owner | object | yes | |
owner.email | string | yes | |
owner.id | string | yes | ULID. |
owner.name | string | yes | |
retention | string | yes | Always whole days as Nd, or forever. Retention is stored and computed in whole days, so no finer value can appear here. |
role | "owner" or "editor" or "viewer" or null | yes | The caller's role on this drop; null for a member who sees a public drop with no grant. An admin's is what their ownership or grant gives them. |
slug | string | yes | The subdomain label. |
social | object | yes | |
social.bookmarkedByMe | boolean | yes | The caller's own bookmark. Nobody else's answer reports it. |
social.comments | integer | yes | Everyone's comments on this drop. |
social.likedByMe | boolean | yes | |
social.likes | integer | yes | Everyone's likes on this drop. |
social.openChangeRequests | integer | yes | Open change requests on this drop: comments marked as change requests that nobody has resolved. Other comments never count. |
type | string | yes | What kind of drop it is, fixed when it was created. |
updatedAt | string | yes | |
url | string | yes | Where the drop is served. |
visibility | "public" or "restricted" or "private" | yes | public: every member. restricted: the owner, admins and the people added. private: the owner and admins alone; the people added keep their rows and no access meanwhile. |
waitingVersion | object, nullable | yes | The version waiting to be made live: the newest ready version newer than the live one, or the newest ready version when nothing is live, never one purged or being purged. null when none waits. |
waitingVersion.id | string | yes | The deploy's id, which publishes it. |
waitingVersion.version | integer | yes | Its number within the drop, as in "v5 waiting". |
The output as JSON Schema
{
"properties": {
"createdAt": {
"format": "date-time",
"type": "string"
},
"currentDeploy": {
"description": "null until the first deploy is live.",
"oneOf": [
{
"properties": {
"createdAt": {
"description": "When the deploy was accepted.",
"format": "date-time",
"type": "string"
},
"error": {
"description": "Why the deploy failed. Present only when status is failed.",
"type": "string"
},
"fileCount": {
"type": "integer"
},
"finishedAt": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"description": "When it became live or failed."
},
"held": {
"properties": {
"changed": {
"items": {
"properties": {
"change": {
"enum": [
"added",
"modified",
"removed"
],
"type": "string"
},
"path": {
"description": "A file's path.",
"type": "string"
}
},
"required": [
"path",
"change"
],
"type": "object"
},
"type": "array"
},
"live": {
"properties": {
"at": {
"description": "When it finished.",
"format": "date-time",
"type": "string"
},
"by": {
"description": "The member who made it.",
"type": "string"
},
"deploy": {
"description": "The live version's id.",
"type": "string"
},
"note": {
"description": "Its note, when it has one.",
"type": "string"
},
"version": {
"type": "integer"
}
},
"required": [
"deploy",
"version",
"by",
"at"
],
"type": "object"
},
"root": {
"description": "The published version the refused one was started from.",
"type": "string"
},
"rootGone": {
"description": "The root's files are no longer kept, so nothing could be compared; changed and yours are empty.",
"type": "boolean"
},
"yours": {
"items": {
"description": "A path the refused version changed against its root.",
"type": "string"
},
"type": "array"
}
},
"required": [
"live",
"changed",
"yours"
],
"type": "object"
},
"id": {
"description": "ULID.",
"type": "string"
},
"note": {
"description": "One line on what this version changes, when its writer gave one.",
"type": "string"
},
"source": {
"description": "web for a session, api for a bearer token, mcp for the instance's MCP server acting for a token, demo for the drops dropshelf-server demo install made.",
"enum": [
"web",
"api",
"mcp",
"demo"
],
"type": "string"
},
"status": {
"enum": [
"planned",
"pending",
"live",
"ready",
"superseded",
"failed"
],
"type": "string"
},
"totalBytes": {
"format": "int64",
"type": "integer"
},
"version": {
"description": "This deploy's number within its drop, counting from 1. It is what a preview address names; id stays the handle every other route takes.",
"type": "integer"
}
},
"required": [
"id",
"status",
"fileCount",
"totalBytes",
"source",
"version",
"createdAt"
],
"type": "object"
},
{
"type": "null"
}
]
},
"description": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "From the request or the page's meta description; null when it has none."
},
"expiresAt": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"description": "null when the retention is forever."
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "The drop's name, from the request or the page's title; null when it has none."
},
"owner": {
"properties": {
"email": {
"type": "string"
},
"id": {
"description": "ULID.",
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"id",
"email",
"name"
],
"type": "object"
},
"retention": {
"description": "Always whole days as Nd, or forever. Retention is stored and computed in whole days, so no finer value can appear here.",
"type": "string"
},
"role": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "The caller's role on this drop; null for a member who sees a public drop with no grant. An admin's is what their ownership or grant gives them.",
"enum": [
"owner",
"editor",
"viewer",
null
]
},
"slug": {
"description": "The subdomain label.",
"type": "string"
},
"social": {
"properties": {
"bookmarkedByMe": {
"description": "The caller's own bookmark. Nobody else's answer reports it.",
"type": "boolean"
},
"comments": {
"description": "Everyone's comments on this drop.",
"type": "integer"
},
"likedByMe": {
"type": "boolean"
},
"likes": {
"description": "Everyone's likes on this drop.",
"type": "integer"
},
"openChangeRequests": {
"description": "Open change requests on this drop: comments marked as change requests that nobody has resolved. Other comments never count.",
"type": "integer"
}
},
"required": [
"likes",
"comments",
"likedByMe",
"bookmarkedByMe",
"openChangeRequests"
],
"type": "object"
},
"type": {
"description": "What kind of drop it is, fixed when it was created.",
"type": "string"
},
"updatedAt": {
"format": "date-time",
"type": "string"
},
"url": {
"description": "Where the drop is served.",
"type": "string"
},
"visibility": {
"description": "public: every member. restricted: the owner, admins and the people added. private: the owner and admins alone; the people added keep their rows and no access meanwhile.",
"enum": [
"public",
"restricted",
"private"
],
"type": "string"
},
"waitingVersion": {
"description": "The version waiting to be made live: the newest ready version newer than the live one, or the newest ready version when nothing is live, never one purged or being purged. null when none waits.",
"oneOf": [
{
"properties": {
"id": {
"description": "The deploy's id, which publishes it.",
"type": "string"
},
"version": {
"description": "Its number within the drop, as in \"v5 waiting\".",
"type": "integer"
}
},
"required": [
"id",
"version"
],
"type": "object"
},
{
"type": "null"
}
]
}
},
"required": [
"slug",
"type",
"url",
"owner",
"visibility",
"role",
"name",
"description",
"social",
"retention",
"expiresAt",
"currentDeploy",
"waitingVersion",
"createdAt",
"updatedAt"
],
"type": "object"
}Generated from dropshelf core at 6a548b2, 26 Nov 2026.