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
  1. API Docs

list

PreviousexistsNextmkdir

Last updated 1 year ago

Lists the contents of a directory.

get

List the contents of a directory

Authorizations
Path parameters
connectionSlugstringRequired
Query parameters
pathstringRequired
Responses
200
The directory was listed
application/json
Responseone of
or
400
The request was malformed
get
GET /{connectionSlug}/list HTTP/1.1
Host: api.sftpoverhttp.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
  {
    "filename": "text",
    "longname": "text",
    "attrs": {
      "mode": 1,
      "uid": 1,
      "gid": 1,
      "size": 1,
      "atime": 1,
      "mtime": 1
    }
  }
]