Schema
repo_creation_request
Type:
object
description
Type:
string
Short description of the repository
All schema constraints and annotations
{
"description": "Short description of the repository",
"example": "A sample application repository",
"maxLength": 100,
"type": "string"
}full_description
Type:
string
Detailed description of the repository
All schema constraints and annotations
{
"description": "Detailed description of the repository",
"example": "This is a comprehensive description of my application repository that contains additional details about the project, its purpose, usage instructions, and other relevant information.",
"maxLength": 25000,
"type": "string"
}is_private
Type:
boolean
Whether the repository should be private
All schema constraints and annotations
{
"default": false,
"description": "Whether the repository should be private",
"example": false,
"type": "boolean"
}name
· required
Type:
string
The name of the repository. Must be 2-255 characters long and may only include
alphanumeric characters, periods (.), underscores (_), or hyphens (-).
Letters must be lowercase.
All schema constraints and annotations
{
"description": "The name of the repository. Must be 2-255 characters long and may only include \nalphanumeric characters, periods (.), underscores (_), or hyphens (-). \nLetters must be lowercase.\n",
"example": "my-app",
"maxLength": 255,
"minLength": 2,
"pattern": "^[a-z0-9]+(?:[._-][a-z0-9]+)*$",
"type": "string"
}namespace
· required
Type:
string
The namespace where the repository will be created
All schema constraints and annotations
{
"description": "The namespace where the repository will be created",
"example": "myorganization",
"type": "string"
}registry
Type:
string
The registry where the repository will be hosted
All schema constraints and annotations
{
"description": "The registry where the repository will be hosted",
"example": "docker.io",
"type": "string"
}All schema constraints and annotations
{
"properties": {
"description": {
"description": "Short description of the repository",
"example": "A sample application repository",
"maxLength": 100,
"type": "string"
},
"full_description": {
"description": "Detailed description of the repository",
"example": "This is a comprehensive description of my application repository that contains additional details about the project, its purpose, usage instructions, and other relevant information.",
"maxLength": 25000,
"type": "string"
},
"is_private": {
"default": false,
"description": "Whether the repository should be private",
"example": false,
"type": "boolean"
},
"name": {
"description": "The name of the repository. Must be 2-255 characters long and may only include \nalphanumeric characters, periods (.), underscores (_), or hyphens (-). \nLetters must be lowercase.\n",
"example": "my-app",
"maxLength": 255,
"minLength": 2,
"pattern": "^[a-z0-9]+(?:[._-][a-z0-9]+)*$",
"type": "string"
},
"namespace": {
"description": "The namespace where the repository will be created",
"example": "myorganization",
"type": "string"
},
"registry": {
"description": "The registry where the repository will be hosted",
"example": "docker.io",
"type": "string"
}
},
"required": [
"name",
"namespace"
],
"type": "object"
}