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 |
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)
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);
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: Not defined