Sha256: 8ca368c0ea24c04a522eaf3c9bd4c3f9c6d64e9b68b701bbf86077a549660257
Contents?: true
Size: 826 Bytes
Versions: 28
Compression:
Stored size: 826 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'}}, removeHosts: {method: 'PUT', params: {action: 'remove_hosts'}}, addHosts: {method: 'PUT', params: {action: 'add_hosts'}}, autocomplete: {method: 'GET', isArray: true, params: {id: 'auto_complete_search'}} }); }] );
Version data entries
28 entries across 28 versions & 1 rubygems