Get image information from the registry Run in API Explorer
Return image digest and platform information by contacting the registry.
GET
/distribution/{name}/json
curl \
--request GET 'http://api.example.com/v1.44/distribution/{name}/json'
Response examples (200)
{
"Descriptor": {
"mediaType": "application/vnd.docker.distribution.manifest.v2+json",
"digest": "sha256:c0537ff6a5218ef531ece93d4984efc99bbf3f7497c0a7726c88e2bb7584dc96",
"size": 3987495
},
"Platforms": [
{
"architecture": "arm",
"os": "windows",
"os.version": "10.0.19041.1165",
"os.features": [
"win32k"
],
"variant": "v7"
}
]
}
Response examples (401)
{
"message": "No such image: someimage (tag: latest)"
}
Response examples (401)
{
"message": "Something went wrong."
}
Response examples (500)
{
"message": "Something went wrong."
}
Response examples (500)
{
"message": "Something went wrong."
}