Skip to main content
GET
Get Path Info

Path Parameters

path
string
required

Response

Successfully retrieved path information

name
string
required

File or directory name

Example:

"document.txt"

path
string
required

Full path to the file or directory

Example:

"/home/user/documents/document.txt"

type
string
required

Type of entry: 'file' or 'directory'

Example:

"file"

size
integer
required

Size in bytes

Example:

1024

modified_time
string<date-time>
required

Last modification time

Example:

"2024-03-10T12:34:56"

is_hidden
boolean
required

Whether the file/directory is hidden

Example:

false

extension
string | null

File extension if applicable

Example:

"txt"