v1

latestOpenAPI 3.0.32026-07-22115106141.4 KB
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 body

shelf_namestring required

Response

Request completed successfully