list

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
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
    }
  }
]

Last updated