Projects
Files
Publish a static site
Changed onReplaces a bounded set of files beneath _deepnote_static/, optionally prunes stale static files, then enables static sharing and applies an explicit viewer API-access setting. All content is validated before storage changes. A storage failure can leave a partial publish; retry the same file set to converge. Concurrent publishes are unsupported and use last-write-wins behavior. Use the Deepnote CLI for sites above the documented file or byte limits.
post/projects/{projectId}/static-files/publish
Request
- Base URLhttps://api.deepnote.com/v2
- URLhttps://api.deepnote.com/v2/projects/{projectId}/static-files/publish
- AuthHTTP bearer
Path parameters
projectIdstring uuid required
Project whose static site will be replaced.
Request body
Example request
{
"files": [
{
"path": "assets/app.js"
}
]
}Response
Static site published
Changes
- info
endpoint added
- info