RepositoryGroup 스키마

RepositoryGroup 스키마

저장소에 대한 접근을 위해 그룹(팀)을 할당할 때 사용하는 스키마예요.

출처: 문서

본문

스키마 — RepositoryGroup · 유형: object

group_id — 유형: integer — 그룹의 ID.

{
  "description": "The ID of the group",
  "example": 12345,
  "format": "int64",
  "type": "integer"
}

group_name — 유형: string — 그룹의 이름.

{
  "description": "The name of the group",
  "example": "developers",
  "type": "string"
}

permission — 유형: string — 그룹에 부여된 권한 수준.

{
  "description": "The permission level granted to the group",
  "enum": [
    "read",
    "write",
    "admin"
  ],
  "example": "write",
  "type": "string"
}

전체 스키마:

{
  "properties": {
    "group_id": {
      "description": "The ID of the group",
      "example": 12345,
      "format": "int64",
      "type": "integer"
    },
    "group_name": {
      "description": "The name of the group",
      "example": "developers",
      "type": "string"
    },
    "permission": {
      "description": "The permission level granted to the group",
      "enum": [
        "read",
        "write",
        "admin"
      ],
      "example": "write",
      "type": "string"
    }
  },
  "type": "object"
}

더 알아보기 (Learn more)