LogoLogo
Dashboard
  • 💾Introduction
  • 🚀Getting started
  • 🔌Connections
  • 🔑Authentication and API Keys
  • 🛠️Transformers
  • API Docs
    • append
    • exists
    • list
    • mkdir
    • ping
    • read
    • rmdir
    • unlink
    • stat
    • write
Powered by GitBook
On this page
  • Request transformers
  • Response transformers

Transformers

Transformers may be used to modify request and response bodies when interacting with an SFTP server. We currently provide transformers for converting data between JSON and CSV formats. If there is a transformer that would be helpful for your use case please reach out and let us know.

Request transformers

Request transformers may passed with the name transformer in the query-string parameter or in a request body. They transform the format of a file being written.

`write` command

  • request.json2csv - Expects a file in the payload that contains a JSON encoded array of objects with consistent keys and converts that file to a CSV format with each key of the first item being a header

Response transformers

Request transformers may passed with the name transformer in the query-string parameter or in a request body. They transform the format of a file being read.

`read` command

  • response.csv2json - Expects the file being read to be in CSV format and converts it to a JSON encoded array of objects with keys for each header in the CSV file

PreviousAuthentication and API KeysNextAPI Docs

Last updated 1 year ago

🛠️