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

stat

PreviousunlinkNextwrite

Last updated 1 year ago

Get the attributes of a file or directory.

get

Get the attributes of a file or directory

Authorizations
Path parameters
connectionSlugstringRequired
Query parameters
pathstringRequired
Responses
200
The attributes were retrieved
application/json
Responseone of
or
400
The request was malformed
get
GET /{connectionSlug}/stat HTTP/1.1
Host: api.sftpoverhttp.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
  "stat": {
    "mode": 1,
    "uid": 1,
    "gid": 1,
    "size": 1,
    "atime": 1,
    "mtime": 1
  }
}