네임스페이스와 리포지토리 조회
네임스페이스와 리포지토리 조회
데이터가 준비된 네임스페이스와 리포지토리 목록을 반환해요.
출처: 문서
본문
GET /
네임스페이스와 리포지토리 조회 작업이에요. 데이터가 준비된 네임스페이스와 리포지토리 목록을 반환해요.
요청 예시
실행 전에 자리 표시자를 바꾸고 필요 자격 증명이나 요청 바디를 채워야 해요.
curl \
--request GET \
--header "Authorization: Bearer ${TOKEN}" \
--header 'Accept: application/json' \
'https://hub.docker.com/api/publisher/analytics/v1/'
요청과 응답
응답 200 Success
Schema:
{
"$ref": "#/components/schemas/NamespaceData"
}
Schema example:
{
"namespaces": [
"myorganization"
]
}
전체 작업 계약
{
"description": "Gets a list of your namespaces and repos which have data available.",
"operationId": "getNamespaces",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/NamespaceData"
}
}
},
"description": "Success"
}
},
"summary": "Get namespaces and repos",
"tags": [
"discovery"
]
}