Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This section will capture the APIs related with Filestore Module.

Create FTP instance 

Creating an FTP instance into Freepbx/PBXact system.

...

Code Block
{
  "data": {
    "addFTPInstance": {
      "status": true,
      "message": "FTP Instance is created successfully",
      "id": "12345678-1234-1234-1234-12345678"
    }
  }
}

Update FTP instance 

Updating an FTP instance into Freepbx/PBXact system.

...

Code Block
{
  "data": {
    "updateFTPInstance": {
      "status": true,
      "message": "FTP_12345 Instance is updated successfully"
    }
  }
}

Delete FTP instance 

Delete an FTP instance into Freepbx/PBXact system.

...

Code Block
{
  "data": {
    "deleteFTPInstance": {
      "status": true,
      "message": "Successfully deleted FTP instance"
    }
  }
}

Create S3 instance 

Creating an S3 instance into Freepbx/PBXact system.

...

Code Block
{
  "data": {
    "addS3Bucket": {
      "status": true,
      "message": "S3 Instance is created successfully",
      "id": "12345678-1234-1234-1234-12345678"
    }
  }
}

Fetch Filestore Types

Fetch File store into Freepbx/PBXact system.

...

Code Block
{
  "data": {
    "fetchFilestoreTypes": {
      "status": true,
      "message": "List of filestore types",
      "types": "[\"FTP\",\"Local\"]"
    }
  }
}


Fetch Filestore Locations

Fetch File store locations into Freepbx/PBXact system.

...

Code Block
{
  "data": {
    "fetchFilestoreLocations": {
      "status": true,
      "message": "List of filestore locations",
      "locations":["Email_123456789","SSH_987654321","SSH_1122334455"]
    }
  }
}

Fetch AWS regions

Fetch AWS region into Freepbx/PBXact system.

...

Code Block
{
  "data": {
    "fetchAWSRegion": {
      "status": true,
      "message": "List of AWS Storage",
      "regions": "[\"us-east-1\",\"us-west-1\",\"sa-east-1\"]"
    }
  }
}


Fetch All File Stores

Fetch all file store into Freepbx/PBXact system.

...