filesystem
Get Path Info
Gets detailed information about a file or directory.
GET
/
api
/
filesystem
/
info
/
{path}
Copy
curl --request GET \
--url http://localhost:4242/{computer_name}/api/filesystem/info/{path}
Copy
{
"name": "document.txt",
"path": "/home/user/documents/document.txt",
"type": "file",
"size": 1024,
"modified_time": "2024-03-10T12:34:56",
"is_hidden": false,
"extension": "txt"
}
Path Parameters
Response
200
application/json
Successfully retrieved path information
The response is of type object
.
Copy
curl --request GET \
--url http://localhost:4242/{computer_name}/api/filesystem/info/{path}
Copy
{
"name": "document.txt",
"path": "/home/user/documents/document.txt",
"type": "file",
"size": 1024,
"modified_time": "2024-03-10T12:34:56",
"is_hidden": false,
"extension": "txt"
}
Assistant
Responses are generated using AI and may contain mistakes.