/v1/search
Search the registry
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/docker-api/v1/search" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/docker-api/v1/search", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/docker-api/v1/search");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/docker-api/v1/search",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"count": 20,
"query": "postgres",
"total": 51392,
"results": [
{
"name": "postgres",
"docker_url": "https://hub.docker.com/_/postgres",
"pull_count": 10726279840,
"star_count": 14917,
"description": "The PostgreSQL object-relational database system provides reliability and data integrity.",
"is_official": true,
"is_automated": false,
"pull_command": "docker pull postgres"
},
{
"name": "cimg/postgres",
"docker_url": "https://hub.docker.com/r/cimg/postgres",
"pull_count": 670452093,
"star_count": 9,
"description": null,
"is_official": false,
"is_automated": false,
"pull_command": "docker pull cimg/postgres"
},
{
"name": "circleci/postgres",
"docker_url": "https://hub.docker.com/r/circleci/postgres",
"pull_count": 509423944,
"star_count": 35,
"description": "The PostgreSQL object-relational database system provides reliability and data integrity.",
"is_official": false,
"is_automated": false,
"pull_command": "docker pull circleci/postgres"
},
{
"name": "kasmweb/postgres",
"docker_url": "https://hub.docker.com/r/kasmweb/postgres",
"pull_count": 662161,
"star_count": 6,
"description": "Postgres image maintained by Kasm Technologies that includes pg_audit and other modifications.",
"is_official": false,
"is_automated": false,
"pull_command": "docker pull kasmweb/postgres"
},
{
"name": "elestio/postgres",
"docker_url": "https://hub.docker.com/r/elestio/postgres",
"pull_count": 190650,
"star_count": 2,
"description": "Postgres, verified and packaged by Elestio",
"is_official": false,
"is_automated": false,
"pull_command": "docker pull elestio/postgres"
},
{
"name": "ubuntu/postgres",
"docker_url": "https://hub.docker.com/r/ubuntu/postgres",
"pull_count": 853604,
"star_count": 44,
"description": "PostgreSQL is an open source object-relational database. Long-term versions maintained by Canonical.",
"is_official": false,
"is_automated": false,
"pull_command": "docker pull ubuntu/postgres"
},
{
"name": "cleanstart/postgres",
"docker_url": "https://hub.docker.com/r/cleanstar
…