Servers
Get File
Servers
Get File
Get File
GET
/
api
/
servers
/
{server_name}
/
files
/
{path}
curl --request GET \
--url https://dashboard.amdatascience.com/api/servers/{server_name}/files/{path} \
--header 'apiKey: <api-key>'
{
"content": {
"content": "abcd",
"created": "2024-06-26T20:09:18.403707Z",
"format": "text",
"last_modified": "2024-06-26T20:09:18.403707Z",
"mimetype": "text/plain",
"name": "example.txt",
"path": "example.txt",
"serverPath": "example.txt",
"size": 4,
"type": "file",
"writable": true
},
"status": "success"
}
Authorizations
Response
200 - application/json
Get File
curl --request GET \
--url https://dashboard.amdatascience.com/api/servers/{server_name}/files/{path} \
--header 'apiKey: <api-key>'
{
"content": {
"content": "abcd",
"created": "2024-06-26T20:09:18.403707Z",
"format": "text",
"last_modified": "2024-06-26T20:09:18.403707Z",
"mimetype": "text/plain",
"name": "example.txt",
"path": "example.txt",
"serverPath": "example.txt",
"size": 4,
"type": "file",
"writable": true
},
"status": "success"
}