Update a project
Changed onUpdates static website sharing and viewer API access settings for a project, whether hosted Streamlit apps may call the public API as their viewers, the environment its machine runs, and the folder it is in. Changing the environment restarts a running machine. Static website API access can be enabled only when sharing is already enabled or is enabled in the same request. Disabling sharing also disables API access. This settings-only patch does not create a project content version.
Request
- Base URLhttps://api.deepnote.com/v2
- URLhttps://api.deepnote.com/v2/projects/{projectId}
- AuthHTTP bearer
Path parameters
Request body
Response
Project updated
Example response
{
"project": {
"staticFiles": {
"sharingEnabled": true,
"url": "https://deepnote.com/apps/Sales-dashboard-61a8d92e-aa72-4f2e-8dce-cb78e10ecf7c/"
},
"environment": {
"id": "0b2f9c3e-6d7a-4f1e-9a8b-2c4d6e8f0a1b",
"name": "Python 3.13 (data science)",
"image": "deepnote/python:3.13-datascience",
"isDefault": true
}
}
}Changes
- info
the
/response's property pattern was changed from^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$to^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$for the status - info
the
//response's property pattern was changed from^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$to^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$for the status
- info
- info
added the new optional request property
/ - info
added the required property
//to the response with the status
- info