The builder-s3-pull command copies a file or folder from an Object Storage bucket or Magna-bucket into the builder space.

JSON Input Data Format
{
    "pid": string,
    "cloudid": string,
    "url": string
}
pid * Specifies the build space ID, which can be any value, but must remain consistent throughout the build process. In Flow-fx, this ID is automatically set to match the ID of the Flow-fx.
cloudid * Specifies the {ANYNODE} ID on which the builder will be activated.
url * Specifies the URL to the file or folder in the bucket.
  • use "s3ob://bucketname/file.zip" to download a single file from an Object Storage bucket
  • use "s3ob://bucketname/folder/" to download an entire folder from an Object Storage bucket
  • use "s3mb://bucketname/file.zip" to download a single from a Magna bucket
  • use "s3mb://bucketname/folder/" to download an entire folder from a Magna bucket
* Indicates a mandatory field.

Code Snippets
Here are several code snippets provided for your direct use. Simply select your preferred tool/language by clicking on it.


Successful Response
{
    "result": "OK",
    "payload": "The process was successfully completed"
}

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