// Licensed to Cloudera, Inc. under one // or more contributor license agreements. See the NOTICE file // distributed with this work for additional information // regarding copyright ownership. Cloudera, Inc. licenses this file // to you under the Apache License, Version 2.0 (the // "License"); you may not use this file except in compliance // with the License. You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. export const FILESYSTEMS_API_URL = '/api/v1/storage/filesystems'; export const FILE_STATS_API_URL = '/api/v1/storage/stat'; export const LIST_DIRECTORY_API_URL = '/api/v1/storage/list'; export const FILE_PREVIEW_API_URL = '/api/v1/storage/display'; export const DOWNLOAD_API_URL = '/api/v1/storage/download'; export const CONTENT_SUMMARY_API_URL = '/api/v1/storage/content_summary'; export const SAVE_FILE_API_URL = '/api/v1/storage/save'; export const UPLOAD_FILE_URL = '/api/v1/storage/upload/file'; export const CHUNK_UPLOAD_URL = '/api/v1/storage/upload/chunks'; export const CHUNK_UPLOAD_COMPLETE_URL = '/api/v1/storage/upload/complete'; export const CREATE_FILE_API_URL = '/api/v1/storage/create/file'; export const CREATE_DIRECTORY_API_URL = '/api/v1/storage/create/directory'; export const RENAME_API_URL = '/api/v1/storage/rename'; export const SET_REPLICATION_API_URL = '/api/v1/storage/replication'; export const DELETION_API_URL = '/api/v1/storage/delete'; export const BULK_DELETION_API_URL = '/api/v1/storage/delete/bulk'; export const COMPRESS_API_URL = '/api/v1/storage/compress'; export const EXTRACT_API_URL = '/api/v1/storage/extract_archive'; export const COPY_API_URL = '/api/v1/storage/copy'; export const BULK_COPY_API_URL = '/api/v1/storage/copy/bulk'; export const MOVE_API_URL = '/api/v1/storage/move'; export const BULK_MOVE_API_URL = '/api/v1/storage/move/bulk'; export const BULK_CHANGE_OWNER_API_URL = '/api/v1/storage/chown/bulk'; export const BULK_CHANGE_PERMISSION_API_URL = '/api/v1/storage/chmod/bulk'; export const UPLOAD_AVAILABLE_SPACE_URL = '/api/v1/taskserver/upload/available_space'; export const TRASH_PATH = '/api/v1/storage/trash/path'; export const TRASH_RESTORE_BULK = '/api/v1/storage/trash/restore/bulk'; export const TRASH_PURGE = '/api/v1/storage/trash/purge';