Sha256: ee8d341976e5d8fdece99b348e07e50b7cca8d54f87c36d6d476a24b7c1b9ed5
Contents?: true
Size: 1.05 KB
Versions: 10
Compression:
Stored size: 1.05 KB
Contents
/** * @ngdoc service * @name Bastion.content-hosts.factory:ContentHost * * @requires BastionResource * * @description * Provides a BastionResource for one or more content hosts. */ angular.module('Bastion.hosts').factory('HostSubscription', ['BastionResource', function (BastionResource) { return BastionResource('/api/v2/hosts/:id/subscriptions/:action/', {id: '@id'}, { events: {method: 'GET', params: {action: 'events'}}, autoAttach: {method: 'PUT', params: {action: 'auto_attach'}}, removeSubscriptions: {method: 'put', isArray: false, params: {action: 'remove_subscriptions'}}, addSubscriptions: {method: 'put', isArray: false, params: {action: 'add_subscriptions'}}, repositorySets: {method: 'get', isArray: false, params: {action: 'product_content'}}, contentOverride: {method: 'put', isArray: false, params: {action: 'content_override'}}, releaseVersions: {method: 'get', isArray: false, params: {action: 'available_release_versions'}} }); }] );
Version data entries
10 entries across 10 versions & 1 rubygems