*The resources responsible for creating and managing container versions
-
netField.containers.versions.createversion(params, containerId, [options], [callback])
-
netField.containers.versions.deleteversion(containerId, versionId, [callback])
-
netField.containers.versions.getversion(containerId, versionId, [callback])
-
netField.containers.updateversion(params, containerId, versionId, [options], [callback])
Create a manifest container
/**
* @param {integer} organisationId
* @param {string} containerId
* @param {object} params
* @param {object} options optional
* @param {function} callback optional
*/
netField.containers.versions.createversion(organisationId, containerId, params, [options], [callback])
Delete version from container
/**
* @param {string} containerId
* @param {string} versionId
* @param {function} callback optional
*/
netField.containers.versions.deleteversion(containerId, versionId, [callback])
Get specific version for container
/**
* @param {string} containerId
* @param {string} versionId
* @param {function} callback optional
*/
netField.containers.versions.getversion(containerId, versionId, [callback])
Get all container versions
/**
* @param {string} containerId
* @param {number} page (optional)
* @param {number} limit (optional)
* @param {string} sortBy (optional)
* @param {string} sortOrder asc, desc (optional)
* @param {function} callback (optional)
*/
netField.containers.versions.getallversions(containerId, page, limit, sortBy, sortOrder, [callback])
Update container version
/**
* @param {object} params
* @param {string} containerId
* @param {string} versionId
* @param {object} options optional
* @param {function} callback optional
*/
netField.containers.versions.updateversion(params, containerId, versionId, [options], [callback])