-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d4de6e7
commit bc41e57
Showing
4 changed files
with
330 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# itp storage file upload | ||
|
||
Upload a new file to a specified URL within iTwin storage. | ||
|
||
## Options | ||
|
||
- **`--uploadUrl`** | ||
The URL where the file should be uploaded. | ||
**Type:** `string` **Required:** Yes | ||
|
||
- **`--filePath`** | ||
The path to the file you want to upload. | ||
**Type:** `string` **Required:** Yes | ||
|
||
## Examples | ||
|
||
```bash | ||
# Example 1: Upload a PDF file to the storage | ||
itp storage file upload --uploadUrl "https://example.com/upload-url" --filePath "/path/to/your/file.pdf" | ||
|
||
# Example 2: Upload an image file to the storage | ||
itp storage file upload --uploadUrl "https://example.com/image-upload-url" --filePath "/path/to/your/image.jpg" | ||
``` | ||
|
||
## API Reference | ||
|
||
[Upload File](https://developer.bentley.com/apis/storage/operations/upload-file/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.