Sha256: 16748b6ee72ec514449215c1fe0f89df0e648feabb7ee0c7033bd909ec993afb

Contents?: true

Size: 470 Bytes

Versions: 15

Compression:

Stored size: 470 Bytes

Contents

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


const createContentViewsParams = () => ({
  organization_id: orgId(),
  nondefault: true,
});

const getContentViews = () => get({
  type: API_OPERATIONS.GET,
  key: CONTENT_VIEWS_KEY,
  url: api.getApiUrl('/content_views'),
  params: createContentViewsParams(),
});

export default getContentViews;

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
katello-3.16.2 webpack/scenes/ContentViews/ContentViewsActions.js
katello-3.16.1.2 webpack/scenes/ContentViews/ContentViewsActions.js
katello-3.16.1.1 webpack/scenes/ContentViews/ContentViewsActions.js
katello-3.16.1 webpack/scenes/ContentViews/ContentViewsActions.js
katello-3.16.0 webpack/scenes/ContentViews/ContentViewsActions.js
katello-3.16.0.rc5.1 webpack/scenes/ContentViews/ContentViewsActions.js
katello-3.16.0.rc5 webpack/scenes/ContentViews/ContentViewsActions.js
katello-3.16.0.rc4.1 webpack/scenes/ContentViews/ContentViewsActions.js
katello-3.16.0.rc4 webpack/scenes/ContentViews/ContentViewsActions.js
katello-3.16.0.rc3.1 webpack/scenes/ContentViews/ContentViewsActions.js
katello-3.16.0.rc3 webpack/scenes/ContentViews/ContentViewsActions.js
katello-3.16.0.rc2.1 webpack/scenes/ContentViews/ContentViewsActions.js
katello-3.16.0.rc2 webpack/scenes/ContentViews/ContentViewsActions.js
katello-3.16.0.rc1.1 webpack/scenes/ContentViews/ContentViewsActions.js
katello-3.16.0.rc1 webpack/scenes/ContentViews/ContentViewsActions.js