Sha256: 2e421e25cfa51ca4e2d71b950a8b80c1ee4cb26567512f7a30d7c9ff65ea54e0

Contents?: true

Size: 530 Bytes

Versions: 71

Compression:

Stored size: 530 Bytes

Contents

import { API_OPERATIONS, get } from 'foremanReact/redux/API';
import api, { orgId } from '../../services/api';
import { GET_CONTENT_CREDENTIALS_KEY } from './ContentCredentialConstants';

export const getContentCredentials = (params = {}) => {
  const defaultParams = {
    organization_id: orgId(),
  };

  return get({
    type: API_OPERATIONS.GET,
    key: GET_CONTENT_CREDENTIALS_KEY,
    url: api.getApiUrl('/content_credentials'),
    params: { ...defaultParams, ...params },
  });
};

export default getContentCredentials;

Version data entries

71 entries across 71 versions & 1 rubygems

Version Path
katello-4.14.2 webpack/scenes/ContentCredentials/ContentCredentialActions.js
katello-4.15.0 webpack/scenes/ContentCredentials/ContentCredentialActions.js
katello-4.15.0.rc2 webpack/scenes/ContentCredentials/ContentCredentialActions.js
katello-4.15.0.rc1 webpack/scenes/ContentCredentials/ContentCredentialActions.js
katello-4.14.1 webpack/scenes/ContentCredentials/ContentCredentialActions.js
katello-4.14.0 webpack/scenes/ContentCredentials/ContentCredentialActions.js
katello-4.14.0.rc3 webpack/scenes/ContentCredentials/ContentCredentialActions.js
katello-4.14.0.rc2 webpack/scenes/ContentCredentials/ContentCredentialActions.js
katello-4.14.0.rc1.1 webpack/scenes/ContentCredentials/ContentCredentialActions.js
katello-4.14.0.rc1 webpack/scenes/ContentCredentials/ContentCredentialActions.js
katello-4.13.1 webpack/scenes/ContentCredentials/ContentCredentialActions.js
katello-4.13.0 webpack/scenes/ContentCredentials/ContentCredentialActions.js
katello-4.12.1 webpack/scenes/ContentCredentials/ContentCredentialActions.js
katello-4.13.0.rc1 webpack/scenes/ContentCredentials/ContentCredentialActions.js
katello-4.12.0 webpack/scenes/ContentCredentials/ContentCredentialActions.js
katello-4.12.0.rc3 webpack/scenes/ContentCredentials/ContentCredentialActions.js
katello-4.12.0.rc2 webpack/scenes/ContentCredentials/ContentCredentialActions.js
katello-4.12.0.rc1 webpack/scenes/ContentCredentials/ContentCredentialActions.js
katello-4.11.1 webpack/scenes/ContentCredentials/ContentCredentialActions.js
katello-4.11.0 webpack/scenes/ContentCredentials/ContentCredentialActions.js