Sha256: 2cc14c5cc2475507952141c55662edee9f3b895e3f0891ba54fe1dcd2fbfa221
Contents?: true
Size: 828 Bytes
Versions: 65
Compression:
Stored size: 828 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
65 entries across 65 versions & 1 rubygems