Rename repository
Change the name of a repository
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.
3 - 128"example_id"
Body
The new name for the repository
1 - 128^\S.*\S$|^\S$Response
Repository renamed successfully
1 - 128^\S.*\S$|^\S$"repo-name"
"example_id"
Seconds since epoch UTC
The ID of the organization to associate the repo with. If not provided, the system will use the user's organization if they belong to exactly one.
Optional URL of the git repository being synced with the repo
One of: 1 - latest commit of default branch, 2 - default branch with history, 3 - full repo with history, 4 - full repo with history and sync [default]
1, 2, 3, 4 The method used to calculate the digest of BLOBs in the repo.
sha1, md5 
