불변 태그 검증 응답

불변 태그 검증 응답 (immutable_tags_verify_response)

Docker Hub 저장소의 불변 태그 규칙 검증 결과를 돌려주는 응답 스키마예요. 주어진 정규식 패턴과 일치하는 태그 목록을 담아요.

출처: 문서

본문

응답은 tags 필드를 가진 객체예요. tags는 검증에 전달된 정규식 패턴과 일치하는 태그들의 배열이고, 필수예요.

{
  "examples": [
    {
      "tags": [
        "v1.0.0",
        "v2.1.3",
        "latest"
      ]
    }
  ],
  "properties": {
    "tags": {
      "description": "List of tags that match the provided regex pattern",
      "example": [
        "v1.0.0",
        "v2.1.3",
        "latest"
      ],
      "items": {
        "type": "string"
      },
      "type": "array"
    }
  },
  "required": [
    "tags"
  ],
  "type": "object"
}

더 알아보기