Sha256: dab5657d01b9033c9af0e195327371d0c89db4b37387f7d843abaf4eceedfd3b
Contents?: true
Size: 916 Bytes
Versions: 9
Compression:
Stored size: 916 Bytes
Contents
/** * @ngdoc factory * @name Bastion.host-collections.factory:HostCollection * * @requires BastionResource * * @description * Provides a BastionResource for host collections. */ angular.module('Bastion.host-collections').factory('HostCollection', ['BastionResource', function (BastionResource) { return BastionResource('/katello/api/host_collections/:id/:action', {id: '@id'}, { get: {method: 'GET', params: {fields: 'full'}}, update: {method: 'PUT'}, copy: {method: 'POST', params: {action: 'copy'}}, contentHosts: {method: 'GET', params: {action: 'systems'}}, removeContentHosts: {method: 'PUT', params: {action: 'remove_systems'}}, addContentHosts: {method: 'PUT', params: {action: 'add_systems'}}, autocomplete: {method: 'GET', isArray: true, params: {id: 'auto_complete_search'}} }); }] );
Version data entries
9 entries across 9 versions & 1 rubygems