diff --git a/build/1-apillon-api.md b/build/1-apillon-api.md index 02a8cb36..ff611c14 100644 --- a/build/1-apillon-api.md +++ b/build/1-apillon-api.md @@ -237,3 +237,7 @@ If a project's credit balance is lower than price of executed action, API will r ... } ``` + +## API Code Examples + +Examples for using the Apillon API in PHP, .NET (C#) and Python can be found on [our code examples github repo](https://github.com/Apillon/code-examples) \ No newline at end of file diff --git a/build/6-apillon-cli.md b/build/6-apillon-cli.md index 8fc9abbc..ff1c47de 100644 --- a/build/6-apillon-cli.md +++ b/build/6-apillon-cli.md @@ -376,11 +376,14 @@ Upload contents of a local folder to specified bucket. - ``: Path to the folder containing your files. - `-b, --bucket-uuid `: UUID of the bucket to upload files to. +- `-w, --wrap`: Wrap uploaded files to an IPFS directory +- `-p, --path `: Path to upload files to (e.g. main/subdir). Required when --wrap is supplied. +- `--await`: await file CIDs to be resolved **Example** ```sh -apillon storage upload ./my_folder --bucket-uuid "123e4567-e89b-12d3-a456-426655440000" +apillon storage upload ./my_folder --bucket-uuid "123e4567-e89b-12d3-a456-426655440000" --wrap --path "main/subdir" ``` #### `storage get-file`