Skip to main content
POST
/
api
/
dockerhub
/
organizations
/
repositories
/dockerhub/organizations/repositories
curl --request POST \
  --url https://api.anysite.io/api/dockerhub/organizations/repositories \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "namespace": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "name": "<string>",
    "namespace": "<string>",
    "alias": "<string>",
    "@type": "@dockerhub_repository",
    "repository_type": "<string>",
    "status_description": "",
    "description": "<string>",
    "full_description": "<string>",
    "is_private": false,
    "is_automated": false,
    "star_count": 0,
    "pull_count": 0,
    "storage_size": 0,
    "affiliation": "<string>",
    "media_types": [],
    "content_types": [],
    "categories": [],
    "last_updated": "<string>",
    "last_modified": "<string>",
    "date_registered": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
namespace
string
required

Organization namespace or its Docker Hub URL

Minimum string length: 1
Examples:

"grafana"

"library"

count
integer
required

Number of repositories to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

name
string
required
namespace
string
required
alias
string
required
@type
string
default:@dockerhub_repository
repository_type
string | null
status_description
string
default:""
description
string | null
full_description
string | null
is_private
boolean
default:false
is_automated
boolean
default:false
star_count
integer
default:0
pull_count
integer
default:0
storage_size
integer
default:0
affiliation
string | null
media_types
string[]
content_types
string[]
categories
DockerhubRepoCategory · object[]
last_updated
string | null
last_modified
string | null
date_registered
string | null