저장소 그룹 생성 요청
저장소 그룹 생성 요청 (RepositoryGroupCreationRequest)
Docker Hub 저장소에 조직 그룹 접근 권한을 부여할 때 보내는 요청 스키마예요. 그룹 ID와 권한 수준을 지정해요.
출처: 문서
본문
요청 본문은 group_id와 permission 두 필드를 가진 객체예요. 둘 다 필수예요.
group_id: 접근 권한을 부여할 조직 그룹의 IDpermission: 부여할 권한 수준read: 저장소를 보고 풀(pull)할 수 있음write: 저장소를 보고 풀·푸시할 수 있음admin: 저장소를 보고 풀·푸시하며 설정을 관리할 수 있음
{
"properties": {
"group_id": {
"description": "The ID of the organization group to grant access to",
"example": 12345,
"format": "int64",
"type": "integer"
},
"permission": {
"description": "The permission level to grant to the group:\n- read: Can view and pull from the repository\n- write: Can view, pull, and push to the repository\n- admin: Can view, pull, push, and manage repository settings\n",
"enum": [
"read",
"write",
"admin"
],
"example": "write",
"type": "string"
}
},
"required": [
"group_id",
"permission"
],
"type": "object"
}
더 알아보기
- 저장소 그룹 (RepositoryGroup): 권한이 부여된 그룹 객체 구조를 확인해요.
- 저장소 생성 요청 (repo_creation_request): 저장소 생성 요청을 살펴봐요.