API

upload file in to IPFS

POST https://api.djib.cloud/api/v1/ipfs/drive/upload

Headers

Name
Type
Description

X-API-Key*

Request Body

Name
Type
Description

files*

file

path

/

path to the folder

{
    "data": {
        "status": "OK"
    },
    "message": null,
    "status": 0
}

POST https://api.djib.cloud/api/v1/ipfs/drive/mkdir

Request Body

Name
Type
Description

name*

folder name

parent

/

parent folder, if empty it is root then

{
    "data": {
        "status": "ok"
    },
    "message": null,
    "status": 0
}

Last updated