Skip to content

Latest commit

 

History

History
executable file
·
49 lines (32 loc) · 1.16 KB

VolumeApi.md

File metadata and controls

executable file
·
49 lines (32 loc) · 1.16 KB

DocNodeApi.VolumeApi

All URIs are relative to http://localhost:5555/api/v1.0.0

Method HTTP request Description
volumesListGET GET /volumes/list Returns a list of all volumes

volumesListGET

InlineResponse2003 volumesListGET()

Returns a list of all volumes

Allow to retrive all volume objects that are in the host machine (for additional information Docker API Reference - volume list)

Example

var DocNodeApi = require('doc_node_api');

var apiInstance = new DocNodeApi.VolumeApi();

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

Parameters

This endpoint does not need any parameter.

Return type

InlineResponse2003

Authorization

No authorization required

HTTP request headers

  • Content-Type: Not defined
  • Accept: Not defined