Repositories
Rename a repository
Record a new name for a repository whose directory does not carry its name. Only a server whose repository UUIDs are assigned by an auth provider accepts it.
patch/api/repos/{namespace}/{repo_name}/rename
Request
- Base URLhttps://hub.oxen.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
namespacestring required
Namespace of the repository
repo_namestring required
Name of the repository
Request body
Response
Repository renamed
Example response
{
"repository": {
"is_empty": false,
"name": "ImageNet-1k",
"namespace": "ox"
},
"status": "success",
"status_message": "resource_found"
}Changes
No recorded changes to this operation across all 1 revision of this API.