The upload-file command is not supported by this API. Instead, you can utilize another API for the intended operation.
JSON Input Data Format

    {
        "id": string,
        "name": string,
        "path": string,
        "operator": string,
        "cloudnode": string
    }

id * | Specifies the ID of the bucket.
name * | Specifies the name of the bucket.
path * | Specifies the directory path where the file will be uploaded. <
operator * | This API requires you to separately specify your account ID.
cloudnode * | Specifies the {ANYNODE} ID hosting the bucket.

* Indicates a mandatory field.

Code Snippet
Below is a NodeJS code snippet provided for your direct use:
Successful Response

    {
        "result": "OK",
        "payload": "Uploaded filename.txt successfully"
    }

Failed Response

    {
        "result": "ERR",
        "message": "Error message ..."
    }