debian-mirror-gitlab/app/assets/javascripts/api/bulk_imports_api.js
2021-11-18 22:05:49 +05:30

7 lines
281 B
JavaScript

import { buildApiUrl } from '~/api/api_utils';
import axios from '~/lib/utils/axios_utils';
const BULK_IMPORT_ENTITIES_PATH = '/api/:version/bulk_imports/entities';
export const getBulkImportsHistory = (params) =>
axios.get(buildApiUrl(BULK_IMPORT_ENTITIES_PATH), { params });