초대
초대 (invite)
Docker Hub 조직 멤버십 초대 객체를 나타내는 스키마예요. 초대 대상(invitee), 초대한 사용자, 가입할 조직·팀, 초대 시각과 식별자를 담아요.
출처: 문서
본문
초대 객체의 주요 필드는 다음과 같아요.
created_at: 초대 생성 시각id: 초대 ID를 나타내는 UUIDinvitee: 초대 대상. 등록 사용자면 Docker ID, 비등록 사용자면 이메일이에요.inviter_username: 초대를 보낸 사용자 이름org: 가입할 조직 이름team: 가입할 팀(사용자 그룹) 이름
{
"properties": {
"created_at": {
"example": "2021-10-28T18:30:19.520861Z",
"type": "string"
},
"id": {
"description": "uuid representing the invite id",
"example": "e36eca69-4cc8-4f17-9845-ae8c2b832691",
"type": "string"
},
"invitee": {
"description": "can either be a dockerID for registered users or an email for non-registered users",
"example": "[email protected]",
"type": "string"
},
"inviter_username": {
"example": "moby",
"type": "string"
},
"org": {
"description": "name of the org to join",
"example": "docker",
"type": "string"
},
"team": {
"description": "name of the team (user group) to join",
"example": "owners",
"type": "string"
}
},
"type": "object"
}
더 알아보기
- 일괄 초대 (bulk_invite): 일괄 초대 응답에서 초대 객체가 쓰이는 형태를 확인해요.
- 초대 다시 보내기 작업: 초대를 재발송하는 API를 살펴봐요.