Repository Shelves Manipulation
Rename a shelf
Renames an existing shelf by updating its name.
Parameters:
- shelf_name (required) - will be stripped of whitespace
Requirements: Requires WRITE access to the repository.
Returns:
- 400 Bad Request if the name is empty after stripping
- 409 Conflict if a shelf with the new name already exists
- 204 No Content on success
patch/repos/{repo_id}/shelves/{shelf_id}
Request
- Base URLhttps://api.diversion.dev/v0
- AuthOAuth 2Implicithttps://auth.diversion.dev/oauth2/authorizeScopescoreapi/write
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Request completed successfully
Changes
No recorded changes to this operation across all 1 revision of this API.