Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Harshg999 committed Jun 24, 2024
1 parent ff32853 commit 79e393e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/docs-site/content/developer/api/rest/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ Create a directory at a specific path:
curl -X POST https://demo.gethue.com/api/v1/storage/mkdir

- **name:** name of the directory
- **path:** specific path where user wants to create the directory
- **path:** specific path where you wants to create the directory

### Create File

Expand All @@ -499,7 +499,7 @@ Create a file at a specific path:
curl -X POST https://demo.gethue.com/api/v1/storage/touch

- **name:** name of the file
- **path:** specific path where user wants to create the file
- **path:** specific path where you want to create the file

### Rename

Expand All @@ -517,7 +517,7 @@ Move a file or directory to a destination path:
curl -X POST https://demo.gethue.com/api/v1/storage/move

- **src_path:** path of the selected file or directory
- **dest_path:** target path for moving the selected file or directory
- **dest_path:** path at which you want to move the selected file or directory

### Copy

Expand All @@ -526,9 +526,9 @@ Copy a file or directory to a destination path:
curl -X POST https://demo.gethue.com/api/v1/storage/copy

- **src_path:** path of the selected file or directory
- **dest_path:** target path for copying the selected file or directory
- **dest_path:** path at which you want to save the copy of the selected file or directory

**Note:** For **Apache Ozone** filesystem, copy operation returns a string of skipped files if their size is greater than configured chunk size.
**Note:** On the **Apache Ozone** filesystem, the copy operation returns a string of skipped files if their size is greater than the configured chunk size.

### Get Content Summary

Expand All @@ -547,7 +547,7 @@ Delete a file or directory:
- **path:** path of the selected file or directory
- **skip_trash:** boolean value to determine moving deleted file or directory to trash or not

**Note:** `skip_trash` field is currently supported only for HDFS.
**Note:** Currently, the `skip_trash` field is only supported for HDFS.

### Set Replication

Expand All @@ -564,7 +564,7 @@ Restore a specific file or directory from trash in **HDFS**:

curl -X POST https://demo.gethue.com/api/v1/storage/trash/restore

- **path:** path of the specific file or directory to restore from trash directory
- **path:** path of the specific file or directory that you want to restore from the trash directory

### Purge Trash

Expand Down

0 comments on commit 79e393e

Please sign in to comment.