stat
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
}
}
Last updated