Sha256: b9a628708ee3be307952e2524f05258bf023592be8bdbe1a695f9c8d43a54c4d
Contents?: true
Size: 829 Bytes
Versions: 10
Compression:
Stored size: 829 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/v2/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
10 entries across 10 versions & 1 rubygems