저장소 생성 요청
저장소 생성 요청 (repo_creation_request)
Docker Hub에 저장소를 새로 만들 때 보내는 요청 스키마예요. 저장소 이름·설명·카테고리·공개 여부 같은 정보를 담아요.
출처: 문서
본문
저장소 생성 요청 객체는 저장소를 정의하는 필드들을 담아요. 예를 들어 이름(name)과 설명(description), 공개 여부(is_private), 카테고리(categories) 등을 지정할 수 있습니다. 요청마다 필수 필드가 다를 수 있으니 대상 엔드포인트의 명세를 함께 확인하는 게 좋아요.
{
"properties": {
"categories": {
"description": "Repository categories for classification and discovery",
"items": {
"$ref": "#/components/schemas/category"
},
"type": "array"
},
"description": {
"description": "A short description of the image",
"example": "This is my test image",
"type": "string"
},
"is_private": {
"description": "Whether the repository is private",
"example": false,
"type": "boolean"
},
"name": {
"description": "Repository name",
"example": "test-repo",
"type": "string"
}
},
"type": "object"
}
더 알아보기
- 저장소 정보 (repository_info): 저장소 생성 결과로 얻는 객체를 확인해요.
- 카테고리 (category):
categories배열의 각 항목 구조를 살펴봐요.