Open a drop in the site editor (Pro/Team)
Changed onOwner-only; requires an active Pro/Team subscription, like every editor route. Call this first: the first call imports the drop's live files (up to 200 files and 20 MB in total) and starts its revision history. Publishing through the API afterwards still works and shows up as a revision.
get/drops/{slug}/tree
Request
- Base URL: https://ship.page
- URL: https://ship.page/drops/{slug}/tree
- Auth: HTTP bearer
Response
Live files, your private draft and the content_rev to publish against.
Example response
{
"cap": {
"files": 200,
"bytes": 20971520
},
"live": {
"files": [
{
"path": "css/site.css"
}
]
},
"draft": {
"files": [
{
"path": "css/site.css"
}
]
}
}Changes
- info
endpoint added
- info