list files
GET
/api/v1/file-managerController:
github.com/raghavyuva/nixopus-api/internal/features/file-manager/controller.(*FileManagerController).ListFiles
Middlewares:
github.com/go-fuego/fuego.defaultLogger.middlewaregithub.com/raghavyuva/nixopus-api/internal.(*Router).Routes.func1github.com/raghavyuva/nixopus-api/internal.(*Router).Routes.func2github.com/raghavyuva/nixopus-api/internal.(*Router).Routes.func8
Parameters
Header Parameters
Accept
Typestring
Responses
OK
JSON
{
"data": null,
"error": "string",
"message": "string",
"status": "string"
}
Samples
cURL
curl -X GET http://localhost:8080/api/v1/api/v1/file-managerJavaScript
fetch("http://localhost:8080/api/v1/api/v1/file-manager")
.then(response => response.json())
.then(data => console.log(data));PHP
file_get_contents("http://localhost:8080/api/v1/api/v1/file-manager");Python
import requests
response = requests.get("http://localhost:8080/api/v1/api/v1/file-manager")
print(response.json())