Create a shelf
Repository Shelves Manipulation
Create a shelf
Creates a new shelf by saving the current state of a workspace’s uncommitted changes.
Parameters:
name(required)workspace_id(required)reset_workspace(optional, defaults to true) - clean the workspace after shelving
Returns:
409 Conflictif a shelf with the same name exists204 No Contentif the workspace has no changes201 Createdwith the shelf details on success
POST
Create a shelf
Documentation Index
Fetch the complete documentation index at: https://docs.diversion.dev/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
This API uses OAuth 2 with the implicit grant flow
Path Parameters
The repo ID of the repository. Repo name can be used instead of the ID, but usage of ID for permanent linking and API requests is preferred.
Required string length:
3 - 128Example:
"example_id"
Body
application/json

