Sha256: 18272bd84b1998735eb6a31cb98b25a48f8366255c4816bcd2472a2eb76f1272
Contents?: true
Size: 1.66 KB
Versions: 37
Compression:
Stored size: 1.66 KB
Contents
/** * @ngdoc factory * @name Bastion.activation-keys.factory:ActivationKey * * @requires BastionResource * * @description * Provides a BastionResource for activation keys. */ angular.module('Bastion.activation-keys').factory('ActivationKey', ['BastionResource', function (BastionResource) { return BastionResource('/katello/api/v2/activation_keys/:id/:action/:action2', {id: '@id'}, { get: {method: 'GET', params: {fields: 'full'}}, update: {method: 'PUT'}, copy: {method: 'POST', params: {action: 'copy'}}, releaseVersions: {method: 'GET', params: {action: 'releases'}}, subscriptions: {method: 'GET', params: {action: 'subscriptions'}}, products: {method: 'GET', params: {action: 'products'}}, contentHosts: {method: 'GET', params: {action: 'systems'}}, removeSubscriptions: {method: 'PUT', isArray: false, params: {action: 'remove_subscriptions'}}, addSubscriptions: {method: 'PUT', isArray: false, params: {action: 'add_subscriptions'}}, hostCollections: {method: 'GET', params: {action: 'host_collections'}}, availableHostCollections: {method: 'GET', params: {action: 'host_collections', action2: 'available'}}, removeHostCollections: {method: 'PUT', isArray: false, params: {action: 'host_collections'}}, addHostCollections: {method: 'POST', isArray: false, params: {action: 'host_collections'}}, contentOverride: {method: 'PUT', isArray: false, params: {action: 'content_override'}}, autocomplete: {method: 'GET', isArray: true, params: {id: 'auto_complete_search'}} }); }] );
Version data entries
37 entries across 37 versions & 1 rubygems