Sha256: ea57359e55480657e6ae2f2caf52c085183f99b5b5c3fc30e39f3aa3b0a3df1e
Contents?: true
Size: 1.4 KB
Versions: 201
Compression:
Stored size: 1.4 KB
Contents
/** * @ngdoc service * @name Bastion.subscriptions.factory:Subscription * * @requires BastionResource * @requires CurrentOrganization * * @description * Provides a BastionResource for a subscription or list of subscriptions */ angular.module('Bastion.subscriptions').factory('Subscription', ['BastionResource', 'CurrentOrganization', function (BastionResource, CurrentOrganization) { return BastionResource('katello/api/v2/organizations/:org/subscriptions/:id/:action', {org: CurrentOrganization, id: '@id'}, { autocomplete: {method: 'GET', isArray: true, params: {id: 'auto_complete_search'}}, deleteManifest: { method: 'POST', url: 'katello/api/v2/organizations/:org/subscriptions/delete_manifest', params: {'org': CurrentOrganization} }, refreshManifest: { method: 'PUT', url: 'katello/api/v2/organizations/:org/subscriptions/refresh_manifest', params: {'org': CurrentOrganization} }, manifestHistory: { method: 'GET', url: 'katello/api/v2/organizations/:org/subscriptions/:action', params: {action: 'manifest_history'}, isArray: true } }); }] );
Version data entries
201 entries across 201 versions & 1 rubygems