PullModel
PullModel
개별 풀 통계 레코드를 담는 모델이에요. 국가, 네임스페이스, 리포지토리, 구간 시작·종료, IP·풀 수치를 포함해요. 그룹화 기준에 따라 일부 필드만 채워져요.
출처: 문서
본문
개별 풀 통계 레코드를 담는 모델이에요. 국가, 네임스페이스, 리포지토리, 구간 시작·종료, IP·풀 수치를 포함해요. 그룹화 기준에 따라 일부 필드만 채워져요.
실제 JSON 스키마는 다음과 같아요.
{
"properties": {
"country": {
"description": "Country. Present for results grouped by geography and repository.",
"type": "string"
},
"end": {
"description": "End of the reporting interval in RFC 3339 format.",
"format": "date-time",
"type": "string"
},
"ipCount": {
"type": "integer"
},
"namespace": {
"description": "Namespace name. Present for results grouped by namespace.",
"type": "string"
},
"pullCount": {
"type": "integer"
},
"repo": {
"description": "Repository name. Present for results grouped by repository.",
"type": "string"
},
"start": {
"description": "Start of the reporting interval in RFC 3339 format.",
"format": "date-time",
"type": "string"
}
},
"type": "object"
}