GET http://localhost:8080/console/api/servers/73d89173-290e-4cb3-a61c-e11deb74767d/files/conf/server.xml?metadata=true
Get File Metadata
Tcat Server reached its End of Life in 2017. Contact your Customer Success Manager to determine options for managing, monitoring, or deploying your application. |
The GET operation returns metadata from the specified file from a server relative to CATALINA_BASE. URLs are of the form http://localhost:8080/console/api/servers/73d89173-290e-4cb3-a61c-e11deb74767d/files/<path>?metadata=true where <path>
is the path of the file you want to retrieve.
Example Request:
Example Response:
200
Transfer-Encoding: chunked
Content-Type: application/json
Server: Apache-Coyote/1.1
Date: Tue, 28 Jul 2015 16:17:12 GMT
{
"name" : "server.xml",
"size" : 6460,
"absolutePath" : "/usr/local/TcatServer6-R2/conf/server.xml",
"directory" : false,
"lastModified" : 1256052353600,
"userCanExecute" : true,
"userCanRead" : true,
"userCanWrite" : true
}