Product Documentation

FairCom Replication JSON RPC API

Previous Topic

Next Topic

ctMemphisGetFilesFromGroup

int ctMemphisGetFilesFromGroup( pRCESJson request, ppRCESJson result )

Description:

Retrieve all the Files from the Replication Manager Database for the given File Group.

HTTP URL: <baseURL>/ctMemphisGetFilesFromGroup/

HTTP Verb: POST

Parameters:

  • request [IN] - Get Group Files request in JSON format. For example:

{

"id": 0, // required

"paging": true, // optional, see Note 1 - Paging Parameters

"limit": 100, // optional, see Note 1 - Paging Parameters

"start": 200 // optional, see Note 1 - Paging Parameters

}

  • result [OUT] - Result in JSON format. For example:

{

"fileList": [

{

"id": 0,

"volume": 1,

"root": "FairCom\\V10.1.3\\winX64\\bin\\ace\\sql\\data",

"path": "ctreeSQL.dbs",

"name": "test.dat",

"table": "test",

"size": 11736,

"createTime": "2014-04-07T13:18:09",

"updateTime": "2014-04-07T14:16:39",

"isDir": 0,

"isPartitioned": false,

"database": 1,

"isReplicable": false,

"isCtree": true,

"description": "File is c‑tree but doesn't have an index

that qualifies for replication"

},

{

"id": 2,

"volume": 1,

"root": "FairCom\\V10.1.3\\winX64\\bin\\ace\\sql\\data",

"path": "ctreeSQL.dbs",

"name": "test2.dat",

"table": "test2",

"size": 125533,

"createTime": "2014-04-07T13:18:09",

"updateTime": "2014-04-07T14:16:39",

"isDir": 0,

"isPartitioned": false,

"database": 1,

"isReplicable": false,

"isCtree": true,

"description": "File is c‑tree but doesn't have an index

that qualifies for replication"

}

]

"success": true,

"error":

{

"errorCode": 0,

"message": "Success"

},

"total": 2 // total number of files for the query -

see Note 1 - Paging Parameters

}

Return:

Error code

TOCIndex