GSC POD API

Files

Get File List

Returns a list of files in the directory specified in the path.

Status: Complete

Endpoint: https://pod.dev.gscserver.com/api/file

Method: GET

Content-Type: application/json


Headers: N/A


Body: N/A


Result:

{
	"success": true,
	"message": "List of files for directory.",
	"data": [
		"image.png",
		"directory",
		"document.pdf"
	
	]
}
					

Get File

Returns a file in the directory specified in the path from the Get Files endpoint.

Status: Complete

Endpoint: https://pod.dev.gscserver.com/api/files/path/to/file/filename.ext

Method: GET

Content-Type: application/json


Headers: N/A


Body: N/A


Result:

[Downloads Content]