Skip to main content
Version: 5.7.0

GetFileList

Retrieves the details of custom files stored on the server.

ServiceOperation
s3HandlingGET_FILE_LIST

Method Parameters

ParameterDescription
categoryCategory of files to retrieve

Usage

http://localhost:3000
SuccessCallback successCallback = (response, cbObject) =>
{
Debug.Log(string.Format("Success | {0}", response));
};
FailureCallback failureCallback = (status, code, error, cbObject) =>
{
Debug.Log(string.Format("Failed | {0} {1} {2}", status, code, error));
};

_bc.S3HandlingService.GetFileList(successCallback, failureCallback);
JSON Response
{
"status": 200,
"data": {
"fileDetails": [{
"gameId": "12311331",
"fileId": "3780516b-14f8-4055-8899-8eaab6ac7e82",
"shortName": "Test Doc",
"fileName": "testDoc.txt",
"type": "g",
"subType": "cust",
"category": null,
"fileSize": 4,
"dateUploaded": 1437154770000,
"relativeUrl": "/cust/testDoc.txt",
"absoluteUrl": "http://api.braincloudservers.com/s3/portal/g/12311331/cust/testDoc.txt",
"md5Hash": "d41d8cd98f00b204e9800998ecf8427e",
"md5HashHex" : "b895454d7210f7cb84aab76289ffd39c"
}]
}
}