Sha256: ec0e84e37099d090ff1a8552459047689fd751d75a67c590cfc1c8a743a96c7f
Contents?: true
Size: 651 Bytes
Versions: 30
Compression:
Stored size: 651 Bytes
Contents
import { API_OPERATIONS, get } from 'foremanReact/redux/API'; import api, { foremanApi, orgId } from '../../services/api'; import SMART_PROXY_CONTENT_KEY, { SMART_PROXY_KEY } from './SmartProxyContentConstants'; const getSmartProxyContent = ({ smartProxyId }) => get({ type: API_OPERATIONS.GET, key: SMART_PROXY_CONTENT_KEY, url: api.getApiUrl(`/capsules/${smartProxyId}/content/sync?${orgId()}`), }); export const getSmartProxies = () => get({ type: API_OPERATIONS.GET, key: SMART_PROXY_KEY, url: foremanApi.getApiUrl('/smart_proxies'), params: { organization_id: orgId(), per_page: 'all' }, }); export default getSmartProxyContent;
Version data entries
30 entries across 30 versions & 1 rubygems