The resources responsible for creating and managing 'appstore' containers
-
netField.containers.getAll([page, limit, sortBy, sortOrder, includeDisabled, callback])
-
netField.containers.delete(containerId, [deleteContainerReferences], [callback])
-
netField.containers.share(containerId, organisationIds, [callback])
-
netField.containers.unshare(containerId, organisationId, [callback])
-
netField.containers.disable(containerId, params, [callback])
Get list of 'Appstore' containers
/**
* Get containers from the appstore
* @param {any} options optional
* @param {function} callback optional
*/
netField.containers.getAll([options], [callback])
Get a container from the 'appstore'
/**
* @param {string} containerId
* @param {function} callback optional
*/
netField.containers.get(containerId, [callback])
Adds a new container to the 'appstore'
/**
* @param {any} params
* @param {any} options optional
* @param {function} callback optional
*/
netField.containers.create(params, [options], [callback])
Updates a container in the 'appstore'
/**
* @param {any} params
* @param {any} options optional
* @param {function} callback optional
*/
netField.containers.update(params, [options], [callback])
Delete a container from the 'appstore'
/**
* @param {string} containerId
* @param {boolean} deleteContainerReferences optional
* @param {function} callback optional
*/
netField.containers.delete(containerId, [deleteContainerReferences], [callback])
Share container with different organisations
/**
* @param {string} containerId
* @param {Array<number>} organisationIds
* @param {function} callback optional
*/
netField.containers.share(containerId, organisationIds, [callback])
Unshare container with organisation
/**
* @param {string} containerId
* @param {number} organisationId
* @param {function} callback optional
*/
netField.containers.unshare(containerId, organisationId, [callback])
/**
* @param {string} containerId
* @param {object} params
* @param {function} callback optional
*/
netField.containers.disable(containerId, params, [callback])