Skip to content

Commit

Permalink
Merge pull request #149 from vinkoS993/main
Browse files Browse the repository at this point in the history
Storage documentation, to make file upload process more clear.
  • Loading branch information
dimitrov-d authored Nov 16, 2023
2 parents 3e549e2 + 8e283a0 commit a9112c0
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions build/4-storage-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,10 @@ In all cURL examples, parameters with a colon as a prefix should be replaced wit
**File upload process through Apillon Web3 Storage API**

1. Request signed URL(s) for upload.
2. File is uploaded to Apillon central server.
3. File is transferred to IPFS and available through the Apillon gateway.
4. File is replicated to different IPFS nodes globally via Crust Network.
2. Upload file(s) to Apillon central server.
3. Call [end upload session](#end-upload-session) to trigger transfer to IPFS
4. File is transferred to IPFS and available through the Apillon gateway.
5. File is replicated to different IPFS nodes globally via Crust Network.

### List buckets

Expand Down Expand Up @@ -162,6 +163,8 @@ curl --location --request POST "https://api.apillon.io/storage/buckets" \

> API that creates file upload requests and returns URLs for file upload along with `sessionUuid`.
\*\*Note: Once URLs for upload are acquired and files are uploaded to Apillon central server, call [end upload session](#end-upload-session), to trigger transfer of uploaded files inside session, to IPFS.

<div class="request-url">POST /storage/:bucketUuid/upload</div>

<div class="split_content">
Expand Down

0 comments on commit a9112c0

Please sign in to comment.