Product Documentation

FairCom Replication JSON RPC API

Previous Topic

Next Topic

ctMemphisReplPlanGetPublishedFiles

int ctMemphisReplPlanGetPublishedFiles( pRCESJson request, ppRCESJson result )

Description:

Build a list of with all the published files for the given Replication Plan.

Constraints:

  • "id": must be an existing Replication Plan ID;

Parameters:

  • request [IN] - Get Replication Plan Published files request in JSON format. For example:

{

"id": 1 // required

}

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

{

"fileList": [

{

"volume": 1,

"path": "FairCom/V10.1.3/winX64/bin/ace/sql/data/ctreeSQL.dbs",

"name": "test.dat",

"type": 6,

"isDir": false,

"isPartitioned": false,

"isReplicable": false,

"isCtree": true,

"description": "Check pending"

},

{

"volume": 1,

"path": "FairCom/V10.1.3/winX64/bin/ace/sql/data/ctreeSQL.dbs",

"name": "test2.dat",

"type": 5,

"isDir": false,

"isPartitioned": false,

"isReplicable": false,

"isCtree": true,

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

that qualifies for replication"

},

{

"volume": 1,

"path": "FairCom/V10.1.3/winX64/bin/ace/sql/data/ctreeSQL.dbs/temp",

"name": "tempFile1.dat",

"type": 5,

"isDir": false,

"isPartitioned": false,

"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": 3 // total number of publication files for the query -

see Note 1 - Paging Parameters

}

Return:

Error code

TOCIndex