Skip to content

Latest commit

 

History

History
55 lines (35 loc) · 1.34 KB

DistributionApi.md

File metadata and controls

55 lines (35 loc) · 1.34 KB

DockerEngineApi.DistributionApi

All URIs are relative to http://localhost/v1.41

Method HTTP request Description
distributionInspect GET /distribution/{name}/json Get image information from the registry

distributionInspect

DistributionInspectResponse distributionInspect(name)

Get image information from the registry

Return image digest and platform information by contacting the registry.

Example

var DockerEngineApi = require('docker_engine_api');

var apiInstance = new DockerEngineApi.DistributionApi();

var name = "name_example"; // String | Image name or id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.distributionInspect(name, callback);

Parameters

Name Type Description Notes
name String Image name or id

Return type

DistributionInspectResponse

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json, text/plain
  • Accept: application/json