{
    "swagger":"2.0",
    "info":{
        "version":"2024.07.30",
        "title":"REST API for Oracle Blockchain Platform Enterprise Edition",
        "description":"Use the Oracle Blockchain Platform Enterprise Edition REST API to programmatically query and invoke chaincode transactions, and to manage your blockchain network.",
        "x-summary":"Use the Oracle Blockchain Platform Enterprise Edition REST API to programmatically query and invoke chaincode transactions, and to manage your blockchain network."
    },
    "schemes":[
        "https"
    ],
    "consumes":[
        "application/json"
    ],
    "produces":[
        "application/json"
    ],
    "securityDefinitions":{
        "basicAuth":{
            "type":"basic",
            "description":"HTTP Basic Authentication."
        }
    },
    "security":[
        {
            "basicAuth":[
            ]
        }
    ],
    "tags":[
        {
            "name":"Application Operations",
            "description":"REST API for administrative operations"
        },
        {
            "name":"Application Operations/Atomic Transactions",
            "description":"Use these operations to query and invoke chaincode transactions spanning multiple channels which are committed atomically."
        },
        {
            "name":"Application Operations/Audit Log Events",
            "description":"The operations from the Application Operations/Audit Log Events category."
        },
        {
            "name":"Application Operations/Events",
            "description":"Use these operations to subscribe or unsubscribe to chaincode events."
        },
        {
            "name":"Application Operations/Transactions",
            "description":"Use these operations to query and invoke chaincode transactions."
        },
        {
            "name":"Blockchain Network Administrative Operations/Chaincode",
            "description":"REST API for chaincode operations"
        },
        {
            "name":"Blockchain Network Administrative Operations/Channel",
            "description":"REST API for channel operations"
        },
        {
            "name":"Blockchain Network Administrative Operations/Nodes",
            "description":"REST API for nodes operations"
        },
        {
            "name":"Blockchain Network Administrative Operations/Organizations",
            "description":"REST API for organizations operations"
        },
        {
            "name":"Blockchain Platform Administrative Operations/Configuration",
            "description":"Use these operations to work with platform configurations."
        },
        {
            "name":"Blockchain Platform Administrative Operations/Platform",
            "description":"Use these operations to administer Oracle Blockchain Platform."
        },
        {
            "name":"Statistics",
            "description":"REST API for statistics operations"
        }
    ],
    "paths":{
        "/restproxy/api/version":{
            "get":{
                "tags":[
                    "Application Operations"
                ],
                "summary":"Get Version of REST Proxy API",
                "description":"Get the version of the REST proxy API.",
                "produces":[
                    "application/json"
                ],
                "responses":{
                    "200":{
                        "description":"Operation successful",
                        "schema":{
                            "type":"object",
                            "required":[
                                "returnCode",
                                "result"
                            ],
                            "properties":{
                                "returnCode":{
                                    "$ref":"#/definitions/returnCode"
                                },
                                "error":{
                                    "type":"string"
                                },
                                "result":{
                                    "type":"string"
                                }
                            }
                        }
                    }
                },
                "x-internal-id":"restproxy-api-version-get",
                "x-filename-id":"restproxy-api-version-get"
            }
        },
        "/restproxy/api/v2/channels/{channelName}/transaction-id":{
            "parameters":[
                {
                    "name":"channelName",
                    "in":"path",
                    "description":"ID of the channel",
                    "required":true,
                    "type":"string"
                }
            ],
            "get":{
                "tags":[
                    "Application Operations/Transactions"
                ],
                "summary":"Get a New Transaction ID and Nonce",
                "description":"Request an asynchronous-mode transaction ID and nonce by channel name and enrollment. The transaction will be invoked later in asynchronous mode.",
                "operationId":"getTransactionId",
                "produces":[
                    "application/json"
                ],
                "parameters":[
                    {
                        "name":"role",
                        "in":"query",
                        "description":"Name of the Hyperledger Fabric enrollment to be used",
                        "type":"string"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Operation successful",
                        "schema":{
                            "type":"object",
                            "required":[
                                "returnCode"
                            ],
                            "properties":{
                                "returnCode":{
                                    "$ref":"#/definitions/returnCode"
                                },
                                "error":{
                                    "type":"string"
                                },
                                "result":{
                                    "type":"object",
                                    "required":[
                                        "txid"
                                    ],
                                    "properties":{
                                        "txid":{
                                            "description":"Transaction ID",
                                            "type":"string"
                                        },
                                        "nonce":{
                                            "description":"Nonce value",
                                            "type":"string"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "400":{
                        "$ref":"#/responses/400"
                    },
                    "401":{
                        "$ref":"#/responses/401"
                    },
                    "403":{
                        "$ref":"#/responses/403"
                    },
                    "404":{
                        "$ref":"#/responses/404"
                    },
                    "500":{
                        "$ref":"#/responses/500"
                    }
                },
                "x-internal-id":"restproxy-api-v2-channels-{channelName}-transaction-id-get",
                "x-filename-id":"restproxy-api-v2-channels-channelname-transaction-id-get"
            }
        },
        "/restproxy/api/v2/channels/{channelName}/transactions":{
            "parameters":[
                {
                    "name":"channelName",
                    "in":"path",
                    "description":"Name of the channel",
                    "required":true,
                    "type":"string"
                }
            ],
            "post":{
                "tags":[
                    "Application Operations/Transactions"
                ],
                "summary":"Send a Transaction",
                "description":"This endpoint is used to send a transaction. Note that for asynchronous transactions, we suggest using the new Send an Asynchronous Transaction endpoint.",
                "operationId":"sendTransaction",
                "produces":[
                    "application/json"
                ],
                "consumes":[
                    "application/json"
                ],
                "parameters":[
                    {
                        "in":"body",
                        "name":"transaction request",
                        "description":"Request to invoke a transaction",
                        "required":true,
                        "schema":{
                            "type":"object",
                            "required":[
                                "chaincode",
                                "args"
                            ],
                            "properties":{
                                "role":{
                                    "description":"Name of the Hyperledger Fabric enrollment to be used",
                                    "type":"string"
                                },
                                "txid":{
                                    "description":"ID of the transaction",
                                    "type":"string"
                                },
                                "nonce":{
                                    "description":"Nonce for the transaction",
                                    "type":"string"
                                },
                                "chaincode":{
                                    "description":"ID of the chaincode to invoke",
                                    "type":"string"
                                },
                                "args":{
                                    "description":"Arguments for the chaincode",
                                    "type":"array",
                                    "items":{
                                        "type":"string"
                                    }
                                },
                                "endorsers":{
                                    "description":"Endorsers for the chaincode",
                                    "type":"array",
                                    "items":{
                                        "type":"string"
                                    }
                                },
                                "timeout":{
                                    "description":"Timeout in ms for the chaincode to invoke",
                                    "type":"integer",
                                    "format":"int64",
                                    "default":"18000"
                                },
                                "transientMap":{
                                    "description":"TransientMap for the chaincode",
                                    "type":"object",
                                    "additionalProperties":{
                                        "type":"string"
                                    }
                                },
                                "sync":{
                                    "description":"Whether to invoke the chaincode synchronously.",
                                    "type":"boolean",
                                    "default":false
                                },
                                "isInit":{
                                    "description":"Specifies if it is an initialization request",
                                    "type":"boolean",
                                    "default":false
                                },
                                "sameOrgEndorser":{
                                    "description":"Specifies if it should select endorsers of this organization only. When set to true, the endorsers field cannot be specified.",
                                    "type":"boolean",
                                    "default":false
                                }
                            }
                        }
                    }
                ],
                "responses":{
                    "201":{
                        "description":"Operation successful for synchronous transaction",
                        "schema":{
                            "type":"object",
                            "required":[
                                "returnCode"
                            ],
                            "properties":{
                                "returnCode":{
                                    "$ref":"#/definitions/returnCode"
                                },
                                "error":{
                                    "type":"string",
                                    "default":""
                                },
                                "result":{
                                    "type":"object",
                                    "required":[
                                        "txid",
                                        "payload",
                                        "encode"
                                    ],
                                    "properties":{
                                        "txid":{
                                            "type":"string"
                                        },
                                        "message":{
                                            "type":"string"
                                        },
                                        "payload":{
                                            "$ref":"#/definitions/AnyValue"
                                        },
                                        "encode":{
                                            "$ref":"#/definitions/encode"
                                        },
                                        "sourceURL":{
                                            "description":"Returns the URL of the peer that reported the transaction status to the REST proxy",
                                            "type":"string"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "202":{
                        "description":"Operation successful for asynchronous transaction",
                        "schema":{
                            "type":"object",
                            "required":[
                                "returnCode"
                            ],
                            "properties":{
                                "returnCode":{
                                    "$ref":"#/definitions/returnCode"
                                },
                                "error":{
                                    "type":"string",
                                    "default":""
                                },
                                "result":{
                                    "type":"object",
                                    "required":[
                                        "txid"
                                    ],
                                    "properties":{
                                        "txid":{
                                            "type":"string"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "400":{
                        "$ref":"#/responses/400"
                    },
                    "401":{
                        "$ref":"#/responses/401"
                    },
                    "403":{
                        "$ref":"#/responses/403"
                    },
                    "404":{
                        "$ref":"#/responses/404"
                    },
                    "500":{
                        "$ref":"#/responses/500"
                    }
                },
                "x-internal-id":"restproxy-api-v2-channels-{channelName}-transactions-post",
                "x-filename-id":"restproxy-api-v2-channels-channelname-transactions-post"
            }
        },
        "/restproxy/api/v2/channels/{channelName}/chaincode-queries":{
            "parameters":[
                {
                    "name":"channelName",
                    "in":"path",
                    "description":"ID of the channel",
                    "required":true,
                    "type":"string"
                }
            ],
            "post":{
                "tags":[
                    "Application Operations/Transactions"
                ],
                "summary":"Query a Chaincode",
                "description":"Query a chaincode. This endpoint is used to invoke any query function supported by the chaincode application that is already installed and instantiated on a channel.",
                "operationId":"queryChaincode",
                "produces":[
                    "application/json"
                ],
                "consumes":[
                    "application/json"
                ],
                "parameters":[
                    {
                        "in":"body",
                        "name":"query request",
                        "description":"Request to query a chaincode",
                        "schema":{
                            "type":"object",
                            "required":[
                                "chaincode",
                                "args"
                            ],
                            "properties":{
                                "role":{
                                    "description":"Name of Hyperledger Fabric enrollment to be used",
                                    "type":"string"
                                },
                                "chaincode":{
                                    "description":"Name of the chaincode",
                                    "type":"string"
                                },
                                "args":{
                                    "description":"Arguments for the chaincode",
                                    "type":"array",
                                    "items":{
                                        "type":"string"
                                    }
                                },
                                "timeout":{
                                    "description":"Timeout in ms for the chaincode to invoke",
                                    "type":"integer",
                                    "format":"int64",
                                    "default":"18000"
                                },
                                "transientMap":{
                                    "description":"TransientMap for the chaincode",
                                    "type":"object",
                                    "additionalProperties":{
                                        "type":"string"
                                    }
                                },
                                "peer":{
                                    "description":"Endpoint of the target peer",
                                    "type":"string"
                                },
                                "sameOrgEndorser":{
                                    "description":"Specify if it should select a peer of this organization only. When set to true, the peer field cannot be specified.",
                                    "type":"boolean",
                                    "default":false
                                }
                            }
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Operation successful",
                        "schema":{
                            "type":"object",
                            "required":[
                                "returnCode"
                            ],
                            "properties":{
                                "returnCode":{
                                    "$ref":"#/definitions/returnCode"
                                },
                                "error":{
                                    "type":"string",
                                    "default":""
                                },
                                "result":{
                                    "type":"object",
                                    "required":[
                                        "payload",
                                        "encode"
                                    ],
                                    "properties":{
                                        "message":{
                                            "type":"string"
                                        },
                                        "payload":{
                                            "$ref":"#/definitions/AnyValue"
                                        },
                                        "encode":{
                                            "$ref":"#/definitions/encode"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "400":{
                        "$ref":"#/responses/400"
                    },
                    "401":{
                        "$ref":"#/responses/401"
                    },
                    "403":{
                        "$ref":"#/responses/403"
                    },
                    "404":{
                        "$ref":"#/responses/404"
                    },
                    "500":{
                        "$ref":"#/responses/500"
                    }
                },
                "x-internal-id":"restproxy-api-v2-channels-{channelName}-chaincode-queries-post",
                "x-filename-id":"restproxy-api-v2-channels-channelname-chaincode-queries-post"
            }
        },
        "/restproxy/api/v2/channels/{channelName}/transactions/{transactionId}":{
            "parameters":[
                {
                    "name":"channelName",
                    "in":"path",
                    "description":"ID of the channel",
                    "required":true,
                    "type":"string"
                },
                {
                    "name":"transactionId",
                    "in":"path",
                    "description":"ID of the transaction",
                    "required":true,
                    "type":"string"
                }
            ],
            "get":{
                "tags":[
                    "Application Operations/Transactions"
                ],
                "summary":"Get Transaction Information",
                "description":"This endpoint is used to get the status and other details of a transaction based on its transaction ID.",
                "operationId":"getTransactionInfo",
                "produces":[
                    "application/json"
                ],
                "parameters":[
                    {
                        "name":"role",
                        "in":"query",
                        "description":"Name of the Hyperledger Fabric enrollment to be used",
                        "type":"string"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Operation successful",
                        "schema":{
                            "type":"object",
                            "required":[
                                "returnCode"
                            ],
                            "properties":{
                                "returnCode":{
                                    "$ref":"#/definitions/returnCode"
                                },
                                "error":{
                                    "type":"string"
                                },
                                "result":{
                                    "type":"object",
                                    "required":[
                                        "txid",
                                        "status"
                                    ],
                                    "properties":{
                                        "txid":{
                                            "description":"Transaction ID",
                                            "type":"string"
                                        },
                                        "status":{
                                            "description":"Transaction Status",
                                            "type":"string",
                                            "enum":[
                                                "valid",
                                                "invalid",
                                                "not found"
                                            ]
                                        },
                                        "message":{
                                            "type":"string"
                                        },
                                        "payload":{
                                            "$ref":"#/definitions/AnyValue"
                                        },
                                        "encode":{
                                            "$ref":"#/definitions/encode"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "400":{
                        "$ref":"#/responses/400"
                    },
                    "401":{
                        "$ref":"#/responses/401"
                    },
                    "403":{
                        "$ref":"#/responses/403"
                    },
                    "404":{
                        "$ref":"#/responses/404"
                    },
                    "500":{
                        "$ref":"#/responses/500"
                    }
                },
                "x-internal-id":"restproxy-api-v2-channels-{channelName}-transactions-{transactionId}-get",
                "x-filename-id":"restproxy-api-v2-channels-channelname-transactions-transactionid-get"
            }
        },
        "/restproxy/api/v2/atomicTransactions":{
            "post":{
                "tags":[
                    "Application Operations/Atomic Transactions"
                ],
                "summary":"Invoke Atomic Transaction",
                "description":"Invoke an atomic transaction. This allows you to have multiple transactions spanning multiple channels which are committed atomically - either all of them are committed successfully, or none of them are commited.",
                "operationId":"invokeAtomicTransaction",
                "produces":[
                    "application/json"
                ],
                "consumes":[
                    "application/json"
                ],
                "parameters":[
                    {
                        "in":"body",
                        "name":"atomic transaction invoke request",
                        "description":"Request to invoke a transaction",
                        "required":true,
                        "schema":{
                            "type":"object",
                            "required":[
                                "transactions",
                                "isolationLevel"
                            ],
                            "properties":{
                                "transactions":{
                                    "description":"Array of individual transactions to process",
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/definitions/atomicTransactionInvokeReq"
                                    }
                                },
                                "lrc":{
                                    "$ref":"#/definitions/atomicTransactionLRCReq"
                                },
                                "isolationLevel":{
                                    "description":"Isolation Level for the atomic transaction",
                                    "type":"string",
                                    "enum":[
                                        "serializable",
                                        "readCommitted"
                                    ]
                                },
                                "prepareTimeout":{
                                    "description":"Timeout in ms for the prepare phase of atomic transactions",
                                    "type":"integer",
                                    "format":"int64",
                                    "default":"30000"
                                },
                                "sync":{
                                    "description":"Determines whether the requests waits for a response or return immediately with a global transaction ID.",
                                    "type":"boolean",
                                    "default":true
                                },
                                "role":{
                                    "description":"Which Hyperledger Fabric enrollment should be used",
                                    "type":"string"
                                }
                            }
                        }
                    }
                ],
                "responses":{
                    "201":{
                        "description":"Successful operation for synchronous transaction",
                        "schema":{
                            "type":"object",
                            "required":[
                                "returnCode"
                            ],
                            "properties":{
                                "returnCode":{
                                    "$ref":"#/definitions/returnCode"
                                },
                                "error":{
                                    "type":"string",
                                    "default":""
                                },
                                "result":{
                                    "$ref":"#/definitions/atomicTransactionResults"
                                }
                            }
                        }
                    },
                    "202":{
                        "description":"Successful operation for asynchronous transaction",
                        "schema":{
                            "type":"object",
                            "required":[
                                "returnCode"
                            ],
                            "properties":{
                                "returnCode":{
                                    "$ref":"#/definitions/returnCode"
                                },
                                "error":{
                                    "type":"string",
                                    "default":""
                                },
                                "result":{
                                    "type":"object",
                                    "properties":{
                                        "globalTxid":{
                                            "type":"string"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "400":{
                        "$ref":"#/responses/400"
                    },
                    "401":{
                        "$ref":"#/responses/401"
                    },
                    "403":{
                        "$ref":"#/responses/403"
                    },
                    "404":{
                        "$ref":"#/responses/404"
                    },
                    "500":{
                        "$ref":"#/responses/500"
                    }
                },
                "x-internal-id":"restproxy-api-v2-atomicTransactions-post",
                "x-filename-id":"restproxy-api-v2-atomictransactions-post"
            }
        },
        "/restproxy/api/v2/atomicTransactions/{globalTransactionId}":{
            "parameters":[
                {
                    "name":"globalTransactionId",
                    "in":"path",
                    "description":"Global transaction ID",
                    "required":true,
                    "type":"string"
                }
            ],
            "get":{
                "tags":[
                    "Application Operations/Atomic Transactions"
                ],
                "summary":"Query Atomic Transaction",
                "description":"Query an atomic transaction. This endpoint is used to query the status of an atomic transaction by providing the global (atomic) transaction ID.",
                "operationId":"queryAtomicTransaction",
                "produces":[
                    "application/json"
                ],
                "parameters":[
                    {
                        "name":"role",
                        "in":"query",
                        "description":"Which Hyperledger Fabric enrollment should be used",
                        "type":"string"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Successful operation",
                        "schema":{
                            "type":"object",
                            "required":[
                                "returnCode"
                            ],
                            "properties":{
                                "returnCode":{
                                    "$ref":"#/definitions/returnCode"
                                },
                                "error":{
                                    "type":"string"
                                },
                                "result":{
                                    "$ref":"#/definitions/atomicTransactionResults"
                                }
                            }
                        }
                    },
                    "400":{
                        "$ref":"#/responses/400"
                    },
                    "401":{
                        "$ref":"#/responses/401"
                    },
                    "403":{
                        "$ref":"#/responses/403"
                    },
                    "404":{
                        "$ref":"#/responses/404"
                    },
                    "500":{
                        "$ref":"#/responses/500"
                    }
                },
                "x-internal-id":"restproxy-api-v2-atomicTransactions-{globalTransactionId}-get",
                "x-filename-id":"restproxy-api-v2-atomictransactions-globaltransactionid-get"
            },
            "put":{
                "tags":[
                    "Application Operations/Atomic Transactions"
                ],
                "summary":"Unlock Atomic Transaction",
                "description":"Unlock an atomic transaction. Sends a request to unlock chaincode keys locked by a previous atomic transaction.",
                "operationId":"unlockAtomicTransaction",
                "produces":[
                    "application/json"
                ],
                "consumes":[
                    "application/json"
                ],
                "parameters":[
                    {
                        "in":"body",
                        "name":"atomic transaction unlock request",
                        "description":"Request to unlock chaincode keys locked by a previous atomic transaction",
                        "required":true,
                        "schema":{
                            "type":"object",
                            "required":[
                                "chaincode",
                                "channel",
                                "prepareTxid"
                            ],
                            "properties":{
                                "channel":{
                                    "description":"ID of the channel to invoke the transaction",
                                    "type":"string"
                                },
                                "chaincode":{
                                    "description":"ID of the chaincode to invoke",
                                    "type":"string"
                                },
                                "endorsers":{
                                    "description":"Endorsers for the chaincode",
                                    "type":"array",
                                    "items":{
                                        "type":"string"
                                    }
                                },
                                "timeout":{
                                    "description":"Timeout in ms for the chaincode to invoke",
                                    "type":"integer",
                                    "format":"int64"
                                },
                                "prepareTxid":{
                                    "description":"Transaction ID of the prepared transaction",
                                    "type":"string"
                                },
                                "isCommit":{
                                    "description":"Specify whether to commit or rollback the transaction. Optional.",
                                    "type":"boolean",
                                    "default":false
                                }
                            }
                        }
                    }
                ],
                "responses":{
                    "201":{
                        "description":"Successful operation for synchronous transaction",
                        "schema":{
                            "type":"object",
                            "required":[
                                "returnCode"
                            ],
                            "properties":{
                                "returnCode":{
                                    "$ref":"#/definitions/returnCode"
                                },
                                "error":{
                                    "type":"string",
                                    "default":""
                                },
                                "result":{
                                    "type":"object",
                                    "required":[
                                        "txid",
                                        "payload",
                                        "encode"
                                    ],
                                    "properties":{
                                        "txid":{
                                            "type":"string"
                                        },
                                        "message":{
                                            "type":"string"
                                        },
                                        "payload":{
                                            "$ref":"#/definitions/AnyValue"
                                        },
                                        "encode":{
                                            "$ref":"#/definitions/encode"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "400":{
                        "$ref":"#/responses/400"
                    },
                    "401":{
                        "$ref":"#/responses/401"
                    },
                    "403":{
                        "$ref":"#/responses/403"
                    },
                    "404":{
                        "$ref":"#/responses/404"
                    },
                    "500":{
                        "$ref":"#/responses/500"
                    }
                },
                "x-internal-id":"restproxy-api-v2-atomicTransactions-{globalTransactionId}-put",
                "x-filename-id":"restproxy-api-v2-atomictransactions-globaltransactionid-put"
            }
        },
        "/restproxy/api/v2/channels/{channelName}/transactions/async":{
            "parameters":[
                {
                    "name":"channelName",
                    "in":"path",
                    "description":"ID of the channel",
                    "required":true,
                    "type":"string"
                }
            ],
            "post":{
                "tags":[
                    "Application Operations/Transactions"
                ],
                "summary":"Send an Asynchronous Transaction",
                "description":"Sends an asynchronous transaction. This improved version of the Send a Transaction endpoint relies on a rest proxy generated tracking ID instead of the Hyperledger Fabric transaction ID to track the transaction to completion, allowing for retries in additional commit failure scenarios.",
                "operationId":"sendAsyncTransaction",
                "produces":[
                    "application/json"
                ],
                "consumes":[
                    "application/json"
                ],
                "parameters":[
                    {
                        "in":"body",
                        "name":"transaction request",
                        "description":"Request to invoke an asynchronous transaction",
                        "required":true,
                        "schema":{
                            "type":"object",
                            "required":[
                                "chaincode",
                                "args"
                            ],
                            "properties":{
                                "role":{
                                    "description":"Which Hyperledger Fabric enrollment should be used",
                                    "type":"string"
                                },
                                "chaincode":{
                                    "description":"ID of the chaincode to invoke",
                                    "type":"string"
                                },
                                "args":{
                                    "description":"Arguments for the chaincode",
                                    "type":"array",
                                    "items":{
                                        "type":"string"
                                    }
                                },
                                "endorsers":{
                                    "description":"Endorsers for the chaincode",
                                    "type":"array",
                                    "items":{
                                        "type":"string"
                                    }
                                },
                                "timeout":{
                                    "description":"Timeout in ms for the chaincode to invoke",
                                    "type":"integer",
                                    "format":"int64",
                                    "default":"18000"
                                },
                                "transientMap":{
                                    "description":"TransientMap for the chaincode",
                                    "type":"object",
                                    "additionalProperties":{
                                        "type":"string"
                                    }
                                },
                                "isInit":{
                                    "description":"Whether it is an initialization request",
                                    "type":"boolean",
                                    "default":false
                                },
                                "sameOrgEndorser":{
                                    "description":"Whether it should select endorsers of this organization only. When set to true, the endorsers field cannot be specified.",
                                    "type":"boolean",
                                    "default":false
                                },
                                "retries":{
                                    "description":"Number of retries for endorsement and certain commit failures",
                                    "type":"integer",
                                    "format":"int64",
                                    "default":"3"
                                }
                            }
                        }
                    }
                ],
                "responses":{
                    "202":{
                        "description":"Successful operation for asynchronous transaction",
                        "schema":{
                            "type":"object",
                            "required":[
                                "returnCode"
                            ],
                            "properties":{
                                "returnCode":{
                                    "$ref":"#/definitions/returnCode"
                                },
                                "error":{
                                    "type":"string",
                                    "default":""
                                },
                                "result":{
                                    "type":"object",
                                    "required":[
                                        "trackingID"
                                    ],
                                    "properties":{
                                        "trackingID":{
                                            "type":"string"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "400":{
                        "$ref":"#/responses/400"
                    },
                    "401":{
                        "$ref":"#/responses/401"
                    },
                    "403":{
                        "$ref":"#/responses/403"
                    },
                    "404":{
                        "$ref":"#/responses/404"
                    },
                    "500":{
                        "$ref":"#/responses/500"
                    }
                },
                "x-internal-id":"restproxy-api-v2-channels-{channelName}-transactions-async-post",
                "x-filename-id":"restproxy-api-v2-channels-channelname-transactions-async-post"
            }
        },
        "/restproxy/api/v2/channels/{channelName}/transactions/async/{trackingID}":{
            "parameters":[
                {
                    "name":"channelName",
                    "in":"path",
                    "description":"ID of the channel",
                    "required":true,
                    "type":"string"
                },
                {
                    "name":"trackingID",
                    "in":"path",
                    "description":"Tracking ID of the asynchronous transaction returned by the rest proxy",
                    "required":true,
                    "type":"string"
                }
            ],
            "get":{
                "tags":[
                    "Application Operations/Transactions"
                ],
                "summary":"Get Response of Asynchronous Transaction",
                "description":"Gets the response of an asynchronous transaction.",
                "operationId":"getAsyncTransactionInfo",
                "produces":[
                    "application/json"
                ],
                "parameters":[
                    {
                        "name":"role",
                        "in":"query",
                        "description":"Which Hyperledger Fabric enrollment should be used",
                        "type":"string"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Successful operation",
                        "schema":{
                            "type":"object",
                            "required":[
                                "returnCode"
                            ],
                            "properties":{
                                "returnCode":{
                                    "$ref":"#/definitions/returnCode"
                                },
                                "error":{
                                    "type":"string"
                                },
                                "result":{
                                    "type":"object",
                                    "required":[
                                        "txid",
                                        "status"
                                    ],
                                    "properties":{
                                        "txid":{
                                            "description":"Transaction ID",
                                            "type":"string"
                                        },
                                        "status":{
                                            "description":"Transaction status",
                                            "type":"string",
                                            "enum":[
                                                "valid",
                                                "invalid",
                                                "not found"
                                            ]
                                        },
                                        "message":{
                                            "type":"string"
                                        },
                                        "blockNumber":{
                                            "type":"integer"
                                        },
                                        "payload":{
                                            "$ref":"#/definitions/AnyValue"
                                        },
                                        "encode":{
                                            "$ref":"#/definitions/encode"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "400":{
                        "$ref":"#/responses/400"
                    },
                    "401":{
                        "$ref":"#/responses/401"
                    },
                    "403":{
                        "$ref":"#/responses/403"
                    },
                    "404":{
                        "$ref":"#/responses/404"
                    },
                    "500":{
                        "$ref":"#/responses/500"
                    }
                },
                "x-internal-id":"restproxy-api-v2-channels-{channelName}-transactions-async-{trackingID}-get",
                "x-filename-id":"restproxy-api-v2-channels-channelname-transactions-async-trackingid-get"
            }
        },
        "/restproxy/api/v2/channels/{channelName}/event-subscriptions":{
            "parameters":[
                {
                    "name":"channelName",
                    "in":"path",
                    "description":"ID of the channel",
                    "required":true,
                    "type":"string"
                }
            ],
            "get":{
                "tags":[
                    "Application Operations/Events"
                ],
                "summary":"List Event Subscriptions",
                "description":"List all event subscriptions. This endpoint is used to generate a list of all the events subscribed to by a blockchain user in the specified channel.",
                "operationId":"listSubscribeEvents",
                "produces":[
                    "application/json"
                ],
                "consumes":[
                    "application/json"
                ],
                "parameters":[
                    {
                        "in":"query",
                        "name":"role",
                        "type":"string",
                        "description":"Name of Hyperledger Fabric enrollment to be used"
                    },
                    {
                        "in":"query",
                        "name":"user-id",
                        "type":"string",
                        "description":"User name. It should be the same user defined in basic auth."
                    },
                    {
                        "in":"query",
                        "name":"subscription-id",
                        "type":"string",
                        "description":"ID of the subscription when operation succeeds"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Successful operation",
                        "schema":{
                            "type":"object",
                            "required":[
                                "returnCode"
                            ],
                            "properties":{
                                "returnCode":{
                                    "$ref":"#/definitions/returnCode"
                                },
                                "error":{
                                    "type":"string",
                                    "description":"Error message when operation fails",
                                    "default":""
                                },
                                "result":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/definitions/EventSubscriptionQuery"
                                    }
                                }
                            }
                        }
                    },
                    "400":{
                        "$ref":"#/responses/400"
                    },
                    "401":{
                        "$ref":"#/responses/401"
                    },
                    "403":{
                        "$ref":"#/responses/403"
                    },
                    "404":{
                        "$ref":"#/responses/404"
                    },
                    "500":{
                        "$ref":"#/responses/500"
                    }
                },
                "x-internal-id":"restproxy-api-v2-channels-{channelName}-event-subscriptions-get",
                "x-filename-id":"restproxy-api-v2-channels-channelname-event-subscriptions-get"
            },
            "post":{
                "tags":[
                    "Application Operations/Events"
                ],
                "summary":"Subscribe to an Event",
                "description":"Subscribe to an event.",
                "operationId":"subscribeEvent",
                "produces":[
                    "application/json"
                ],
                "consumes":[
                    "application/json"
                ],
                "parameters":[
                    {
                        "in":"body",
                        "name":"subscribe event request",
                        "description":"Request to subscribe to an event",
                        "required":true,
                        "schema":{
                            "$ref":"#/definitions/EventSubscription"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Operation successful",
                        "schema":{
                            "type":"object",
                            "required":[
                                "returnCode"
                            ],
                            "properties":{
                                "returnCode":{
                                    "$ref":"#/definitions/returnCode"
                                },
                                "error":{
                                    "type":"string",
                                    "description":"Error message when operation fails",
                                    "default":""
                                },
                                "result":{
                                    "type":"object",
                                    "required":[
                                        "subid"
                                    ],
                                    "properties":{
                                        "subid":{
                                            "description":"ID of the subscription when operation succeeds",
                                            "type":"string"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "400":{
                        "$ref":"#/responses/400"
                    },
                    "401":{
                        "$ref":"#/responses/401"
                    },
                    "403":{
                        "$ref":"#/responses/403"
                    },
                    "404":{
                        "$ref":"#/responses/404"
                    },
                    "500":{
                        "$ref":"#/responses/500"
                    }
                },
                "x-internal-id":"restproxy-api-v2-channels-{channelName}-event-subscriptions-post",
                "x-filename-id":"restproxy-api-v2-channels-channelname-event-subscriptions-post"
            },
            "delete":{
                "tags":[
                    "Application Operations/Events"
                ],
                "summary":"Unsubscribe from an Event",
                "description":"Unsubscribe from an event.",
                "operationId":"unsubscribeEvent",
                "produces":[
                    "application/json"
                ],
                "parameters":[
                    {
                        "in":"query",
                        "name":"role",
                        "type":"string",
                        "description":"Name of Hyperledger Fabric enrollment to be used"
                    },
                    {
                        "in":"query",
                        "name":"user-id",
                        "type":"string",
                        "description":"User name. It should be the same as the user defined in basic auth."
                    },
                    {
                        "in":"query",
                        "name":"subscription-id",
                        "type":"string",
                        "description":"ID of the subscription when operation succeeds"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Operation successful",
                        "schema":{
                            "type":"object",
                            "required":[
                                "returnCode"
                            ],
                            "properties":{
                                "returnCode":{
                                    "$ref":"#/definitions/returnCode"
                                },
                                "error":{
                                    "type":"string"
                                },
                                "result":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/definitions/UnEventSubscription"
                                    }
                                }
                            }
                        }
                    },
                    "400":{
                        "$ref":"#/responses/400"
                    },
                    "401":{
                        "$ref":"#/responses/401"
                    },
                    "403":{
                        "$ref":"#/responses/403"
                    },
                    "404":{
                        "$ref":"#/responses/404"
                    },
                    "500":{
                        "$ref":"#/responses/500"
                    }
                },
                "x-internal-id":"restproxy-api-v2-channels-{channelName}-event-subscriptions-delete",
                "x-filename-id":"restproxy-api-v2-channels-channelname-event-subscriptions-delete"
            }
        },
        "/restproxy/api/v2/auditlog/event-subscriptions":{
            "get":{
                "tags":[
                    "Application Operations/Audit Log Events"
                ],
                "summary":"List Audit Log Event Subscriptions",
                "description":"Lists all audit log event subscriptions.",
                "operationId":"listSubscribeAuditLogEvents",
                "produces":[
                    "application/json"
                ],
                "consumes":[
                    "application/json"
                ],
                "parameters":[
                    {
                        "in":"query",
                        "name":"user-id",
                        "type":"string",
                        "description":"User's name. It should be the same user defined in basic auth."
                    },
                    {
                        "in":"query",
                        "name":"subscription-id",
                        "type":"string",
                        "description":"ID of the subscription when successful."
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Successful operation",
                        "schema":{
                            "type":"object",
                            "required":[
                                "returnCode"
                            ],
                            "properties":{
                                "returnCode":{
                                    "$ref":"#/definitions/returnCode"
                                },
                                "error":{
                                    "type":"string",
                                    "description":"Error message when the request fails",
                                    "default":""
                                },
                                "result":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/definitions/AuditLogEventSubscription"
                                    }
                                }
                            }
                        }
                    },
                    "400":{
                        "$ref":"#/responses/400"
                    },
                    "401":{
                        "$ref":"#/responses/401"
                    },
                    "403":{
                        "$ref":"#/responses/403"
                    },
                    "404":{
                        "$ref":"#/responses/404"
                    },
                    "500":{
                        "$ref":"#/responses/500"
                    }
                },
                "x-internal-id":"restproxy-api-v2-auditlog-event-subscriptions-get",
                "x-filename-id":"restproxy-api-v2-auditlog-event-subscriptions-get"
            },
            "post":{
                "tags":[
                    "Application Operations/Audit Log Events"
                ],
                "summary":"Subscribe to an Audit Log Event",
                "description":"Subscribe to an audit log event.",
                "operationId":"subscribeAuditLogEvent",
                "produces":[
                    "application/json"
                ],
                "consumes":[
                    "application/json"
                ],
                "parameters":[
                    {
                        "in":"body",
                        "name":"subscribe auditlog event request",
                        "description":"Request to subscribe to an audit log event",
                        "required":true,
                        "schema":{
                            "$ref":"#/definitions/AuditLogEventSubscription"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Successful operation",
                        "schema":{
                            "type":"object",
                            "required":[
                                "returnCode"
                            ],
                            "properties":{
                                "returnCode":{
                                    "$ref":"#/definitions/returnCode"
                                },
                                "error":{
                                    "type":"string",
                                    "description":"Error message when the subscription fails",
                                    "default":""
                                },
                                "result":{
                                    "type":"object",
                                    "required":[
                                        "subid"
                                    ],
                                    "properties":{
                                        "subid":{
                                            "description":"ID of the subscription when successful",
                                            "type":"string"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "400":{
                        "$ref":"#/responses/400"
                    },
                    "401":{
                        "$ref":"#/responses/401"
                    },
                    "403":{
                        "$ref":"#/responses/403"
                    },
                    "404":{
                        "$ref":"#/responses/404"
                    },
                    "500":{
                        "$ref":"#/responses/500"
                    }
                },
                "x-internal-id":"restproxy-api-v2-auditlog-event-subscriptions-post",
                "x-filename-id":"restproxy-api-v2-auditlog-event-subscriptions-post"
            },
            "delete":{
                "tags":[
                    "Application Operations/Audit Log Events"
                ],
                "summary":"Unsubscribe from an Audit Log Event",
                "description":"Unsubscribe from an audit log event.",
                "operationId":"unsubscribeAudigLogEvent",
                "produces":[
                    "application/json"
                ],
                "parameters":[
                    {
                        "in":"query",
                        "name":"user-id",
                        "type":"string",
                        "description":"User's name. It should be the same user defined in basic auth."
                    },
                    {
                        "in":"query",
                        "name":"subscription-id",
                        "type":"string",
                        "description":"ID of the subscription when successful"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Successful operation",
                        "schema":{
                            "type":"object",
                            "required":[
                                "returnCode"
                            ],
                            "properties":{
                                "returnCode":{
                                    "$ref":"#/definitions/returnCode"
                                },
                                "error":{
                                    "type":"string"
                                },
                                "result":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/definitions/UnEventSubscription"
                                    }
                                }
                            }
                        }
                    },
                    "400":{
                        "$ref":"#/responses/400"
                    },
                    "401":{
                        "$ref":"#/responses/401"
                    },
                    "403":{
                        "$ref":"#/responses/403"
                    },
                    "404":{
                        "$ref":"#/responses/404"
                    },
                    "500":{
                        "$ref":"#/responses/500"
                    }
                },
                "x-internal-id":"restproxy-api-v2-auditlog-event-subscriptions-delete",
                "x-filename-id":"restproxy-api-v2-auditlog-event-subscriptions-delete"
            }
        },
        "/console/admin/api/v2/nodes":{
            "get":{
                "tags":[
                    "Blockchain Network Administrative Operations/Nodes"
                ],
                "summary":"Get Node List",
                "description":"Returns a node list by given node type.",
                "operationId":"listNodes",
                "produces":[
                    "application/json"
                ],
                "parameters":[
                    {
                        "name":"nodeType",
                        "in":"query",
                        "description":"node type",
                        "required":false,
                        "type":"string",
                        "enum":[
                            "CA",
                            "PEER",
                            "ORDERER",
                            "RESTPROXY"
                        ]
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Nodes response",
                        "schema":{
                            "type":"array",
                            "items":{
                                "$ref":"#/definitions/nodes"
                            }
                        }
                    },
                    "400":{
                        "description":"Invalid arguments",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-nodes-get",
                "x-filename-id":"console-admin-api-v2-nodes-get"
            }
        },
        "/console/admin/api/v2/nodes/peers":{
            "get":{
                "tags":[
                    "Blockchain Network Administrative Operations/Nodes"
                ],
                "summary":"Get Peer List",
                "description":"Get a list of peers on a channel. If no parameter is specified, all peers will be returned. If specified by channelName, the peers which have joined the channel will be returned. If specified by chaincode, the peers which have installed the chaincode will be returned.",
                "operationId":"getPeerChannels",
                "produces":[
                    "application/json"
                ],
                "parameters":[
                    {
                        "name":"channelName",
                        "in":"query",
                        "description":"Channel name",
                        "required":false,
                        "type":"string"
                    },
                    {
                        "name":"chaincode",
                        "in":"query",
                        "description":"Chaincode name",
                        "required":false,
                        "type":"string"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Response with peers listed",
                        "schema":{
                            "type":"array",
                            "items":{
                                "$ref":"#/definitions/peer2"
                            }
                        }
                    },
                    "400":{
                        "description":"Invalid argument",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-nodes-peers-get",
                "x-filename-id":"console-admin-api-v2-nodes-peers-get"
            }
        },
        "/console/admin/api/v2/nodes/peers/{peerId}/start":{
            "post":{
                "tags":[
                    "Blockchain Network Administrative Operations/Nodes"
                ],
                "summary":"Start Peer Node",
                "description":"Starts a peer node.",
                "operationId":"startPeers",
                "parameters":[
                    {
                        "name":"peerId",
                        "in":"path",
                        "description":"peer ID",
                        "required":true,
                        "type":"string"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"action result messages",
                        "schema":{
                            "type":"object",
                            "properties":{
                                "status":{
                                    "type":"string",
                                    "example":"up",
                                    "enum":[
                                        "up"
                                    ]
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"Invalid arguments",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "403":{
                        "description":"Forbidden"
                    },
                    "404":{
                        "description":"Resource not found"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-nodes-peers-{peerId}-start-post",
                "x-filename-id":"console-admin-api-v2-nodes-peers-peerid-start-post"
            }
        },
        "/console/admin/api/v2/nodes/peers/{peerId}/stop":{
            "post":{
                "tags":[
                    "Blockchain Network Administrative Operations/Nodes"
                ],
                "summary":"Stop Peer Node",
                "description":"Stops designated peer nodes.",
                "operationId":"stopPeers",
                "parameters":[
                    {
                        "name":"peerId",
                        "in":"path",
                        "description":"Peer ID",
                        "required":true,
                        "type":"string"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Node status message",
                        "schema":{
                            "type":"object",
                            "properties":{
                                "status":{
                                    "type":"string",
                                    "example":"down",
                                    "enum":[
                                        "down"
                                    ]
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"Invalid argument",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "403":{
                        "description":"Forbidden"
                    },
                    "404":{
                        "description":"Not found"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-nodes-peers-{peerId}-stop-post",
                "x-filename-id":"console-admin-api-v2-nodes-peers-peerid-stop-post"
            }
        },
        "/console/admin/api/v2/nodes/peers/{peerId}/blockaudit/{channelName}":{
            "get":{
                "tags":[
                    "Blockchain Network Administrative Operations/Nodes"
                ],
                "summary":"Verify Blocks",
                "description":"Verifies blocks against a channel owned by the given peer.",
                "operationId":"getPeerBlockAudit",
                "produces":[
                    "application/json"
                ],
                "parameters":[
                    {
                        "name":"peerId",
                        "in":"path",
                        "description":"ID of peer",
                        "required":true,
                        "type":"string"
                    },
                    {
                        "name":"channelName",
                        "in":"path",
                        "description":"Channel name",
                        "required":true,
                        "type":"string"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Response with block audit result"
                    },
                    "400":{
                        "description":"Invalid arguments",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-nodes-peers-{peerId}-blockaudit-{channelName}-get",
                "x-filename-id":"console-admin-api-v2-nodes-peers-peerid-blockaudit-channelname-get"
            }
        },
        "/console/admin/api/v2/nodes/peers/{peerId}":{
            "get":{
                "tags":[
                    "Blockchain Network Administrative Operations/Nodes"
                ],
                "summary":"Get Peer Attributes",
                "description":"Get all configuration attributes of a peer.",
                "operationId":"getPeerAttributes",
                "produces":[
                    "application/json"
                ],
                "parameters":[
                    {
                        "name":"peerId",
                        "in":"path",
                        "description":"ID of peer being queried",
                        "required":true,
                        "type":"string"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Peer attributes",
                        "schema":{
                            "$ref":"#/definitions/peerAttributes"
                        }
                    },
                    "400":{
                        "description":"Invalid arguments",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-nodes-peers-{peerId}-get",
                "x-filename-id":"console-admin-api-v2-nodes-peers-peerid-get"
            },
            "patch":{
                "tags":[
                    "Blockchain Network Administrative Operations/Nodes"
                ],
                "summary":"Update Peer Node Configuration",
                "description":"Use this endpoint to modify the configuration attributes of a peer.",
                "operationId":"updatePeerAttributes",
                "parameters":[
                    {
                        "name":"peerId",
                        "in":"path",
                        "description":"ID of peer being modified",
                        "required":true,
                        "type":"string"
                    },
                    {
                        "name":"body",
                        "in":"body",
                        "description":"Updated peerPatchAttributes object",
                        "required":true,
                        "schema":{
                            "$ref":"#/definitions/peerPatchAttributes"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Update success message",
                        "schema":{
                            "$ref":"#/definitions/peerPatchActionResult"
                        }
                    },
                    "400":{
                        "description":"Invalid argument",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "403":{
                        "description":"Forbidden"
                    },
                    "404":{
                        "description":"Not found"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-nodes-peers-{peerId}-patch",
                "x-filename-id":"console-admin-api-v2-nodes-peers-peerid-patch"
            }
        },
        "/console/admin/api/v2/nodes/peers/{peerId}/joinChannel":{
            "post":{
                "tags":[
                    "Blockchain Network Administrative Operations/Nodes"
                ],
                "summary":"Join a Peer to a Channel",
                "description":"You can add a peer node to a channel so that the node can use it to exchange private transaction information with other peer nodes on the channel.",
                "operationId":"joinChannel",
                "parameters":[
                    {
                        "name":"peerId",
                        "in":"path",
                        "description":"ID of peer to join the channel",
                        "required":true,
                        "type":"string"
                    },
                    {
                        "name":"joinchannelbody",
                        "in":"body",
                        "description":"Channel name",
                        "required":true,
                        "schema":{
                            "$ref":"#/definitions/joinChannel"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Peer joined channel successfully",
                        "schema":{
                            "$ref":"#/definitions/200successModels"
                        }
                    },
                    "400":{
                        "description":"Invalid argument",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "403":{
                        "description":"Forbidden"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-nodes-peers-{peerId}-joinChannel-post",
                "x-filename-id":"console-admin-api-v2-nodes-peers-peerid-joinchannel-post"
            }
        },
        "/console/admin/api/v2/nodes/orderers/{ordererId}/start":{
            "post":{
                "tags":[
                    "Blockchain Network Administrative Operations/Nodes"
                ],
                "summary":"Start an Orderer Node",
                "description":"Start an orderer node. This should be done after any changes are made to the node.",
                "operationId":"startOrderers",
                "parameters":[
                    {
                        "name":"ordererId",
                        "in":"path",
                        "description":"ID of orderer being started",
                        "required":true,
                        "type":"string"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Orderer status",
                        "schema":{
                            "type":"object",
                            "example":{
                                "status":"up"
                            }
                        }
                    },
                    "400":{
                        "description":"Invalid argument",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "403":{
                        "description":"Forbidden"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-nodes-orderers-{ordererId}-start-post",
                "x-filename-id":"console-admin-api-v2-nodes-orderers-ordererid-start-post"
            }
        },
        "/console/admin/api/v2/nodes/orderers/{ordererId}/stop":{
            "post":{
                "tags":[
                    "Blockchain Network Administrative Operations/Nodes"
                ],
                "summary":"Stop an Orderer Node",
                "description":"Stop an orderer node.",
                "operationId":"stopOrderers",
                "parameters":[
                    {
                        "name":"ordererId",
                        "in":"path",
                        "description":"ID of orderer being stopped",
                        "required":true,
                        "type":"string"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Orderer status",
                        "schema":{
                            "type":"object",
                            "example":{
                                "status":"down"
                            }
                        }
                    },
                    "400":{
                        "description":"Invalid argument",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "403":{
                        "description":"Forbidden"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-nodes-orderers-{ordererId}-stop-post",
                "x-filename-id":"console-admin-api-v2-nodes-orderers-ordererid-stop-post"
            }
        },
        "/console/admin/api/v2/nodes/orderers/{ordererId}":{
            "get":{
                "tags":[
                    "Blockchain Network Administrative Operations/Nodes"
                ],
                "summary":"Get Orderer Node Configuration",
                "description":"An orderer node's configuration determines how the node performs and behaves on the network. Use this endpoint to see an orderer node's configuration.",
                "operationId":"getOrdererAttributes",
                "produces":[
                    "application/json"
                ],
                "parameters":[
                    {
                        "name":"ordererId",
                        "in":"path",
                        "description":"ID of orderer to fetch",
                        "required":true,
                        "type":"string"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Orderer attributes",
                        "schema":{
                            "$ref":"#/definitions/getOrdererAttributes"
                        }
                    },
                    "400":{
                        "description":"Invalid argument",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-nodes-orderers-{ordererId}-get",
                "x-filename-id":"console-admin-api-v2-nodes-orderers-ordererid-get"
            },
            "patch":{
                "tags":[
                    "Blockchain Network Administrative Operations/Nodes"
                ],
                "summary":"Update Orderer Node Configuration",
                "description":"An orderer node's configuration determines how the node performs and behaves on the network. Use this endpoint to modify an orderer node's configuration.",
                "operationId":"updateOrdererAttributes",
                "parameters":[
                    {
                        "name":"ordererId",
                        "in":"path",
                        "description":"ID of orderer",
                        "required":true,
                        "type":"string"
                    },
                    {
                        "name":"patchOrdererBody",
                        "in":"body",
                        "description":"Updated orderer attributes",
                        "required":true,
                        "schema":{
                            "$ref":"#/definitions/setOrdererAttributes"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Update success message",
                        "schema":{
                            "type":"object",
                            "example":{
                                "status":"Success",
                                "message":"content"
                            }
                        }
                    },
                    "400":{
                        "description":"Invalid argument",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "403":{
                        "description":"Forbidden"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-nodes-orderers-{ordererId}-patch",
                "x-filename-id":"console-admin-api-v2-nodes-orderers-ordererid-patch"
            }
        },
        "/console/admin/api/v2/nodes/orderers/{ordererId}/exportOSN":{
            "get":{
                "tags":[
                    "Blockchain Network Administrative Operations/Nodes"
                ],
                "summary":"Get Orderer Information",
                "description":"Retrieves an orderer node's information.",
                "operationId":"exportOSNInfo",
                "produces":[
                    "application/json"
                ],
                "parameters":[
                    {
                        "name":"ordererId",
                        "in":"path",
                        "description":"ID of the orderer being queried",
                        "required":true,
                        "type":"string"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Response with the OSN information object",
                        "schema":{
                            "$ref":"#/definitions/exportOSNInfo"
                        }
                    },
                    "400":{
                        "description":"Invalid arguments",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-nodes-orderers-{ordererId}-exportOSN-get",
                "x-filename-id":"console-admin-api-v2-nodes-orderers-ordererid-exportosn-get"
            }
        },
        "/console/admin/api/v2/nodes/orderers/{ordererId}/importNCB":{
            "post":{
                "tags":[
                    "Blockchain Network Administrative Operations/Nodes"
                ],
                "summary":"Import Configuration Block to Orderer",
                "description":"Imports a system channel's latest configuration block to an orderer. You must have previously exported the configuration block in order to upload it.",
                "operationId":"importConfigBlock",
                "consumes":[
                    "multipart/form-data"
                ],
                "parameters":[
                    {
                        "name":"ordererId",
                        "in":"path",
                        "description":"ID of the orderer the block is being imported to",
                        "required":true,
                        "type":"string"
                    },
                    {
                        "in":"formData",
                        "name":"channel.block",
                        "type":"file",
                        "description":"The file to upload."
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Response with OSN information object",
                        "schema":{
                            "$ref":"#/definitions/exportOSNInfo"
                        }
                    },
                    "400":{
                        "description":"Invalid argument",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-nodes-orderers-{ordererId}-importNCB-post",
                "x-filename-id":"console-admin-api-v2-nodes-orderers-ordererid-importncb-post"
            }
        },
        "/console/admin/api/v2/nodes/fabricCAs/{caId}/start":{
            "post":{
                "tags":[
                    "Blockchain Network Administrative Operations/Nodes"
                ],
                "summary":"Start a CA Node",
                "description":"Start a Fabric CA node. This should be done after any changes are made to the node.",
                "operationId":"startFabricCAs",
                "parameters":[
                    {
                        "name":"caId",
                        "in":"path",
                        "description":"ID of Hyperledger Fabric CA node",
                        "required":true,
                        "type":"string"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Hyperledger Fabric CA status message",
                        "schema":{
                            "type":"object",
                            "example":{
                                "status":"up"
                            }
                        }
                    },
                    "400":{
                        "description":"Invalid argument",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "403":{
                        "description":"Forbidden"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-nodes-fabricCAs-{caId}-start-post",
                "x-filename-id":"console-admin-api-v2-nodes-fabriccas-caid-start-post"
            }
        },
        "/console/admin/api/v2/nodes/fabricCAs/{caId}/stop":{
            "post":{
                "tags":[
                    "Blockchain Network Administrative Operations/Nodes"
                ],
                "summary":"Stop a CA Node",
                "description":"Stop a Hyperledger Fabric certificate authority (CA) node.",
                "operationId":"stopFabricCAs",
                "parameters":[
                    {
                        "name":"caId",
                        "in":"path",
                        "description":"fabricCA Id",
                        "required":true,
                        "type":"string"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Fabric CA status message",
                        "schema":{
                            "type":"object",
                            "example":{
                                "status":"down"
                            }
                        }
                    },
                    "400":{
                        "description":"Invalid argument",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "403":{
                        "description":"Forbidden"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-nodes-fabricCAs-{caId}-stop-post",
                "x-filename-id":"console-admin-api-v2-nodes-fabriccas-caid-stop-post"
            }
        },
        "/console/admin/api/v2/nodes/fabricCAs/{caId}/":{
            "get":{
                "tags":[
                    "Blockchain Network Administrative Operations/Nodes"
                ],
                "summary":"Get Configuration of a CA Node",
                "description":"A certificate authority (CA) node's configuration determines how the node performs and behaves on the network. Use this endpoint to get the configuration of a CA node.",
                "operationId":"getFabricCAAttributes",
                "produces":[
                    "application/json"
                ],
                "parameters":[
                    {
                        "name":"caId",
                        "in":"path",
                        "description":"ID of Hyperledger Fabric CA to fetch",
                        "required":true,
                        "type":"string"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Hyperledger Fabric CA attributes",
                        "schema":{
                            "$ref":"#/definitions/fabricCAAttributes"
                        }
                    },
                    "400":{
                        "description":"Invalid argument",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-nodes-fabricCAs-{caId}--get",
                "x-filename-id":"console-admin-api-v2-nodes-fabriccas-caid-get"
            },
            "patch":{
                "tags":[
                    "Blockchain Network Administrative Operations/Nodes"
                ],
                "summary":"Update CA Node Configuration",
                "description":"A certificate authority (CA) node's configuration determines how the node performs and behaves on the network. Use this endpoint to modify the configuration of a CA node.",
                "operationId":"updateFabricCAAttributes",
                "parameters":[
                    {
                        "name":"caId",
                        "in":"path",
                        "description":"ID of Hyperledger Fabric CA",
                        "required":true,
                        "type":"string"
                    },
                    {
                        "name":"body",
                        "in":"body",
                        "description":"Updated Hyperledger Fabric CA attributes",
                        "required":true,
                        "schema":{
                            "$ref":"#/definitions/fabricCAWritableAttributes"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Update success message",
                        "schema":{
                            "type":"object",
                            "example":{
                                "status":"Success",
                                "message":"content"
                            }
                        }
                    },
                    "400":{
                        "description":"Invalid argument",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "403":{
                        "description":"Forbidden"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-nodes-fabricCAs-{caId}--patch",
                "x-filename-id":"console-admin-api-v2-nodes-fabriccas-caid-patch"
            }
        },
        "/console/admin/api/v2/nodes/restproxies/{restProxyId}":{
            "get":{
                "tags":[
                    "Blockchain Network Administrative Operations/Nodes"
                ],
                "summary":"Get REST Proxy Node Configuration",
                "description":"A REST proxy node's configuration determines how the node performs and behaves on the network. Use this endpoint to get a REST proxy node configuration.",
                "operationId":"getRESTProxyConfig",
                "produces":[
                    "application/json"
                ],
                "parameters":[
                    {
                        "name":"restProxyId",
                        "in":"path",
                        "description":"Unique ID of the REST proxy node",
                        "required":true,
                        "type":"string"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"REST Proxy configuration",
                        "schema":{
                            "$ref":"#/definitions/restProxyConfig"
                        }
                    },
                    "400":{
                        "description":"Invalid argument",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-nodes-restproxies-{restProxyId}-get",
                "x-filename-id":"console-admin-api-v2-nodes-restproxies-restproxyid-get"
            },
            "patch":{
                "tags":[
                    "Blockchain Network Administrative Operations/Nodes"
                ],
                "summary":"Update REST Proxy Node Configuration",
                "description":"A REST proxy node's configuration determines how the node performs and behaves on the network. Use this endpoint to modify the REST proxy node configuration.",
                "operationId":"updateRESTProxyConfig",
                "parameters":[
                    {
                        "name":"restProxyId",
                        "in":"path",
                        "description":"Unique id of the REST Proxy",
                        "required":true,
                        "type":"string"
                    },
                    {
                        "name":"configRESTProxyBody",
                        "in":"body",
                        "description":"Updated REST proxy configuration",
                        "required":true,
                        "schema":{
                            "$ref":"#/definitions/restProxyWritableConfig"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Update success message",
                        "schema":{
                            "type":"object",
                            "example":{
                                "status":"Success",
                                "message":"content"
                            }
                        }
                    },
                    "400":{
                        "description":"Invalid argument",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "403":{
                        "description":"Forbidden"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-nodes-restproxies-{restProxyId}-patch",
                "x-filename-id":"console-admin-api-v2-nodes-restproxies-restproxyid-patch"
            }
        },
        "/console/admin/api/v2/nodes/restproxies/{restProxyId}/start":{
            "post":{
                "tags":[
                    "Blockchain Network Administrative Operations/Nodes"
                ],
                "summary":"Start a REST Proxy Node",
                "description":"Start a REST proxy node.",
                "operationId":"startRESTProxy",
                "parameters":[
                    {
                        "name":"restProxyId",
                        "in":"path",
                        "description":"Array of REST proxy IDs",
                        "required":true,
                        "type":"string"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Gateway node status",
                        "schema":{
                            "type":"object",
                            "example":{
                                "status":"up"
                            }
                        }
                    },
                    "400":{
                        "description":"Invalid argument",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "403":{
                        "description":"Forbidden"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-nodes-restproxies-{restProxyId}-start-post",
                "x-filename-id":"console-admin-api-v2-nodes-restproxies-restproxyid-start-post"
            }
        },
        "/console/admin/api/v2/nodes/restproxies/{restProxyId}/stop":{
            "post":{
                "tags":[
                    "Blockchain Network Administrative Operations/Nodes"
                ],
                "summary":"Stop a REST Proxy Node",
                "description":"Stop a REST proxy node.",
                "operationId":"stopRESTProxys",
                "parameters":[
                    {
                        "name":"restProxyId",
                        "in":"path",
                        "description":"REST Proxy Id",
                        "required":true,
                        "type":"string"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Gateway node status",
                        "schema":{
                            "type":"object",
                            "example":{
                                "status":"down"
                            }
                        }
                    },
                    "400":{
                        "description":"Invalid argument",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "403":{
                        "description":"Forbidden"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-nodes-restproxies-{restProxyId}-stop-post",
                "x-filename-id":"console-admin-api-v2-nodes-restproxies-restproxyid-stop-post"
            }
        },
        "/console/admin/api/v2/nodes/restproxies/{restProxyId}/enrollments":{
            "get":{
                "tags":[
                    "Blockchain Network Administrative Operations/Nodes"
                ],
                "summary":"List Custom Enrollments for REST Proxy",
                "description":"Get the list of all custom enrollments for a REST proxy.",
                "operationId":"listCustomEnrollments",
                "parameters":[
                    {
                        "name":"restProxyId",
                        "in":"path",
                        "description":"REST Proxy ID",
                        "required":true,
                        "type":"string"
                    }
                ],
                "produces":[
                    "application/json"
                ],
                "responses":{
                    "200":{
                        "description":"Custom enrollment list",
                        "schema":{
                            "$ref":"#/definitions/customEnrollments"
                        }
                    },
                    "400":{
                        "description":"Invalid argument",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-nodes-restproxies-{restProxyId}-enrollments-get",
                "x-filename-id":"console-admin-api-v2-nodes-restproxies-restproxyid-enrollments-get"
            },
            "post":{
                "tags":[
                    "Blockchain Network Administrative Operations/Nodes"
                ],
                "summary":"Create Custom Enrollment for REST Proxy",
                "description":"Create a custom enrollment for a REST proxy. Enrollments allow users to call the REST proxy without an enrollment certificate. Enrollements require a new user group to be defined on your authentication server.",
                "operationId":"createCustomEnrollment",
                "parameters":[
                    {
                        "name":"restProxyId",
                        "in":"path",
                        "description":"REST Proxy ID",
                        "required":true,
                        "type":"string"
                    },
                    {
                        "name":"createCustomEnrollmentBody",
                        "in":"body",
                        "description":"Create custom enrollment",
                        "required":true,
                        "schema":{
                            "$ref":"#/definitions/createCustomEnrollmentBody"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Success",
                        "schema":{
                            "type":"object"
                        }
                    },
                    "400":{
                        "description":"Invalid argument",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "403":{
                        "description":"Forbidden"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-nodes-restproxies-{restProxyId}-enrollments-post",
                "x-filename-id":"console-admin-api-v2-nodes-restproxies-restproxyid-enrollments-post"
            }
        },
        "/console/admin/api/v2/nodes/restproxies/{restProxyId}/enrollments/{enrollmentId}":{
            "delete":{
                "tags":[
                    "Blockchain Network Administrative Operations/Nodes"
                ],
                "summary":"Delete Custom Enrollment for REST Proxy",
                "description":"Delete a custom enrollment for a REST proxy.",
                "operationId":"deleteCustomEnrollment",
                "parameters":[
                    {
                        "name":"restProxyId",
                        "in":"path",
                        "description":"REST Proxy ID",
                        "required":true,
                        "type":"string"
                    },
                    {
                        "name":"enrollmentId",
                        "in":"path",
                        "description":"Custom enrollment ID to be deleted",
                        "required":true,
                        "type":"string"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Success",
                        "schema":{
                            "type":"object"
                        }
                    },
                    "400":{
                        "description":"Invalid arguments",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "403":{
                        "description":"Forbidden"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-nodes-restproxies-{restProxyId}-enrollments-{enrollmentId}-delete",
                "x-filename-id":"console-admin-api-v2-nodes-restproxies-restproxyid-enrollments-enrollmentid-delete"
            }
        },
        "/console/admin/api/v2/nodes/restproxies/{restProxyId}/enrollments/{enrollmentId}/users":{
            "get":{
                "tags":[
                    "Blockchain Network Administrative Operations/Nodes"
                ],
                "summary":"Get List of REST Client Users Associated with the Custom Enrollment",
                "description":"Get the list of all REST client users associated with the designated custom enrollment.",
                "operationId":"listCustomEnrollmentUsers",
                "parameters":[
                    {
                        "name":"restProxyId",
                        "in":"path",
                        "description":"REST Proxy ID",
                        "required":true,
                        "type":"string"
                    },
                    {
                        "name":"enrollmentId",
                        "in":"path",
                        "description":"custom enrollment ID",
                        "required":true,
                        "type":"string"
                    }
                ],
                "produces":[
                    "application/json"
                ],
                "responses":{
                    "200":{
                        "description":"REST client user list",
                        "schema":{
                            "$ref":"#/definitions/customEnrollmentUsers"
                        }
                    },
                    "400":{
                        "description":"Invalid arguments",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-nodes-restproxies-{restProxyId}-enrollments-{enrollmentId}-users-get",
                "x-filename-id":"console-admin-api-v2-nodes-restproxies-restproxyid-enrollments-enrollmentid-users-get"
            },
            "post":{
                "tags":[
                    "Blockchain Network Administrative Operations/Nodes"
                ],
                "summary":"Associate REST Client User With a Custom Enrollment",
                "description":"Associate a REST client user with a custom enrollment.",
                "operationId":"associateRestUser",
                "parameters":[
                    {
                        "name":"restProxyId",
                        "in":"path",
                        "description":"REST Proxy Id",
                        "required":true,
                        "type":"string"
                    },
                    {
                        "name":"enrollmentId",
                        "in":"path",
                        "description":"custom enrollment Id",
                        "required":true,
                        "type":"string"
                    },
                    {
                        "name":"associateRestUserBody",
                        "in":"body",
                        "description":"REST client user name to be associated with the custom enrollment",
                        "required":true,
                        "schema":{
                            "$ref":"#/definitions/associateRestUserBody"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Success",
                        "schema":{
                            "type":"object"
                        }
                    },
                    "400":{
                        "description":"Invalid arguments",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "403":{
                        "description":"Forbidden"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-nodes-restproxies-{restProxyId}-enrollments-{enrollmentId}-users-post",
                "x-filename-id":"console-admin-api-v2-nodes-restproxies-restproxyid-enrollments-enrollmentid-users-post"
            }
        },
        "/console/admin/api/v2/nodes/restproxies/{restProxyId}/enrollments/{enrollmentId}/users/{userName}":{
            "delete":{
                "tags":[
                    "Blockchain Network Administrative Operations/Nodes"
                ],
                "summary":"Remove Association Between REST Client User and a Custom Enrollment",
                "description":"Remove the association between a REST client user and a custom enrollment.",
                "operationId":"dissociateRestUser",
                "parameters":[
                    {
                        "name":"restProxyId",
                        "in":"path",
                        "description":"REST Proxy ID",
                        "required":true,
                        "type":"string"
                    },
                    {
                        "name":"enrollmentId",
                        "in":"path",
                        "description":"Custom enrollment ID",
                        "required":true,
                        "type":"string"
                    },
                    {
                        "name":"userName",
                        "in":"path",
                        "description":"REST client user name",
                        "required":true,
                        "type":"string"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Success",
                        "schema":{
                            "type":"object"
                        }
                    },
                    "400":{
                        "description":"Invalid arguments",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "403":{
                        "description":"Forbidden"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-nodes-restproxies-{restProxyId}-enrollments-{enrollmentId}-users-{userName}-delete",
                "x-filename-id":"console-admin-api-v2-nodes-restproxies-restproxyid-enrollments-enrollmentid-users-username-delete"
            }
        },
        "/console/admin/api/v2/channels":{
            "get":{
                "tags":[
                    "Blockchain Network Administrative Operations/Channel"
                ],
                "summary":"Get Channel List",
                "description":"Get a list of channels, optionally filtering by whether they have a given chaincode instantiated or a given peer joined.",
                "operationId":"listChannels",
                "produces":[
                    "application/json"
                ],
                "parameters":[
                    {
                        "name":"chaincode",
                        "in":"query",
                        "description":"List channels where this chaincode is instantiated",
                        "required":false,
                        "type":"string"
                    },
                    {
                        "name":"peerId",
                        "in":"query",
                        "description":"List channels that this peer has joined",
                        "required":false,
                        "type":"string"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"List of channels meeting query criteria",
                        "schema":{
                            "$ref":"#/definitions/channels"
                        }
                    },
                    "400":{
                        "description":"Invalid arguments",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-channels-get",
                "x-filename-id":"console-admin-api-v2-channels-get"
            },
            "post":{
                "tags":[
                    "Blockchain Network Administrative Operations/Channel"
                ],
                "summary":"Create a Channel",
                "description":"Create a channel on your blockchain network. ",
                "operationId":"creatChannel",
                "parameters":[
                    {
                        "name":"createchannelbody",
                        "in":"body",
                        "description":"Create a channel. Only certificates from v2 API can be used.",
                        "required":true,
                        "schema":{
                            "$ref":"#/definitions/createchannel"
                        }
                    }
                ],
                "responses":{
                    "201":{
                        "description":"Channel created",
                        "schema":{
                            "type":"object",
                            "example":{
                                "status":"SUCCESS"
                            }
                        }
                    },
                    "202":{
                        "description":"In Progress",
                        "schema":{
                            "type":"object",
                            "example":{
                                "status":"IN PROGRESS"
                            }
                        }
                    },
                    "400":{
                        "description":"Invalid argument",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "403":{
                        "description":"Forbidden"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-channels-post",
                "x-filename-id":"console-admin-api-v2-channels-post"
            }
        },
        "/console/admin/api/v2/channels/{channelName}":{
            "get":{
                "tags":[
                    "Blockchain Network Administrative Operations/Channel"
                ],
                "summary":"Get Channel Information",
                "description":"You can query by channel name to get information for a channel.",
                "operationId":"getChannelInfo",
                "produces":[
                    "application/json"
                ],
                "parameters":[
                    {
                        "name":"channelName",
                        "in":"path",
                        "description":"Channel name",
                        "required":true,
                        "type":"string"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Information for the channel",
                        "schema":{
                            "$ref":"#/definitions/channelinfo"
                        }
                    },
                    "400":{
                        "description":"Invalid Argument",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-channels-{channelName}-get",
                "x-filename-id":"console-admin-api-v2-channels-channelname-get"
            }
        },
        "/console/admin/api/v2/channels/{channelName}/blocks/{blockId}":{
            "get":{
                "tags":[
                    "Blockchain Network Administrative Operations/Channel"
                ],
                "summary":"Get Channel Block Data",
                "description":"If you have the channel name and block ID, you can retrieve one block of data from a channel.",
                "operationId":"getBlockData",
                "produces":[
                    "application/json"
                ],
                "parameters":[
                    {
                        "name":"channelName",
                        "in":"path",
                        "description":"Channel name",
                        "required":true,
                        "type":"string"
                    },
                    {
                        "name":"blockId",
                        "in":"path",
                        "description":"Block ID",
                        "required":true,
                        "type":"string"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Block data",
                        "schema":{
                            "$ref":"#/definitions/blockData"
                        }
                    },
                    "400":{
                        "description":"Invalid arguments",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-channels-{channelName}-blocks-{blockId}-get",
                "x-filename-id":"console-admin-api-v2-channels-channelname-blocks-blockid-get"
            }
        },
        "/console/admin/api/v2/channels/{channelName}/blocks":{
            "get":{
                "tags":[
                    "Blockchain Network Administrative Operations/Channel"
                ],
                "summary":"Get a List of Block's Data",
                "description":"<p>Using the channel name, a block ID range, and a time range, you can get a list of the block's data for a range of blocks on a channel, including transactions, deployments, and invocations.</p> <ul><li>The time range and ID range can not be enabled together. </li><li>If ID range is specified, time range won't take effect. </li><li>This API returns 1000 blocks data at most. </li><li>If no parameter is specified, it will return the latest 1000 blocks. </li><li>If only fromId(since) is input, the toId(until) will be set as the current ledger height by default. </li><li>If only toId(until) is input, the fromId(since) will be set as 0 by default. </li><li>If the query range is beyond this value, an error message will be returned.</li></ul>",
                "operationId":"getBlocksData",
                "produces":[
                    "application/json"
                ],
                "parameters":[
                    {
                        "name":"channelName",
                        "in":"path",
                        "description":"Channel name",
                        "required":true,
                        "type":"string"
                    },
                    {
                        "name":"fromId",
                        "in":"query",
                        "description":"The beginning ID of the selected block range",
                        "required":false,
                        "type":"number"
                    },
                    {
                        "name":"toId",
                        "in":"query",
                        "description":"The end ID of the selected block range",
                        "required":false,
                        "type":"number"
                    },
                    {
                        "name":"since",
                        "in":"query",
                        "description":"The beginning UTC time of the selected block range in the format YYYYMMDDHHmmSS",
                        "required":false,
                        "type":"string"
                    },
                    {
                        "name":"until",
                        "in":"query",
                        "description":"The end UTC time of the selected block range in the format YYYYMMDDHHmmSS",
                        "required":false,
                        "type":"string"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Retrieved block statistics information successfully",
                        "schema":{
                            "$ref":"#/definitions/blockStatistic"
                        }
                    },
                    "400":{
                        "description":"Invalid argument",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-channels-{channelName}-blocks-get",
                "x-filename-id":"console-admin-api-v2-channels-channelname-blocks-get"
            }
        },
        "/console/admin/api/v2/channels/{channelName}/policies":{
            "post":{
                "tags":[
                    "Blockchain Network Administrative Operations/Channel"
                ],
                "summary":"Update Policies of a Channel",
                "description":"Update the policies of a specified channel.",
                "operationId":"updateChannelPolicies",
                "parameters":[
                    {
                        "name":"channelName",
                        "in":"path",
                        "description":"The specified channel name",
                        "required":true,
                        "type":"string"
                    },
                    {
                        "name":"channelPolicies",
                        "in":"body",
                        "description":"The new policies",
                        "required":true,
                        "schema":{
                            "type":"object",
                            "properties":{
                                "policies":{
                                    "type":"object",
                                    "properties":{
                                        "readers":{
                                            "type":"object",
                                            "properties":{
                                                "mspIds":{
                                                    "type":"array",
                                                    "items":{
                                                        "type":"string"
                                                    }
                                                }
                                            }
                                        },
                                        "writers":{
                                            "type":"object",
                                            "properties":{
                                                "mspIds":{
                                                    "type":"array",
                                                    "items":{
                                                        "type":"string"
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Success",
                        "schema":{
                            "$ref":"#/definitions/200successModels"
                        }
                    },
                    "400":{
                        "description":"Invalid Arguments"
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "403":{
                        "description":"Forbidden"
                    },
                    "404":{
                        "description":"Resource not found"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-channels-{channelName}-policies-post",
                "x-filename-id":"console-admin-api-v2-channels-channelname-policies-post"
            }
        },
        "/console/admin/api/v2/channels/{channelName}/orderingSettings":{
            "get":{
                "tags":[
                    "Blockchain Network Administrative Operations/Channel"
                ],
                "summary":"Get Orderer Attributes for Channel",
                "description":"Get the orderer advanced attributes for a channel.",
                "operationId":"getOrderingSettings",
                "parameters":[
                    {
                        "name":"channelName",
                        "in":"path",
                        "description":"the specified channel name",
                        "required":true,
                        "type":"string"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Orderer attributes",
                        "schema":{
                            "type":"object",
                            "example":{
                                "ordererAddress":[
                                    "example.com:30021"
                                ],
                                "absoluteMessageBytes":"102760448",
                                "maxMessageCount":"10",
                                "preferredMessageBytes":"524288",
                                "batchTimeout":"2s",
                                "ordererType":"raft"
                            }
                        }
                    },
                    "400":{
                        "description":"Invalid Arguments"
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "404":{
                        "description":"Resource not found",
                        "schema":{
                            "$ref":"#/definitions/404errorModels"
                        }
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-channels-{channelName}-orderingSettings-get",
                "x-filename-id":"console-admin-api-v2-channels-channelname-orderingsettings-get"
            },
            "patch":{
                "tags":[
                    "Blockchain Network Administrative Operations/Channel"
                ],
                "summary":"Update Orderer Advanced Attributes for a Channel",
                "description":"Update orderer advanced attributes for a channel.",
                "operationId":"updateOrderingSettings",
                "parameters":[
                    {
                        "name":"channelName",
                        "in":"path",
                        "description":"the specified channel name",
                        "required":true,
                        "type":"string"
                    },
                    {
                        "name":"orderingSettings",
                        "in":"body",
                        "description":"New orderer attributes to be updated for this channel. Note that 'batchTimeout' should be specified with a  string, such as '2s'.",
                        "required":true,
                        "schema":{
                            "type":"object",
                            "properties":{
                                "absoluteMessageBytes":{
                                    "type":"number",
                                    "default":"98",
                                    "example":"98"
                                },
                                "maxMessageCount":{
                                    "type":"number",
                                    "default":"10",
                                    "example":"10"
                                },
                                "preferredMessageBytes":{
                                    "type":"number",
                                    "default":"512",
                                    "example":"512"
                                },
                                "batchTimeout":{
                                    "type":"string",
                                    "default":"2s",
                                    "example":"2s"
                                }
                            }
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Success",
                        "schema":{
                            "$ref":"#/definitions/200successModels"
                        }
                    },
                    "400":{
                        "description":"Invalid Arguments"
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "403":{
                        "description":"Forbidden"
                    },
                    "404":{
                        "description":"Resource not found"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-channels-{channelName}-orderingSettings-patch",
                "x-filename-id":"console-admin-api-v2-channels-channelname-orderingsettings-patch"
            }
        },
        "/console/admin/api/v2/channels/{channelName}/organizations":{
            "post":{
                "tags":[
                    "Blockchain Network Administrative Operations/Channel"
                ],
                "summary":"Add Organization to Channel",
                "description":"Add an organization to a channel",
                "operationId":"updateChannel",
                "parameters":[
                    {
                        "name":"channelName",
                        "in":"path",
                        "description":"the specified channel name",
                        "required":true,
                        "type":"string"
                    },
                    {
                        "name":"postChannelBody",
                        "in":"body",
                        "description":"New organization configuration to be added. Only certificates exported from the v2 API can be used.",
                        "required":true,
                        "schema":{
                            "$ref":"#/definitions/postChannelNewOrg"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Success",
                        "schema":{
                            "$ref":"#/definitions/200successModels"
                        }
                    },
                    "400":{
                        "description":"Invalid arguments",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "403":{
                        "description":"Forbidden"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-channels-{channelName}-organizations-post",
                "x-filename-id":"console-admin-api-v2-channels-channelname-organizations-post"
            }
        },
        "/console/admin/api/v2/channels/{channelName}/organizations/{mspId}":{
            "delete":{
                "tags":[
                    "Blockchain Network Administrative Operations/Channel"
                ],
                "summary":"Remove Organization from Channel",
                "description":"Remove an organization from a channel",
                "operationId":"removeOrgInChannel",
                "parameters":[
                    {
                        "name":"channelName",
                        "in":"path",
                        "description":"the specified channel name",
                        "required":true,
                        "type":"string"
                    },
                    {
                        "name":"mspId",
                        "in":"path",
                        "description":"The organization ID",
                        "required":true,
                        "type":"string"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Set success",
                        "schema":{
                            "type":"object",
                            "example":{
                                "status":"Success"
                            }
                        }
                    },
                    "400":{
                        "description":"Invalid arguments",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-channels-{channelName}-organizations-{mspId}-delete",
                "x-filename-id":"console-admin-api-v2-channels-channelname-organizations-mspid-delete"
            }
        },
        "/console/admin/api/v2/channels/{channelName}/organizations/{mspId}/anchorPeers":{
            "post":{
                "tags":[
                    "Blockchain Network Administrative Operations/Channel"
                ],
                "summary":"Set Anchor Peers for Channel",
                "description":"Each member on your network must designate an anchor peer. Anchor peers are primary network contact points and are used to discover additional peers in the network. You can designate one or more peers in your organization as an anchor peer on a channel. For a high availability network, you can specify two or more anchor peers. All members using the network channel must designate one or more of their peer nodes as anchor peers.  ",
                "operationId":"setAnchorPeers",
                "produces":[
                    "application/json"
                ],
                "parameters":[
                    {
                        "name":"channelName",
                        "in":"path",
                        "description":"Channel name",
                        "required":true,
                        "type":"string"
                    },
                    {
                        "name":"mspId",
                        "in":"path",
                        "description":"Organization ID",
                        "required":true,
                        "type":"string"
                    },
                    {
                        "name":"anchorPeers",
                        "in":"body",
                        "description":"The host and port of the anchor peers",
                        "required":true,
                        "schema":{
                            "$ref":"#/definitions/setAnchorPeers"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Success",
                        "schema":{
                            "type":"object",
                            "example":{
                                "status":"Success"
                            }
                        }
                    },
                    "400":{
                        "description":"Invalid arguments",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "403":{
                        "description":"Forbidden"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-channels-{channelName}-organizations-{mspId}-anchorPeers-post",
                "x-filename-id":"console-admin-api-v2-channels-channelname-organizations-mspid-anchorpeers-post"
            }
        },
        "/console/admin/api/v2/channels/{channelName}/orderers/joinOSN":{
            "post":{
                "tags":[
                    "Blockchain Network Administrative Operations/Channel"
                ],
                "summary":"Add an OSN to a Channel",
                "description":"Add an ordering service node (OSN) to a channel.",
                "operationId":"joinOSNToChannel",
                "parameters":[
                    {
                        "name":"channelName",
                        "in":"path",
                        "description":"the specified channel name",
                        "required":true,
                        "type":"string"
                    },
                    {
                        "name":"joinOSNBody",
                        "in":"body",
                        "description":"New orderer (identified by orderer ID) to be joined",
                        "required":true,
                        "schema":{
                            "$ref":"#/definitions/joinOSNBody"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Success",
                        "schema":{
                            "$ref":"#/definitions/200successModels"
                        }
                    },
                    "400":{
                        "description":"Invalid arguments",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "403":{
                        "description":"Forbidden"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-channels-{channelName}-orderers-joinOSN-post",
                "x-filename-id":"console-admin-api-v2-channels-channelname-orderers-joinosn-post"
            }
        },
        "/console/admin/api/v2/channels/{channelName}/orderers/removeOSN":{
            "post":{
                "tags":[
                    "Blockchain Network Administrative Operations/Channel"
                ],
                "summary":"Remove an OSN from a Channel",
                "description":"Remove an ordering service node (OSN) from a channel.",
                "operationId":"removeOSNChannel",
                "parameters":[
                    {
                        "name":"channelName",
                        "in":"path",
                        "description":"the specified channel name",
                        "required":true,
                        "type":"string"
                    },
                    {
                        "name":"removeOSNBody",
                        "in":"body",
                        "description":"The orderer (identified by orderer ID) to be removed",
                        "required":true,
                        "schema":{
                            "$ref":"#/definitions/removeOSNBody"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Success",
                        "schema":{
                            "$ref":"#/definitions/200successModels"
                        }
                    },
                    "400":{
                        "description":"Invalid arguments",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "403":{
                        "description":"Forbidden"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-channels-{channelName}-orderers-removeOSN-post",
                "x-filename-id":"console-admin-api-v2-channels-channelname-orderers-removeosn-post"
            }
        },
        "/console/admin/api/v2/channels/syschannel/configblock":{
            "get":{
                "tags":[
                    "Blockchain Network Administrative Operations/Channel"
                ],
                "summary":"Get the System Channel's Configuration Block",
                "description":"Returns the system channel's latest configuration block.",
                "operationId":"getConfigBlock",
                "responses":{
                    "200":{
                        "description":"block data",
                        "schema":{
                            "type":"file"
                        }
                    },
                    "400":{
                        "description":"Invalid argument",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-channels-syschannel-configblock-get",
                "x-filename-id":"console-admin-api-v2-channels-syschannel-configblock-get"
            }
        },
        "/console/admin/api/v2/channels/syschannel/addOSN":{
            "post":{
                "tags":[
                    "Blockchain Network Administrative Operations/Channel"
                ],
                "summary":"Add an OSN to the System Channel",
                "description":"Add an ordering service node (OSN) to the system channel.",
                "operationId":"addOSNToSysChannel",
                "parameters":[
                    {
                        "name":"addOSNBody",
                        "in":"body",
                        "description":"New orderer (identified by orderer ID) to be joined",
                        "required":true,
                        "schema":{
                            "$ref":"#/definitions/exportOSNInfo"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Success",
                        "schema":{
                            "$ref":"#/definitions/200successModels"
                        }
                    },
                    "400":{
                        "description":"Invalid arguments",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "403":{
                        "description":"Forbidden"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-channels-syschannel-addOSN-post",
                "x-filename-id":"console-admin-api-v2-channels-syschannel-addosn-post"
            }
        },
        "/console/admin/api/v2/channels/{channelName}/chaincodeDefinitions/approve":{
            "parameters":[
                {
                    "name":"channelName",
                    "in":"path",
                    "description":"Id of the channel",
                    "required":true,
                    "type":"string"
                }
            ],
            "post":{
                "tags":[
                    "Blockchain Network Administrative Operations/Channel"
                ],
                "summary":"Approve Chaincode Definition in Channel",
                "description":"Approve a chaincode definition in a channel. The new chaincode lifecycle in Hyperledger Fabric 2.x involves approving and committing the chaincode during the deployment. The chaincode definition needs to be approved by a sufficient number of organizations to satisfy the channel's LifecycleEndorsement policy before the chaincode can be committed on the channel.",
                "operationId":"approveChaincodeDefinition",
                "parameters":[
                    {
                        "name":"approveCCBody",
                        "in":"body",
                        "description":"Details of the chaincode definition to be approved",
                        "required":true,
                        "schema":{
                            "$ref":"#/definitions/ApproveCCReq"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Success",
                        "schema":{
                            "$ref":"#/definitions/200successModels"
                        }
                    },
                    "400":{
                        "description":"Invalid arguments",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "403":{
                        "description":"Forbidden"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "type":"object",
                            "properties":{
                                "respMesg":{
                                    "type":"string"
                                }
                            }
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-channels-{channelName}-chaincodeDefinitions-approve-post",
                "x-filename-id":"console-admin-api-v2-channels-channelname-chaincodedefinitions-approve-post"
            }
        },
        "/console/admin/api/v2/channels/{channelName}/chaincodeDefinitions/commit":{
            "parameters":[
                {
                    "name":"channelName",
                    "in":"path",
                    "description":"Id of the channel",
                    "required":true,
                    "type":"string"
                }
            ],
            "post":{
                "tags":[
                    "Blockchain Network Administrative Operations/Channel"
                ],
                "summary":"Commit Chaincode Definition in a Channel",
                "description":"Commit a chaincode definition in a channel. The new chaincode lifecycle in Hyperledger Fabric 2.x involves approving and committing the chaincode during the deployment. The chaincode definition needs to be approved by a sufficient number of organizations to satisfy the channel's LifecycleEndorsement policy before the chaincode can be committed on the channel.",
                "operationId":"commitChaincodeDefinition",
                "parameters":[
                    {
                        "name":"commitCCBody",
                        "in":"body",
                        "description":"Details about the chaincode definition to be committed",
                        "required":true,
                        "schema":{
                            "$ref":"#/definitions/CommitCCReq"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Success",
                        "schema":{
                            "$ref":"#/definitions/200successModels"
                        }
                    },
                    "400":{
                        "description":"Invalid arguments",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "403":{
                        "description":"Forbidden"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-channels-{channelName}-chaincodeDefinitions-commit-post",
                "x-filename-id":"console-admin-api-v2-channels-channelname-chaincodedefinitions-commit-post"
            }
        },
        "/console/admin/api/v2/channels/{channelName}/chaincodeDefinitions":{
            "parameters":[
                {
                    "name":"channelName",
                    "in":"path",
                    "description":"ID of the channel",
                    "required":true,
                    "type":"string"
                }
            ],
            "get":{
                "tags":[
                    "Blockchain Network Administrative Operations/Channel"
                ],
                "summary":"Query Chaincode Definition in a Channel",
                "description":"Query approved or committed chaincode definitions in a channel. The new chaincode lifecycle in Hyperledger Fabric 2.x involves approving and committing the chaincode during the deployment. The chaincode definition needs to be approved by a sufficient number of organizations to satisfy the channel's LifecycleEndorsement policy before the chaincode can be committed on the channel.",
                "operationId":"queryChaincodeDefinition",
                "parameters":[
                    {
                        "name":"status",
                        "in":"query",
                        "required":true,
                        "description":"Select if the query will return a list of approved or committed chaincode definitions in a channel",
                        "type":"string",
                        "enum":[
                            "Approved",
                            "Committed"
                        ]
                    },
                    {
                        "name":"chaincodeName",
                        "in":"query",
                        "description":"Optionally query a specific chaincode name for approved or committed status in a channel",
                        "required":false,
                        "type":"string"
                    },
                    {
                        "name":"sequence",
                        "in":"query",
                        "description":"Optionally query a specific chaincode sequence number for approved or committed status in a channel",
                        "required":false,
                        "type":"string"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Success",
                        "schema":{
                            "type":"array",
                            "items":{
                                "$ref":"#/definitions/queryChaincodeInfo"
                            }
                        }
                    },
                    "400":{
                        "description":"Invalid arguments",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "403":{
                        "description":"Forbidden"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-channels-{channelName}-chaincodeDefinitions-get",
                "x-filename-id":"console-admin-api-v2-channels-channelname-chaincodedefinitions-get"
            }
        },
        "/console/admin/api/v2/channels/{channelName}/chaincodeDefinitions/checkCommitReadiness":{
            "parameters":[
                {
                    "name":"channelName",
                    "in":"path",
                    "description":"ID of the channel",
                    "required":true,
                    "type":"string"
                }
            ],
            "post":{
                "tags":[
                    "Blockchain Network Administrative Operations/Channel"
                ],
                "summary":"Check Commit Readiness",
                "description":"Checks the commit readiness of a given chaincode definition in a channel.",
                "operationId":"checkCommitReadinessChaincodeDefinition",
                "parameters":[
                    {
                        "name":"checkCommitReadinessCCBody",
                        "in":"body",
                        "description":"Details about the chaincode definition to check commit readiness",
                        "required":true,
                        "schema":{
                            "$ref":"#/definitions/CheckCommitReadinessCCReq"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Success",
                        "schema":{
                            "$ref":"#/definitions/checkCommitReadinessInfo"
                        }
                    },
                    "400":{
                        "description":"Invalid arguments",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "403":{
                        "description":"Forbidden"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-channels-{channelName}-chaincodeDefinitions-checkCommitReadiness-post",
                "x-filename-id":"console-admin-api-v2-channels-channelname-chaincodedefinitions-checkcommitreadiness-post"
            }
        },
        "/console/admin/api/v2/chaincodes":{
            "get":{
                "tags":[
                    "Blockchain Network Administrative Operations/Chaincode"
                ],
                "summary":"Get Installed Chaincode List",
                "description":"Get a list of installed chaincodes, optionally filtering by whether they're instantiated on a given channel or installed on a given peer.",
                "operationId":"getInstalledChaincodes",
                "parameters":[
                    {
                        "name":"peerId",
                        "in":"query",
                        "description":"ID of the peer where the chaincodes are installed",
                        "required":false,
                        "type":"string"
                    }
                ],
                "produces":[
                    "application/json"
                ],
                "responses":{
                    "200":{
                        "description":"List of installed chaincodes",
                        "schema":{
                            "type":"array",
                            "items":{
                                "$ref":"#/definitions/chaincodeInfo"
                            }
                        }
                    },
                    "400":{
                        "description":"Invalid arguments",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-chaincodes-get",
                "x-filename-id":"console-admin-api-v2-chaincodes-get"
            },
            "post":{
                "tags":[
                    "Blockchain Network Administrative Operations/Chaincode"
                ],
                "summary":"Install a Chaincode",
                "description":"Installs a chaincode on a specified peer. The chaincode must be BASE64 encoded zip file.",
                "operationId":"installChaincode",
                "parameters":[
                    {
                        "name":"body",
                        "in":"body",
                        "required":true,
                        "schema":{
                            "$ref":"#/definitions/installChaincode"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Installed chaincode successfully",
                        "schema":{
                            "$ref":"#/definitions/installCCResp"
                        }
                    },
                    "400":{
                        "description":"Invalid arguments",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "403":{
                        "description":"Forbidden"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-chaincodes-post",
                "x-filename-id":"console-admin-api-v2-chaincodes-post"
            }
        },
        "/console/admin/api/v2/chaincodes/{packageID}":{
            "get":{
                "tags":[
                    "Blockchain Network Administrative Operations/Chaincode"
                ],
                "summary":"Get Chaincode Package from Peer",
                "description":"Download the chaincode package from a peer in tar.gz format.",
                "operationId":"getChaincodesById",
                "produces":[
                    "application/json"
                ],
                "parameters":[
                    {
                        "name":"packageID",
                        "in":"path",
                        "description":"Package ID of the chaincode",
                        "required":true,
                        "type":"string"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"The chaincode files packaged in tar.gz format",
                        "schema":{
                            "type":"file"
                        }
                    },
                    "400":{
                        "description":"Invalid arguments",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "404":{
                        "description":"Resource not found"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-chaincodes-{packageID}-get",
                "x-filename-id":"console-admin-api-v2-chaincodes-packageid-get"
            },
            "delete":{
                "tags":[
                    "Blockchain Network Administrative Operations/Chaincode"
                ],
                "summary":"Delete Installed Chaincode Package",
                "description":"Deletes an installed chaincode package using the chaincode package ID. Use this to remove obsolete chaincode packages to free up space in your instance.<p>This process stops and removes any container associated with the package ID, deletes the chaincode image, removes the package from the peer's file systems, and updates the peer's cache.",
                "operationId":"deleteChaincodesById",
                "produces":[
                    "application/json"
                ],
                "parameters":[
                    {
                        "name":"packageID",
                        "in":"path",
                        "description":"Package ID of the chaincode",
                        "required":true,
                        "type":"string"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Chaincode package deleted successfully",
                        "schema":{
                            "type":"object",
                            "properties":{
                                "respMesg":{
                                    "type":"string"
                                }
                            },
                            "example":{
                                "respMesg":"SUCCESS"
                            }
                        }
                    },
                    "400":{
                        "description":"Invalid arguments",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "404":{
                        "description":"Resource not found"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "type":"object",
                            "properties":{
                                "respMesg":{
                                    "type":"string"
                                }
                            },
                            "example":{
                                "respMesg":"This chaincode is not installed on any peer"
                            }
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-chaincodes-{packageID}-delete",
                "x-filename-id":"console-admin-api-v2-chaincodes-packageid-delete"
            }
        },
        "/console/admin/api/v2/organizations":{
            "get":{
                "tags":[
                    "Blockchain Network Administrative Operations/Organizations"
                ],
                "summary":"Get All Organizations",
                "description":"Use this endpoint to return the names of all organizations in a network. This is only available on the founder.",
                "operationId":"getAllOrgs",
                "responses":{
                    "200":{
                        "description":"Lists all organizations, including founder and participants",
                        "schema":{
                            "type":"object",
                            "example":{
                                "founder":"<string>",
                                "participants":[
                                    "<string>"
                                ]
                            }
                        }
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-organizations-get",
                "x-filename-id":"console-admin-api-v2-organizations-get"
            }
        },
        "/console/admin/api/v2/organizations/{orgName}/certificates":{
            "get":{
                "tags":[
                    "Blockchain Network Administrative Operations/Organizations"
                ],
                "summary":"Get Organization Certificates",
                "description":"Use this endpoint to return the admin, CA, and TLS certificates for an organization.",
                "operationId":"getCerts",
                "parameters":[
                    {
                        "name":"orgName",
                        "in":"path",
                        "description":"Organization name",
                        "required":true,
                        "type":"string"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Organization certificates",
                        "schema":{
                            "type":"object",
                            "example":{
                                "mspId":"<string>",
                                "certs":{
                                    "adminCert":"<string>",
                                    "CACert":"<string>",
                                    "tlsCACert":"<string>",
                                    "rafttlsCACert":"<string>",
                                    "nodeouIdentifierCert":"<string>",
                                    "intermediateCerts":"<string>"
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"Invalid arguments",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "404":{
                        "description":"Query certificates for an unknown organization",
                        "schema":{
                            "type":"object",
                            "example":{
                                "respMesg":"No admin access to organization; cannot get admin credentials."
                            }
                        }
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-organizations-{orgName}-certificates-get",
                "x-filename-id":"console-admin-api-v2-organizations-orgname-certificates-get"
            }
        },
        "/console/admin/api/v2/organizations/{orgName}/adminCredentials":{
            "get":{
                "tags":[
                    "Blockchain Network Administrative Operations/Organizations"
                ],
                "summary":"Get Organization Admin Credentials",
                "description":"This endpoint returns the admin certificate and key for an organization.",
                "operationId":"getAdminCredentials",
                "parameters":[
                    {
                        "name":"orgName",
                        "in":"path",
                        "description":"Organization name",
                        "required":true,
                        "type":"string"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Organization admin credentials",
                        "schema":{
                            "type":"object",
                            "example":{
                                "adminCert":"<string>",
                                "adminKey":"<string>"
                            }
                        }
                    },
                    "400":{
                        "description":"Invalid arguments",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-organizations-{orgName}-adminCredentials-get",
                "x-filename-id":"console-admin-api-v2-organizations-orgname-admincredentials-get"
            }
        },
        "/console/admin/api/v2/organizations/{orgName}/connectionProfile/{zip}":{
            "get":{
                "tags":[
                    "Blockchain Network Administrative Operations/Organizations"
                ],
                "summary":"Download Connection Profile",
                "description":"<p>Download the Fabric connection profile of the specified organization.</p><p> If the 'zip' argument is equal to 'zip', a Zip file including the connection profile in YAML format and  all certificates  needed will be downloaded. If not, the YAML configuration file content will be returned. Currently you can only export the profile from your own organization.</p> <p>Note that there is a known issue where currently only the YAML can be downloaded - if you select to download a ZIP file you will get an error message stating that and invalid argument was used.</p>",
                "operationId":"downloadConnectionProfile",
                "parameters":[
                    {
                        "name":"orgName",
                        "in":"path",
                        "description":"The name of organization whose connection profile is being exported. Currently you can only export the profile of your own organization.",
                        "required":true,
                        "type":"string"
                    },
                    {
                        "name":"zip",
                        "in":"path",
                        "required":true,
                        "description":"Specify the file format to be downloaded. If this argument equals 'zip', a Zip file will be returned. Otherwise a YAML file will be returned.",
                        "type":"string"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Connection profile of the specified org in YAML or Zip format",
                        "schema":{
                            "type":"file"
                        }
                    },
                    "404":{
                        "description":"Specified organization does not exist"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-organizations-{orgName}-connectionProfile-{zip}-get",
                "x-filename-id":"console-admin-api-v2-organizations-orgname-connectionprofile-zip-get"
            }
        },
        "/console/admin/api/v2/organizations/{orgName}/joinNewOrgs":{
            "post":{
                "tags":[
                    "Blockchain Network Administrative Operations/Organizations"
                ],
                "summary":"Add Organization to Network",
                "description":"You can add an organization to the network by providing the MSP ID and certificates. This API is only available on the founder.",
                "operationId":"addOrgs",
                "parameters":[
                    {
                        "name":"orgName",
                        "in":"path",
                        "description":"Name of organization to be joined to the network",
                        "required":true,
                        "type":"string"
                    },
                    {
                        "name":"orgInfo",
                        "in":"body",
                        "description":"Attributes of the organization",
                        "required":true,
                        "schema":{
                            "$ref":"#/definitions/orgInfo"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Added organization to network",
                        "schema":{
                            "type":"object",
                            "example":{
                                "status":"Success"
                            }
                        }
                    },
                    "400":{
                        "description":"Invalid arguments",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "403":{
                        "description":"Forbidden"
                    },
                    "409":{
                        "description":"Duplicated",
                        "schema":{
                            "type":"object",
                            "example":{
                                "respMesg":"Organization Org2MSP has already joined into the network."
                            }
                        }
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-organizations-{orgName}-joinNewOrgs-post",
                "x-filename-id":"console-admin-api-v2-organizations-orgname-joinneworgs-post"
            }
        },
        "/console/admin/api/v2/organizations/{orgName}/orderingService":{
            "get":{
                "tags":[
                    "Blockchain Network Administrative Operations/Organizations"
                ],
                "summary":"Get Orderer Service Settings",
                "description":"This endpoint returns the orderer service settings for a founder organization, including the MSP ID, certificates, and ordering service node addresses. This API is only available on the founder.",
                "operationId":"getOrdererSettings",
                "parameters":[
                    {
                        "name":"orgName",
                        "in":"path",
                        "description":"Organization name",
                        "required":true,
                        "type":"string"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Orderer settings information",
                        "schema":{
                            "$ref":"#/definitions/ordererSettingInfo"
                        }
                    },
                    "400":{
                        "description":"Invalid arguments",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-organizations-{orgName}-orderingService-get",
                "x-filename-id":"console-admin-api-v2-organizations-orgname-orderingservice-get"
            }
        },
        "/console/admin/api/v2/organizations/{orgName}/setOrderingService":{
            "post":{
                "tags":[
                    "Blockchain Network Administrative Operations/Organizations"
                ],
                "summary":"Set Orderer Service for an Organization",
                "description":"This endpoint sets the orderer service settings for a participant organization, including the MSP ID, certificates, and ordering service node addresses. This API is only available on the participant.",
                "operationId":"setOrdererSettings",
                "parameters":[
                    {
                        "name":"orgName",
                        "in":"path",
                        "description":"Organization name",
                        "required":true,
                        "type":"string"
                    },
                    {
                        "name":"ordererSetting",
                        "in":"body",
                        "description":"Orderer setting information",
                        "required":true,
                        "schema":{
                            "$ref":"#/definitions/ordererSettingInfo"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Set the orderer settings",
                        "schema":{
                            "type":"object",
                            "example":{
                                "status":"SUCCESS"
                            }
                        }
                    },
                    "400":{
                        "description":"Invalid arguments",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "401":{
                        "description":"Unauthorized"
                    },
                    "403":{
                        "description":"Forbidden"
                    },
                    "500":{
                        "description":"Internal server error",
                        "schema":{
                            "$ref":"#/definitions/500errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-organizations-{orgName}-setOrderingService-post",
                "x-filename-id":"console-admin-api-v2-organizations-orgname-setorderingservice-post"
            }
        },
        "/console/admin/api/v2/dashboard/statistics/nodeHealth":{
            "get":{
                "tags":[
                    "Statistics"
                ],
                "summary":"Get Node Health Status",
                "description":"Get the node health status (up or down) of a specific peer, orderer, proxy, or the console itself.",
                "operationId":"getStatsNodeHealth",
                "produces":[
                    "application/json"
                ],
                "parameters":[
                    {
                        "name":"nodeID",
                        "in":"query",
                        "description":"Node ID of a specific peer, orderer, proxy, or the console itself",
                        "required":false,
                        "type":"string"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Response with a series of up/down status by restriction",
                        "schema":{
                            "type":"object",
                            "properties":{
                                "data":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/definitions/StatsNodeHealth"
                                    }
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"Invalid arguments",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-dashboard-statistics-nodeHealth-get",
                "x-filename-id":"console-admin-api-v2-dashboard-statistics-nodehealth-get"
            }
        },
        "/console/admin/api/v2/dashboard/statistics/channelInfo":{
            "get":{
                "tags":[
                    "Statistics"
                ],
                "summary":"Get Current Channels and Peers Joined on Each Channel",
                "description":"Gets a list of the currently existing channels and the peers joined on each channel.",
                "operationId":"getStatsChannelInfo",
                "produces":[
                    "application/json"
                ],
                "parameters":[
                    {
                        "name":"channel",
                        "in":"query",
                        "description":"Channel Name",
                        "required":false,
                        "type":"string"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Response with channel information by restriction",
                        "schema":{
                            "type":"object",
                            "properties":{
                                "data":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/definitions/StatsChannelInfo"
                                    }
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"Invalid arguments",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-dashboard-statistics-channelInfo-get",
                "x-filename-id":"console-admin-api-v2-dashboard-statistics-channelinfo-get"
            }
        },
        "/console/admin/api/v2/dashboard/statistics/channelsJoined":{
            "get":{
                "tags":[
                    "Statistics"
                ],
                "summary":"Get Current Number and List of Channels Joined by the Specified Peer",
                "description":"This endpoint is used to get the current number and list of channels joined by the specified peer (if the peer is specified using nodeID), or on all peers if not specified.",
                "operationId":"getStatsChannelsJoined",
                "produces":[
                    "application/json"
                ],
                "parameters":[
                    {
                        "name":"nodeID",
                        "in":"query",
                        "description":"Node ID of a specific peer",
                        "required":false,
                        "type":"string"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Response with a total number and a list of channel names for each peer by restriction",
                        "schema":{
                            "type":"object",
                            "properties":{
                                "data":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/definitions/StatsChannelsJoined"
                                    }
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"Invalid arguments",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-dashboard-statistics-channelsJoined-get",
                "x-filename-id":"console-admin-api-v2-dashboard-statistics-channelsjoined-get"
            }
        },
        "/console/admin/api/v2/dashboard/statistics/userTrans":{
            "get":{
                "tags":[
                    "Statistics"
                ],
                "summary":"Get the Number of User Transactions for Peer, Channel, or Network",
                "description":"Get the number of user transactions for a peer or channel or the entire network. Note that you cannot query a node and the network in the same request.",
                "operationId":"getStatsUserTrans",
                "produces":[
                    "application/json"
                ],
                "parameters":[
                    {
                        "name":"nodeID",
                        "in":"query",
                        "description":"Node ID of a specific peer. You cannot request this at the same time as the orderer.",
                        "required":false,
                        "type":"string"
                    },
                    {
                        "name":"channel",
                        "in":"query",
                        "description":"Channel Name",
                        "required":false,
                        "type":"string"
                    },
                    {
                        "name":"orderer",
                        "in":"query",
                        "description":"The value is Y or N to indicate whether the metrics collected by orderer for whole network or the metrics for founder only needs to be returned. You cannot request this at the same time as a node.",
                        "required":false,
                        "type":"string"
                    },
                    {
                        "name":"startTime",
                        "in":"query",
                        "description":"The start time of a time range in the format 'yyyyMMddhhmmss'",
                        "required":false,
                        "type":"string"
                    },
                    {
                        "name":"endTime",
                        "in":"query",
                        "description":"The end time of a time range in the format 'yyyyMMddhhmmss'",
                        "required":false,
                        "type":"string"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Response with a series of user transactions by restriction",
                        "schema":{
                            "type":"object",
                            "properties":{
                                "data":{
                                    "$ref":"#/definitions/StatsUserTrans"
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"Invalid arguments",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-dashboard-statistics-userTrans-get",
                "x-filename-id":"console-admin-api-v2-dashboard-statistics-usertrans-get"
            }
        },
        "/console/admin/api/v2/dashboard/statistics/endorsements":{
            "get":{
                "tags":[
                    "Statistics"
                ],
                "summary":"Get the Number of Endorsements",
                "description":"This endpoint is used to get the number of endorsements for a peer or channel in a specified time range. Parameters nodeID and channel are used to set the scope of the query.",
                "operationId":"getStatsEndorsements",
                "produces":[
                    "application/json"
                ],
                "parameters":[
                    {
                        "name":"nodeID",
                        "in":"query",
                        "description":"Node ID of a specific peer",
                        "required":false,
                        "type":"string"
                    },
                    {
                        "name":"channel",
                        "in":"query",
                        "description":"Channel Name",
                        "required":false,
                        "type":"string"
                    },
                    {
                        "name":"startTime",
                        "in":"query",
                        "description":"The start time of a time range in the format 'yyyyMMddhhmmss'",
                        "required":false,
                        "type":"string"
                    },
                    {
                        "name":"endTime",
                        "in":"query",
                        "description":"The end time of a time range in the format 'yyyyMMddhhmmss'",
                        "required":false,
                        "type":"string"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"response with a series of endorsements by restriction",
                        "schema":{
                            "type":"object",
                            "properties":{
                                "data":{
                                    "$ref":"#/definitions/StatsEndorsements"
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"Invalid arguments",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-dashboard-statistics-endorsements-get",
                "x-filename-id":"console-admin-api-v2-dashboard-statistics-endorsements-get"
            }
        },
        "/console/admin/api/v2/dashboard/statistics/commits":{
            "get":{
                "tags":[
                    "Statistics"
                ],
                "summary":"Get the Number of Commits",
                "description":"This endpoint is used to get the number of commits for a peer or channel in a specified time range. Parameters nodeID and channel are used to set the scope of the query.",
                "operationId":"getStatsCommits",
                "produces":[
                    "application/json"
                ],
                "parameters":[
                    {
                        "name":"nodeID",
                        "in":"query",
                        "description":"Node ID of a specific peer",
                        "required":false,
                        "type":"string"
                    },
                    {
                        "name":"channel",
                        "in":"query",
                        "description":"Channel name",
                        "required":false,
                        "type":"string"
                    },
                    {
                        "name":"startTime",
                        "in":"query",
                        "description":"The start time of a time range in the format 'yyyyMMddhhmmss'",
                        "required":false,
                        "type":"string"
                    },
                    {
                        "name":"endTime",
                        "in":"query",
                        "description":"The end time of a time range in the format 'yyyyMMddhhmmss'",
                        "required":false,
                        "type":"string"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Response with a series of commits by restriction",
                        "schema":{
                            "type":"object",
                            "properties":{
                                "data":{
                                    "$ref":"#/definitions/StatsCommits"
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"Invalid arguments",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-dashboard-statistics-commits-get",
                "x-filename-id":"console-admin-api-v2-dashboard-statistics-commits-get"
            }
        },
        "/console/admin/api/v2/dashboard/statistics/blocks":{
            "get":{
                "tags":[
                    "Statistics"
                ],
                "summary":"Get the Number of Blocks",
                "description":"This endpoint is used to get the number of blocks on a specified channel or on all channels in a specified time range.",
                "operationId":"getStatsBlocks",
                "produces":[
                    "application/json"
                ],
                "parameters":[
                    {
                        "name":"channel",
                        "in":"query",
                        "description":"Channel name",
                        "required":false,
                        "type":"string"
                    },
                    {
                        "name":"startTime",
                        "in":"query",
                        "description":"The start time of a time range in the format 'yyyyMMddhhmmss'",
                        "required":false,
                        "type":"string"
                    },
                    {
                        "name":"endTime",
                        "in":"query",
                        "description":"The end time of a time range in the format 'yyyyMMddhhmmss'",
                        "required":false,
                        "type":"string"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Response with a series of blocks by restriction",
                        "schema":{
                            "type":"object",
                            "properties":{
                                "data":{
                                    "$ref":"#/definitions/StatsBlocks"
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"Invalid arguments",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-dashboard-statistics-blocks-get",
                "x-filename-id":"console-admin-api-v2-dashboard-statistics-blocks-get"
            }
        },
        "/console/admin/api/v2/dashboard/statistics/proxySyncInvocation":{
            "get":{
                "tags":[
                    "Statistics"
                ],
                "summary":"Get the Number of Synchronous Invocations",
                "description":"This endpoint is used to get the number of synchronous invocations on the specified proxy if you specify nodeID or on all proxies if not specified.",
                "operationId":"getStatsProxySyncInvocation",
                "produces":[
                    "application/json"
                ],
                "parameters":[
                    {
                        "name":"nodeID",
                        "in":"query",
                        "description":"Node ID of a specific proxy",
                        "required":false,
                        "type":"string"
                    },
                    {
                        "name":"startTime",
                        "in":"query",
                        "description":"The start time of a time range in the format 'yyyyMMddhhmmss'",
                        "required":false,
                        "type":"string"
                    },
                    {
                        "name":"endTime",
                        "in":"query",
                        "description":"The end time of a time range in the format 'yyyyMMddhhmmss'",
                        "required":false,
                        "type":"string"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Response with a series of synchronous invocations by restriction",
                        "schema":{
                            "type":"object",
                            "properties":{
                                "data":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/definitions/StatsProxySyncInvocation"
                                    }
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"Invalid arguments",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-dashboard-statistics-proxySyncInvocation-get",
                "x-filename-id":"console-admin-api-v2-dashboard-statistics-proxysyncinvocation-get"
            }
        },
        "/console/admin/api/v2/dashboard/statistics/proxyAsyncInvocation":{
            "get":{
                "tags":[
                    "Statistics"
                ],
                "summary":"Get the Number of Asynchronous Invocations",
                "description":"This endpoint is used to get the number of asynchronous invocations on the specified proxy if you specify nodeID, or on all proxies if not specified.",
                "operationId":"getStatsProxyAsyncInvocation",
                "produces":[
                    "application/json"
                ],
                "parameters":[
                    {
                        "name":"nodeID",
                        "in":"query",
                        "description":"Node ID of a specific proxy",
                        "required":false,
                        "type":"string"
                    },
                    {
                        "name":"startTime",
                        "in":"query",
                        "description":"The start time of a time range in the format 'yyyyMMddhhmmss'",
                        "required":false,
                        "type":"string"
                    },
                    {
                        "name":"endTime",
                        "in":"query",
                        "description":"The end time of a time range in the format 'yyyyMMddhhmmss'",
                        "required":false,
                        "type":"string"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Response with a series of asynchronous invocations by restriction",
                        "schema":{
                            "type":"object",
                            "properties":{
                                "data":{
                                    "type":"array",
                                    "items":{
                                        "$ref":"#/definitions/StatsProxyAsyncInvocation"
                                    }
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"Invalid arguments",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-dashboard-statistics-proxyAsyncInvocation-get",
                "x-filename-id":"console-admin-api-v2-dashboard-statistics-proxyasyncinvocation-get"
            }
        },
        "/console/admin/api/v2/dashboard/statistics/metrics":{
            "get":{
                "tags":[
                    "Statistics"
                ],
                "summary":"Get the Native Fabric Metrics for Peer or Orderer",
                "description":"You can query the Hyperledger Fabric metrics and publish the output to a Prometheus database.",
                "operationId":"getStatsMetrics",
                "produces":[
                    "application/json"
                ],
                "parameters":[
                    {
                        "name":"nodeId",
                        "in":"query",
                        "description":"Node ID of a specific node",
                        "required":true,
                        "type":"string"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Operational metrics exported for consumption by Prometheus",
                        "schema":{
                            "$ref":"#/definitions/StatsMetrics"
                        }
                    },
                    "400":{
                        "description":"Invalid arguments",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-dashboard-statistics-metrics-get",
                "x-filename-id":"console-admin-api-v2-dashboard-statistics-metrics-get"
            }
        },
        "/console/admin/api/v2/dashboard/statistics/auditlog":{
            "get":{
                "tags":[
                    "Statistics"
                ],
                "summary":"Get Audit Log Information",
                "description":"The audit log records administrative console activity for the instance, including actions related to channels, organizations, nodes, and chaincode.",
                "operationId":"getStatsAuditLog",
                "produces":[
                    "application/json"
                ],
                "parameters":[
                    {
                        "name":"startTime",
                        "in":"query",
                        "description":"The start time of a time range in the format 'yyyyMMddhhmmss'",
                        "required":true,
                        "type":"string"
                    },
                    {
                        "name":"endTime",
                        "in":"query",
                        "description":"The end time of a time range in the format 'yyyyMMddhhmmss'",
                        "required":true,
                        "type":"string"
                    },
                    {
                        "name":"action",
                        "in":"query",
                        "description":"The name of the audit log action to return",
                        "required":false,
                        "type":"string"
                    },
                    {
                        "name":"userIdentity",
                        "in":"query",
                        "description":"The user identity",
                        "required":false,
                        "type":"string"
                    },
                    {
                        "name":"limit",
                        "in":"query",
                        "description":"The maximum number of log entries to return. If not specified, defaults to 100, which is also the maximum allowed value of the parameter.",
                        "required":false,
                        "type":"number"
                    },
                    {
                        "name":"offset",
                        "in":"query",
                        "description":"The number of log entries to skip",
                        "required":false,
                        "type":"number"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Response with a series of audit logs by restriction.",
                        "schema":{
                            "type":"object",
                            "properties":{
                                "data":{
                                    "$ref":"#/definitions/StatsAuditLog"
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"Invalid arguments",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-v2-dashboard-statistics-auditlog-get",
                "x-filename-id":"console-admin-api-v2-dashboard-statistics-auditlog-get"
            }
        },
        "/console/admin/api/instanceVersion":{
            "get":{
                "tags":[
                    "Application Operations"
                ],
                "summary":"Get Version of Blockchain Platform, Hyperledger Fabric and Admin API",
                "description":"Gets the Oracle Blockchain Platform, Hyperledger Fabric and admin API versions. ",
                "operationId":"getInstanceVersion",
                "produces":[
                    "application/json"
                ],
                "responses":{
                    "200":{
                        "description":"Response with Blockchain Platform, Hyperledger Fabric and admin API version",
                        "schema":{
                            "type":"object",
                            "properties":{
                                "respMesg":{
                                    "$ref":"#/definitions/InstanceVersionResp"
                                }
                            }
                        }
                    },
                    "400":{
                        "description":"Invalid arguments",
                        "schema":{
                            "$ref":"#/definitions/400errorModels"
                        }
                    },
                    "default":{
                        "description":"Unexpected error",
                        "schema":{
                            "$ref":"#/definitions/errorModel"
                        }
                    }
                },
                "x-internal-id":"console-admin-api-instanceVersion-get",
                "x-filename-id":"console-admin-api-instanceversion-get"
            }
        },
        "/api/v1/blockchainPlatforms/instances":{
            "post":{
                "tags":[
                    "Blockchain Platform Administrative Operations/Platform"
                ],
                "operationId":"CreateBlockchainPlatform",
                "summary":"Create New Blockchain Platform Instance",
                "description":"Create a new Blockchain Platform instance.",
                "consumes":[
                    "multipart/form-data"
                ],
                "parameters":[
                    {
                        "name":"payload",
                        "description":"Details for the new service.",
                        "required":true,
                        "in":"formData",
                        "schema":{
                            "$ref":"#/definitions/BlockchainPlatformCreationDetails"
                        }
                    }
                ],
                "responses":{
                    "202":{
                        "description":"Accepted",
                        "headers":{
                            "Location":{
                                "description":"Location header with a URL to query the status of the request.",
                                "type":"string"
                            },
                            "Retry-After":{
                                "description":"Retry after N number of seconds.",
                                "type":"integer"
                            }
                        }
                    },
                    "400":{
                        "$ref":"#/responses/400"
                    },
                    "401":{
                        "$ref":"#/responses/401"
                    },
                    "409":{
                        "$ref":"#/responses/409"
                    },
                    "500":{
                        "$ref":"#/responses/500"
                    },
                    "default":{
                        "$ref":"#/responses/default"
                    }
                },
                "x-internal-id":"api-v1-blockchainPlatforms-instances-post",
                "x-filename-id":"api-v1-blockchainplatforms-instances-post"
            },
            "get":{
                "tags":[
                    "Blockchain Platform Administrative Operations/Platform"
                ],
                "operationId":"ListBlockchainPlatforms",
                "summary":"List Blockchain Platform Instances",
                "description":"Get summary and list of Blockchain Platform instances.",
                "parameters":[
                    {
                        "$ref":"#/parameters/IncludeSummaryQueryParam"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"Get summary and list of Blockchain Platform instances",
                        "schema":{
                            "type":"array",
                            "items":{
                                "$ref":"#/definitions/BlockchainPlatformSummaryWrapper"
                            }
                        }
                    },
                    "400":{
                        "$ref":"#/responses/400"
                    },
                    "401":{
                        "$ref":"#/responses/401"
                    },
                    "404":{
                        "$ref":"#/responses/404"
                    },
                    "429":{
                        "$ref":"#/responses/429"
                    },
                    "500":{
                        "$ref":"#/responses/500"
                    },
                    "default":{
                        "$ref":"#/responses/default"
                    }
                },
                "x-internal-id":"api-v1-blockchainPlatforms-instances-get",
                "x-filename-id":"api-v1-blockchainplatforms-instances-get"
            }
        },
        "/api/v1/blockchainPlatforms/instances/{id}":{
            "get":{
                "tags":[
                    "Blockchain Platform Administrative Operations/Platform"
                ],
                "operationId":"GetBlockchainPlatform",
                "summary":"Get Blockchain Platform Instance Details",
                "description":"Retrieves the details of a particular Blockchain Platform instance.",
                "parameters":[
                    {
                        "$ref":"#/parameters/BlockchainPlatformIdentifierPathParam"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"OK",
                        "schema":{
                            "$ref":"#/definitions/BlockchainPlatformDetails"
                        }
                    },
                    "401":{
                        "$ref":"#/responses/401"
                    },
                    "404":{
                        "$ref":"#/responses/404"
                    },
                    "500":{
                        "$ref":"#/responses/500"
                    }
                },
                "x-internal-id":"api-v1-blockchainPlatforms-instances-{id}-get",
                "x-filename-id":"api-v1-blockchainplatforms-instances-id-get"
            },
            "delete":{
                "tags":[
                    "Blockchain Platform Administrative Operations/Platform"
                ],
                "operationId":"DeleteBlockchainPlatform",
                "summary":"Delete a Blockchain Platform Instance",
                "description":"Delete a particular Blockchain Platform instance.",
                "parameters":[
                    {
                        "$ref":"#/parameters/BlockchainPlatformIdentifierPathParam"
                    }
                ],
                "responses":{
                    "202":{
                        "description":"Accepted",
                        "headers":{
                            "Location":{
                                "description":"Location header with a URL to query the status of the request.",
                                "type":"string"
                            }
                        }
                    },
                    "401":{
                        "$ref":"#/responses/401"
                    },
                    "404":{
                        "$ref":"#/responses/404"
                    },
                    "409":{
                        "$ref":"#/responses/409"
                    },
                    "500":{
                        "$ref":"#/responses/500"
                    }
                },
                "x-internal-id":"api-v1-blockchainPlatforms-instances-{id}-delete",
                "x-filename-id":"api-v1-blockchainplatforms-instances-id-delete"
            }
        },
        "/api/v1/blockchainPlatforms/instances/{id}/action/start":{
            "post":{
                "tags":[
                    "Blockchain Platform Administrative Operations/Platform"
                ],
                "operationId":"StartBlockchainPlatform",
                "summary":"Start a Blockchain Platform Instance",
                "description":"Start a Blockchain Platform instance.",
                "parameters":[
                    {
                        "$ref":"#/parameters/BlockchainPlatformIdentifierPathParam"
                    }
                ],
                "responses":{
                    "202":{
                        "description":"Accepted",
                        "headers":{
                            "Location":{
                                "description":"Location header with a URL to query the status of the request.",
                                "type":"string"
                            }
                        }
                    },
                    "401":{
                        "$ref":"#/responses/401"
                    },
                    "404":{
                        "$ref":"#/responses/404"
                    },
                    "409":{
                        "$ref":"#/responses/409"
                    },
                    "500":{
                        "$ref":"#/responses/500"
                    }
                },
                "x-internal-id":"api-v1-blockchainPlatforms-instances-{id}-action-start-post",
                "x-filename-id":"api-v1-blockchainplatforms-instances-id-action-start-post"
            }
        },
        "/api/v1/blockchainPlatforms/instances/{id}/action/stop":{
            "post":{
                "tags":[
                    "Blockchain Platform Administrative Operations/Platform"
                ],
                "operationId":"StopBlockchainPlatform",
                "summary":"Stop a Blockchain Platform Instance",
                "description":"Stop a Blockchain Platform instance.",
                "parameters":[
                    {
                        "$ref":"#/parameters/BlockchainPlatformIdentifierPathParam"
                    }
                ],
                "responses":{
                    "202":{
                        "description":"Accepted",
                        "headers":{
                            "Location":{
                                "description":"Location header with a URL to query the status of the request.",
                                "type":"string"
                            }
                        }
                    },
                    "401":{
                        "$ref":"#/responses/401"
                    },
                    "404":{
                        "$ref":"#/responses/404"
                    },
                    "409":{
                        "$ref":"#/responses/409"
                    },
                    "500":{
                        "$ref":"#/responses/500"
                    }
                },
                "x-internal-id":"api-v1-blockchainPlatforms-instances-{id}-action-stop-post",
                "x-filename-id":"api-v1-blockchainplatforms-instances-id-action-stop-post"
            }
        },
        "/api/v1/blockchainPlatforms/instances/{id}/operation/{opid}/status":{
            "get":{
                "tags":[
                    "Blockchain Platform Administrative Operations/Platform"
                ],
                "operationId":"GetOperationStatus",
                "summary":"Get Operation Status of an Instance",
                "description":"Get the operation status of an Blockchain Platform instance.",
                "produces":[
                    "application/json"
                ],
                "parameters":[
                    {
                        "$ref":"#/parameters/BlockchainPlatformIdentifierPathParam"
                    },
                    {
                        "in":"path",
                        "name":"opid",
                        "type":"string",
                        "required":true,
                        "description":"The operation ID to query"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"OK",
                        "schema":{
                            "$ref":"#/definitions/ActivityStatus"
                        }
                    },
                    "401":{
                        "$ref":"#/responses/401"
                    },
                    "404":{
                        "$ref":"#/responses/404"
                    },
                    "500":{
                        "$ref":"#/responses/500"
                    }
                },
                "x-internal-id":"api-v1-blockchainPlatforms-instances-{id}-operation-{opid}-status-get",
                "x-filename-id":"api-v1-blockchainplatforms-instances-id-operation-opid-status-get"
            }
        },
        "/api/v1/blockchainPlatforms/instances/{id}/activity":{
            "get":{
                "tags":[
                    "Blockchain Platform Administrative Operations/Platform"
                ],
                "operationId":"GetInstanceActivity",
                "summary":"Get Instance Activity Details",
                "description":"Gets the instance activity details.",
                "parameters":[
                    {
                        "$ref":"#/parameters/BlockchainPlatformIdentifierPathParam"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"OK",
                        "schema":{
                            "$ref":"#/definitions/InstanceActivityInfoSummary"
                        }
                    },
                    "401":{
                        "$ref":"#/responses/401"
                    },
                    "404":{
                        "$ref":"#/responses/404"
                    },
                    "500":{
                        "$ref":"#/responses/500"
                    }
                },
                "x-internal-id":"api-v1-blockchainPlatforms-instances-{id}-activity-get",
                "x-filename-id":"api-v1-blockchainplatforms-instances-id-activity-get"
            }
        },
        "/api/v1/blockchainPlatforms/instances/{id}/scaleout":{
            "post":{
                "tags":[
                    "Blockchain Platform Administrative Operations/Platform"
                ],
                "operationId":"ScaleOutInstance",
                "summary":"Scale Out a Blockchain Platform Instance",
                "description":"Scale out a Blockchain Platform instance.",
                "parameters":[
                    {
                        "$ref":"#/parameters/BlockchainPlatformIdentifierPathParam"
                    },
                    {
                        "in":"body",
                        "name":"ScaleOutPayload",
                        "required":true,
                        "description":"Request payload in JSON",
                        "schema":{
                            "$ref":"#/definitions/ScaleOutPayload"
                        }
                    }
                ],
                "responses":{
                    "202":{
                        "description":"Accepted",
                        "headers":{
                            "Location":{
                                "description":"Location header with a URL to query the status of the request.",
                                "type":"string"
                            }
                        }
                    },
                    "401":{
                        "$ref":"#/responses/401"
                    },
                    "404":{
                        "$ref":"#/responses/404"
                    },
                    "409":{
                        "$ref":"#/responses/409"
                    },
                    "500":{
                        "$ref":"#/responses/500"
                    }
                },
                "x-internal-id":"api-v1-blockchainPlatforms-instances-{id}-scaleout-post",
                "x-filename-id":"api-v1-blockchainplatforms-instances-id-scaleout-post"
            }
        },
        "/api/v1/blockchainPlatforms/instances/{id}/scalein":{
            "post":{
                "tags":[
                    "Blockchain Platform Administrative Operations/Platform"
                ],
                "operationId":"ScaleInInstance",
                "summary":"Scale In a Blockchain Platform Instance",
                "description":"Scale in a Blockchain Platform instance.",
                "parameters":[
                    {
                        "$ref":"#/parameters/BlockchainPlatformIdentifierPathParam"
                    },
                    {
                        "in":"body",
                        "name":"ScaleInPayload",
                        "required":true,
                        "description":"Request payload in JSON",
                        "schema":{
                            "$ref":"#/definitions/ScaleInPayload"
                        }
                    }
                ],
                "responses":{
                    "202":{
                        "description":"Accepted",
                        "headers":{
                            "Location":{
                                "description":"Location header with a URL to query the status of the request.",
                                "type":"string"
                            }
                        }
                    },
                    "401":{
                        "$ref":"#/responses/401"
                    },
                    "404":{
                        "$ref":"#/responses/404"
                    },
                    "409":{
                        "$ref":"#/responses/409"
                    },
                    "500":{
                        "$ref":"#/responses/500"
                    }
                },
                "x-internal-id":"api-v1-blockchainPlatforms-instances-{id}-scalein-post",
                "x-filename-id":"api-v1-blockchainplatforms-instances-id-scalein-post"
            }
        },
        "/api/v1/blockchainPlatforms/instances/{id}/status":{
            "get":{
                "tags":[
                    "Blockchain Platform Administrative Operations/Platform"
                ],
                "operationId":"GetBlockchainPlatformStatus",
                "summary":"Get Blockchain Platform Status",
                "description":"Get the Blockchain Platform status.",
                "produces":[
                    "application/json"
                ],
                "parameters":[
                    {
                        "$ref":"#/parameters/BlockchainPlatformIdentifierPathParam"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"OK",
                        "schema":{
                            "$ref":"#/definitions/BlockchainPlatformInstanceStatus"
                        }
                    },
                    "401":{
                        "$ref":"#/responses/401"
                    },
                    "404":{
                        "$ref":"#/responses/404"
                    },
                    "500":{
                        "$ref":"#/responses/500"
                    }
                },
                "x-internal-id":"api-v1-blockchainPlatforms-instances-{id}-status-get",
                "x-filename-id":"api-v1-blockchainplatforms-instances-id-status-get"
            }
        },
        "/api/v1/blockchainPlatforms/activities":{
            "get":{
                "tags":[
                    "Blockchain Platform Administrative Operations/Platform"
                ],
                "operationId":"GetActivities",
                "summary":"Get All Activity Details",
                "description":"Get activity details for all instances.",
                "parameters":[
                    {
                        "$ref":"#/parameters/InstanceNameTextQueryParam"
                    },
                    {
                        "$ref":"#/parameters/OperationsQueryParam"
                    },
                    {
                        "$ref":"#/parameters/FromDateQueryParam"
                    },
                    {
                        "$ref":"#/parameters/ToDateQueryParam"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"OK",
                        "schema":{
                            "$ref":"#/definitions/InstanceActivityInfoSummary"
                        }
                    },
                    "401":{
                        "$ref":"#/responses/401"
                    },
                    "404":{
                        "$ref":"#/responses/404"
                    },
                    "500":{
                        "$ref":"#/responses/500"
                    }
                },
                "x-internal-id":"api-v1-blockchainPlatforms-activities-get",
                "x-filename-id":"api-v1-blockchainplatforms-activities-get"
            }
        },
        "/api/v1/configuration/cpConfig":{
            "get":{
                "tags":[
                    "Blockchain Platform Administrative Operations/Configuration"
                ],
                "operationId":"GetAllControlPlaneConfiguration",
                "summary":"Get All Configurations for Control Plane",
                "description":"Get all available configurations for the control plane.",
                "responses":{
                    "200":{
                        "description":"OK",
                        "schema":{
                            "$ref":"#/definitions/CpConfigMap"
                        }
                    },
                    "401":{
                        "$ref":"#/responses/401"
                    },
                    "404":{
                        "$ref":"#/responses/404"
                    },
                    "500":{
                        "$ref":"#/responses/500"
                    }
                },
                "x-internal-id":"api-v1-configuration-cpConfig-get",
                "x-filename-id":"api-v1-configuration-cpconfig-get"
            },
            "post":{
                "tags":[
                    "Blockchain Platform Administrative Operations/Configuration"
                ],
                "operationId":"saveControlPlaneConfiguration",
                "summary":"Save or Update Control Plane Configuration",
                "description":"Save or update a control plane configuration.",
                "consumes":[
                    "application/json"
                ],
                "produces":[
                    "application/json"
                ],
                "parameters":[
                    {
                        "in":"body",
                        "name":"Payload",
                        "required":true,
                        "description":"Request payload in JSON",
                        "schema":{
                            "$ref":"#/definitions/CpConfigDetail"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"OK"
                    },
                    "400":{
                        "$ref":"#/responses/400"
                    },
                    "401":{
                        "$ref":"#/responses/401"
                    },
                    "409":{
                        "$ref":"#/responses/409"
                    },
                    "500":{
                        "$ref":"#/responses/500"
                    }
                },
                "x-internal-id":"api-v1-configuration-cpConfig-post",
                "x-filename-id":"api-v1-configuration-cpconfig-post"
            }
        },
        "/api/v1/configuration/auth":{
            "post":{
                "tags":[
                    "Blockchain Platform Administrative Operations/Configuration"
                ],
                "operationId":"authenticateConfiguration",
                "summary":"Get Post Login Configuration Details",
                "description":"Get the post login configuration details.",
                "produces":[
                    "application/json"
                ],
                "responses":{
                    "200":{
                        "description":"OK",
                        "schema":{
                            "$ref":"#/definitions/PostLoginAuthConfig"
                        }
                    },
                    "409":{
                        "$ref":"#/responses/409"
                    },
                    "500":{
                        "$ref":"#/responses/500"
                    }
                },
                "x-internal-id":"api-v1-configuration-auth-post",
                "x-filename-id":"api-v1-configuration-auth-post"
            }
        },
        "/api/v1/configuration/cpConfig/list":{
            "post":{
                "tags":[
                    "Blockchain Platform Administrative Operations/Configuration"
                ],
                "operationId":"saveCPConfigList",
                "summary":"Create or Update Control Plane Configuration",
                "description":"Creates or updates all specified control plane configurations.",
                "parameters":[
                    {
                        "in":"body",
                        "name":"Payload",
                        "required":true,
                        "description":"Request payload in JSON",
                        "schema":{
                            "type":"array",
                            "items":{
                                "$ref":"#/definitions/CpConfigDetail"
                            }
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"OK"
                    },
                    "400":{
                        "$ref":"#/responses/400"
                    },
                    "401":{
                        "$ref":"#/responses/401"
                    },
                    "409":{
                        "$ref":"#/responses/409"
                    },
                    "500":{
                        "$ref":"#/responses/500"
                    }
                },
                "x-internal-id":"api-v1-configuration-cpConfig-list-post",
                "x-filename-id":"api-v1-configuration-cpconfig-list-post"
            }
        },
        "/api/v1/configuration/cpConfig/{configName}":{
            "get":{
                "tags":[
                    "Blockchain Platform Administrative Operations/Configuration"
                ],
                "operationId":"GetCPConfig",
                "summary":"Get Control Plane Configuration",
                "description":"Gets the specified control plane configuration.",
                "produces":[
                    "application/json"
                ],
                "parameters":[
                    {
                        "$ref":"#/parameters/CPConfigIdentifierPathParam"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"OK",
                        "schema":{
                            "$ref":"#/definitions/CpConfigDetail"
                        }
                    },
                    "400":{
                        "$ref":"#/responses/400"
                    },
                    "401":{
                        "$ref":"#/responses/401"
                    },
                    "500":{
                        "$ref":"#/responses/500"
                    }
                },
                "x-internal-id":"api-v1-configuration-cpConfig-{configName}-get",
                "x-filename-id":"api-v1-configuration-cpconfig-configname-get"
            }
        },
        "/api/v1/configuration/ldapConfig":{
            "get":{
                "tags":[
                    "Blockchain Platform Administrative Operations/Configuration"
                ],
                "operationId":"ListAllLdapConfig",
                "summary":"List LDAP Configurations",
                "description":"Lists all the LDAP configurations.",
                "produces":[
                    "application/json"
                ],
                "responses":{
                    "200":{
                        "description":"OK",
                        "schema":{
                            "type":"array",
                            "items":{
                                "$ref":"#/definitions/LdapConfigDetail"
                            }
                        }
                    },
                    "400":{
                        "$ref":"#/responses/400"
                    },
                    "401":{
                        "$ref":"#/responses/401"
                    },
                    "500":{
                        "$ref":"#/responses/500"
                    }
                },
                "x-internal-id":"api-v1-configuration-ldapConfig-get",
                "x-filename-id":"api-v1-configuration-ldapconfig-get"
            }
        },
        "/api/v1/configuration/ldapConfig/test":{
            "post":{
                "tags":[
                    "Blockchain Platform Administrative Operations/Configuration"
                ],
                "operationId":"TestLdapConfig",
                "summary":"Test LDAP Configuration",
                "description":"Tests the specified LDAP configuration.",
                "consumes":[
                    "application/json"
                ],
                "produces":[
                    "application/json"
                ],
                "parameters":[
                    {
                        "name":"payload",
                        "in":"body",
                        "schema":{
                            "$ref":"#/definitions/LdapConfigDetail"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"OK"
                    },
                    "400":{
                        "$ref":"#/responses/400"
                    },
                    "401":{
                        "$ref":"#/responses/401"
                    },
                    "404":{
                        "$ref":"#/responses/404"
                    },
                    "409":{
                        "$ref":"#/responses/409"
                    }
                },
                "x-internal-id":"api-v1-configuration-ldapConfig-test-post",
                "x-filename-id":"api-v1-configuration-ldapconfig-test-post"
            }
        },
        "/api/v1/configuration/ldapConfig/{id}":{
            "post":{
                "tags":[
                    "Blockchain Platform Administrative Operations/Configuration"
                ],
                "operationId":"UpdateLdapConfig",
                "summary":"Update LDAP Configuration",
                "description":"Updates the LDAP configuration.",
                "consumes":[
                    "multipart/form-data"
                ],
                "produces":[
                    "application/json"
                ],
                "parameters":[
                    {
                        "$ref":"#/parameters/LdapConfigIdentifierPathParam"
                    },
                    {
                        "name":"ldapTLSRootCACert",
                        "description":"The root certificate authority (CA) certificate for the LDAP server in a .crt file",
                        "in":"formData",
                        "type":"string"
                    },
                    {
                        "name":"payload",
                        "in":"formData",
                        "schema":{
                            "$ref":"#/definitions/LdapConfigDetail"
                        }
                    },
                    {
                        "name":"removeTLSRootCACert",
                        "type":"boolean",
                        "in":"query",
                        "default":false,
                        "required":false
                    },
                    {
                        "name":"isActive",
                        "type":"boolean",
                        "in":"query",
                        "default":false,
                        "required":false
                    }
                ],
                "responses":{
                    "200":{
                        "description":"OK"
                    },
                    "400":{
                        "$ref":"#/responses/400"
                    },
                    "401":{
                        "$ref":"#/responses/401"
                    },
                    "409":{
                        "$ref":"#/responses/409"
                    },
                    "500":{
                        "$ref":"#/responses/500"
                    }
                },
                "x-internal-id":"api-v1-configuration-ldapConfig-{id}-post",
                "x-filename-id":"api-v1-configuration-ldapconfig-id-post"
            },
            "get":{
                "tags":[
                    "Blockchain Platform Administrative Operations/Configuration"
                ],
                "operationId":"GetLdapConfig",
                "summary":"Get LDAP Configuration",
                "description":"Gets the LDAP configuration.",
                "produces":[
                    "application/json"
                ],
                "parameters":[
                    {
                        "$ref":"#/parameters/LdapConfigIdentifierPathParam"
                    }
                ],
                "responses":{
                    "200":{
                        "description":"OK",
                        "schema":{
                            "$ref":"#/definitions/LdapConfigDetail"
                        }
                    },
                    "400":{
                        "$ref":"#/responses/400"
                    },
                    "401":{
                        "$ref":"#/responses/401"
                    },
                    "404":{
                        "$ref":"#/responses/404"
                    }
                },
                "x-internal-id":"api-v1-configuration-ldapConfig-{id}-get",
                "x-filename-id":"api-v1-configuration-ldapconfig-id-get"
            }
        },
        "/api/v1/configuration/ldapConfig/defaultLdap/ldapUser":{
            "post":{
                "tags":[
                    "Blockchain Platform Administrative Operations/Configuration"
                ],
                "operationId":"AddUserToDefaultLdap",
                "summary":"Add User to Default LDAP Server",
                "description":"Adds a user to the default LDAP Server.",
                "consumes":[
                    "application/json"
                ],
                "produces":[
                    "application/json"
                ],
                "parameters":[
                    {
                        "name":"payload",
                        "in":"body",
                        "schema":{
                            "$ref":"#/definitions/LDAPUser"
                        }
                    }
                ],
                "responses":{
                    "200":{
                        "description":"OK"
                    },
                    "400":{
                        "$ref":"#/responses/400"
                    },
                    "401":{
                        "$ref":"#/responses/401"
                    },
                    "404":{
                        "$ref":"#/responses/404"
                    },
                    "409":{
                        "$ref":"#/responses/409"
                    }
                },
                "x-internal-id":"api-v1-configuration-ldapConfig-defaultLdap-ldapUser-post",
                "x-filename-id":"api-v1-configuration-ldapconfig-defaultldap-ldapuser-post"
            }
        },
        "/api/v1/configuration/release/buildInfo":{
            "get":{
                "tags":[
                    "Blockchain Platform Administrative Operations/Configuration"
                ],
                "operationId":"GetReleaseBuildInfo",
                "summary":"Get Release Build Information",
                "description":"Get the release build information.",
                "produces":[
                    "application/json"
                ],
                "responses":{
                    "200":{
                        "description":"OK",
                        "schema":{
                            "$ref":"#/definitions/ReleaseBuildInfo"
                        }
                    },
                    "400":{
                        "$ref":"#/responses/400"
                    },
                    "401":{
                        "$ref":"#/responses/401"
                    },
                    "500":{
                        "$ref":"#/responses/500"
                    }
                },
                "x-internal-id":"api-v1-configuration-release-buildInfo-get",
                "x-filename-id":"api-v1-configuration-release-buildinfo-get"
            }
        }
    },
    "definitions":{
        "logLevel":{
            "type":"string",
            "enum":[
                "DEBUG",
                "FATAL",
                "ERROR",
                "WARNING",
                "TRACE",
                "INFO"
            ]
        },
        "nodes":{
            "type":"object",
            "properties":{
                "peers":{
                    "type":"array",
                    "items":{
                        "$ref":"#/definitions/peer"
                    }
                },
                "orderers":{
                    "type":"array",
                    "items":{
                        "$ref":"#/definitions/orderer"
                    }
                },
                "fabricCAs":{
                    "type":"array",
                    "items":{
                        "$ref":"#/definitions/FabricCA"
                    }
                },
                "RESTProxies":{
                    "type":"array",
                    "items":{
                        "$ref":"#/definitions/RESTProxy"
                    }
                }
            }
        },
        "peer":{
            "type":"object",
            "required":[
                "peerId"
            ],
            "properties":{
                "peerId":{
                    "type":"string"
                },
                "mspId":{
                    "type":"string"
                },
                "role":{
                    "type":"string",
                    "enum":[
                        "Member",
                        "Admin"
                    ]
                },
                "status":{
                    "type":"string",
                    "enum":[
                        "up",
                        "down"
                    ]
                },
                "url":{
                    "type":"string"
                },
                "eventUrl":{
                    "type":"string"
                },
                "displayName":{
                    "type":"string"
                }
            }
        },
        "peer2":{
            "type":"object",
            "required":[
                "peerId"
            ],
            "properties":{
                "peerId":{
                    "type":"string"
                },
                "mspId":{
                    "type":"string"
                },
                "status":{
                    "type":"string",
                    "enum":[
                        "up",
                        "down"
                    ]
                },
                "url":{
                    "type":"string"
                },
                "eventUrl":{
                    "type":"string"
                },
                "displayName":{
                    "type":"string"
                }
            }
        },
        "orderer":{
            "type":"object",
            "properties":{
                "ordererId":{
                    "type":"string"
                },
                "status":{
                    "type":"string",
                    "enum":[
                        "up",
                        "down"
                    ]
                },
                "url":{
                    "type":"string"
                },
                "adminUrl":{
                    "type":"string"
                },
                "mspId":{
                    "type":"string"
                },
                "displayName":{
                    "type":"string"
                }
            }
        },
        "FabricCA":{
            "type":"object",
            "properties":{
                "fabricCAId":{
                    "type":"string"
                },
                "status":{
                    "type":"string",
                    "enum":[
                        "up",
                        "down"
                    ]
                },
                "url":{
                    "type":"string"
                },
                "mspId":{
                    "type":"string"
                },
                "displayName":{
                    "type":"string"
                }
            }
        },
        "RESTProxy":{
            "type":"object",
            "properties":{
                "RESTProxyId":{
                    "type":"string"
                },
                "status":{
                    "type":"string"
                },
                "url":{
                    "type":"string"
                },
                "mspId":{
                    "type":"string"
                },
                "displayName":{
                    "type":"string"
                }
            }
        },
        "NodeStatus":{
            "type":"object",
            "properties":{
                "status":{
                    "type":"string",
                    "enum":[
                        "up",
                        "down"
                    ]
                }
            }
        },
        "ActionStatus":{
            "type":"string",
            "enum":[
                "SUCCESS"
            ]
        },
        "peerPatchActionResult":{
            "type":"object",
            "properties":{
                "status":{
                    "type":"string",
                    "enum":[
                        "SUCCESS"
                    ]
                },
                "message":{
                    "type":"string"
                }
            }
        },
        "gossip":{
            "type":"object",
            "properties":{
                "bootstrapPeers":{
                    "type":"string"
                },
                "maxBlockCountToStore":{
                    "type":"integer",
                    "default":"100",
                    "example":"100"
                },
                "maxPropagationBurstLatency":{
                    "type":"integer",
                    "default":"10",
                    "example":"10"
                },
                "maxPropagationBurstSize":{
                    "type":"integer",
                    "default":"10",
                    "example":"10"
                },
                "propagateIterations":{
                    "type":"integer",
                    "default":"1",
                    "example":"1"
                },
                "maxConnectionAttempts":{
                    "type":"integer",
                    "default":"120",
                    "example":"120"
                },
                "msgExpirationFactor":{
                    "type":"integer",
                    "default":"20",
                    "example":"20"
                },
                "propagatePeerNumber":{
                    "type":"integer",
                    "default":"3",
                    "example":"3"
                },
                "pullInterval":{
                    "type":"integer",
                    "default":"4",
                    "example":"4"
                },
                "pullPeerNumber":{
                    "type":"integer",
                    "default":"3",
                    "example":"3"
                },
                "requestStateInfoInterval":{
                    "type":"integer",
                    "default":"4",
                    "example":"4"
                },
                "publishStateInfo":{
                    "type":"integer",
                    "default":"4",
                    "example":"4"
                },
                "publicCertPeriod":{
                    "type":"integer",
                    "default":"10",
                    "example":"10"
                },
                "dialTimeout":{
                    "type":"integer",
                    "default":"3",
                    "example":"3"
                },
                "connectTimeout":{
                    "type":"integer",
                    "default":"2",
                    "example":"2"
                },
                "receiveBufferSize":{
                    "type":"integer",
                    "default":"20",
                    "example":"20"
                },
                "sendBufferSize":{
                    "type":"integer",
                    "default":"200",
                    "example":"200"
                },
                "digestWaitTime":{
                    "type":"integer",
                    "default":"1",
                    "example":"1"
                },
                "requestWaitTime":{
                    "type":"integer",
                    "default":"1500",
                    "example":"1500"
                },
                "responseWaitTime":{
                    "type":"integer",
                    "default":"2",
                    "example":"2"
                },
                "aliveTimeInterval":{
                    "type":"integer",
                    "default":"5",
                    "example":"5"
                },
                "aliveExpirationTimeout":{
                    "type":"integer",
                    "default":"25",
                    "example":"25"
                },
                "reconnectInterval":{
                    "type":"integer",
                    "default":"25",
                    "example":"25"
                },
                "skipBlockVerification":{
                    "type":"boolean",
                    "default":false,
                    "example":false
                }
            }
        },
        "peerAttributes":{
            "type":"object",
            "properties":{
                "peerId":{
                    "type":"string"
                },
                "mspId":{
                    "type":"string"
                },
                "alias":{
                    "type":"string"
                },
                "role":{
                    "type":"string",
                    "enum":[
                        "Member",
                        "Admin"
                    ]
                },
                "url":{
                    "type":"string"
                },
                "logLevel":{
                    "$ref":"#/definitions/logLevel"
                },
                "gossip":{
                    "$ref":"#/definitions/gossip"
                },
                "gossipElection":{
                    "type":"object",
                    "properties":{
                        "membershipSampleInterval":{
                            "type":"integer",
                            "default":"1",
                            "example":"1"
                        },
                        "leaderALiveThreshold":{
                            "type":"integer",
                            "default":"10",
                            "example":"10"
                        },
                        "leaderElectionDuration":{
                            "type":"integer",
                            "default":"5",
                            "example":"5"
                        },
                        "leader":{
                            "type":"string",
                            "enum":[
                                "UseLeaderElection",
                                "OrgLeader"
                            ]
                        }
                    }
                },
                "eventService":{
                    "type":"object",
                    "properties":{
                        "url":{
                            "type":"string"
                        },
                        "bufferSize":{
                            "type":"integer",
                            "default":"100",
                            "example":"100"
                        },
                        "timeout":{
                            "type":"integer",
                            "default":"10",
                            "example":"10"
                        }
                    }
                },
                "chaincode":{
                    "type":"object",
                    "properties":{
                        "startupTimeout":{
                            "type":"integer",
                            "default":"300",
                            "example":"300"
                        },
                        "installTimeout":{
                            "type":"integer",
                            "default":"300",
                            "example":"300"
                        },
                        "executeTimeout":{
                            "type":"integer",
                            "default":"30",
                            "example":"30"
                        },
                        "mode":{
                            "type":"string",
                            "enum":[
                                "dev",
                                "net"
                            ]
                        },
                        "keepalive":{
                            "type":"integer",
                            "default":"0",
                            "example":"0"
                        },
                        "logLevel":{
                            "$ref":"#/definitions/logLevel"
                        },
                        "shimLevel":{
                            "$ref":"#/definitions/logLevel"
                        }
                    }
                }
            }
        },
        "peerAddAttributes":{
            "type":"object",
            "properties":{
                "alias":{
                    "type":"string"
                },
                "role":{
                    "type":"string",
                    "enum":[
                        "Member",
                        "Admin"
                    ]
                },
                "logLevel":{
                    "$ref":"#/definitions/logLevel"
                },
                "partition":{
                    "type":"string",
                    "enum":[
                        "Partition 1",
                        "Partition 2"
                    ]
                },
                "gossip":{
                    "$ref":"#/definitions/gossip"
                },
                "gossipElection":{
                    "type":"object",
                    "properties":{
                        "membershipSampleInterval":{
                            "type":"integer",
                            "default":"1",
                            "example":"1"
                        },
                        "leaderALiveThreshold":{
                            "type":"integer",
                            "default":"10",
                            "example":"10"
                        },
                        "leaderElectionDuration":{
                            "type":"integer",
                            "default":"5",
                            "example":"5"
                        },
                        "userLeaderElection":{
                            "type":"boolean"
                        },
                        "leader":{
                            "type":"string",
                            "enum":[
                                "UseLeaderElection",
                                "OrgLeader"
                            ]
                        }
                    }
                },
                "eventService":{
                    "type":"object",
                    "properties":{
                        "bufferSize":{
                            "type":"integer",
                            "default":"100",
                            "example":"100"
                        },
                        "timeout":{
                            "type":"integer",
                            "default":"10",
                            "example":"10"
                        }
                    }
                },
                "chaincode":{
                    "type":"object",
                    "properties":{
                        "startupTimeout":{
                            "type":"integer",
                            "default":"300",
                            "example":"300"
                        },
                        "installTimeout":{
                            "type":"integer",
                            "default":"300",
                            "example":"300"
                        },
                        "executeTimeout":{
                            "type":"integer",
                            "default":"30",
                            "example":"30"
                        },
                        "mode":{
                            "type":"string",
                            "enum":[
                                "dev",
                                "net"
                            ]
                        },
                        "keepalive":{
                            "type":"integer",
                            "default":"0",
                            "example":"0"
                        },
                        "logLevel":{
                            "$ref":"#/definitions/logLevel"
                        },
                        "shimLevel":{
                            "$ref":"#/definitions/logLevel"
                        }
                    }
                }
            }
        },
        "peerPatchAttributes":{
            "type":"object",
            "properties":{
                "alias":{
                    "type":"string"
                },
                "logLevel":{
                    "$ref":"#/definitions/logLevel"
                },
                "gossip":{
                    "$ref":"#/definitions/gossip"
                },
                "gossipElection":{
                    "type":"object",
                    "properties":{
                        "membershipSampleInterval":{
                            "type":"integer",
                            "default":"1",
                            "example":"1"
                        },
                        "leaderALiveThreshold":{
                            "type":"integer",
                            "default":"10",
                            "example":"10"
                        },
                        "leaderElectionDuration":{
                            "type":"integer",
                            "default":"5",
                            "example":"5"
                        },
                        "leader":{
                            "type":"string",
                            "enum":[
                                "UseLeaderElection",
                                "OrgLeader"
                            ]
                        }
                    }
                },
                "eventService":{
                    "type":"object",
                    "properties":{
                        "bufferSize":{
                            "type":"integer",
                            "default":"100",
                            "example":"100"
                        },
                        "timeout":{
                            "type":"integer",
                            "default":"10",
                            "example":"10"
                        }
                    }
                },
                "chaincode":{
                    "type":"object",
                    "properties":{
                        "startupTimeout":{
                            "type":"integer",
                            "default":"300",
                            "example":"300"
                        },
                        "installTimeout":{
                            "type":"integer",
                            "default":"300",
                            "example":"300"
                        },
                        "executeTimeout":{
                            "type":"integer",
                            "default":"30",
                            "example":"30"
                        },
                        "mode":{
                            "type":"string",
                            "enum":[
                                "dev",
                                "net"
                            ]
                        },
                        "keepalive":{
                            "type":"integer"
                        },
                        "logLevel":{
                            "$ref":"#/definitions/logLevel"
                        },
                        "shimLevel":{
                            "$ref":"#/definitions/logLevel"
                        }
                    }
                }
            }
        },
        "addPeerActionResult":{
            "type":"object",
            "properties":{
                "status":{
                    "type":"string"
                }
            }
        },
        "joinChannel":{
            "type":"object",
            "properties":{
                "channelName":{
                    "type":"string"
                }
            },
            "example":{
                "channelName":"mychannel1"
            }
        },
        "exportedNodes":{
            "type":"array",
            "items":{
                "type":"object",
                "properties":{
                    "organization":{
                        "type":"string"
                    },
                    "nodes":{
                        "type":"object",
                        "properties":{
                            "peers":{
                                "type":"array",
                                "items":{
                                    "type":"object",
                                    "properties":{
                                        "peerId":{
                                            "type":"string"
                                        },
                                        "displayName":{
                                            "type":"string"
                                        },
                                        "url":{
                                            "type":"string"
                                        },
                                        "eventUrl":{
                                            "type":"string"
                                        },
                                        "mspId":{
                                            "type":"string"
                                        },
                                        "joinedChannels":{
                                            "type":"array",
                                            "items":{
                                                "type":"string"
                                            }
                                        },
                                        "installedChaincodes":{
                                            "type":"array",
                                            "items":{
                                                "type":"object",
                                                "properties":{
                                                    "name":{
                                                        "type":"string"
                                                    },
                                                    "version":{
                                                        "type":"string"
                                                    },
                                                    "path":{
                                                        "type":"string"
                                                    }
                                                }
                                            }
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "tlsCACert":{
                        "type":"string"
                    },
                    "signature":{
                        "type":"string"
                    }
                }
            }
        },
        "orgInfo":{
            "type":"array",
            "items":{
                "type":"object",
                "properties":{
                    "mspId":{
                        "type":"string"
                    },
                    "certs":{
                        "type":"object",
                        "properties":{
                            "adminCert":{
                                "type":"string"
                            },
                            "CACert":{
                                "type":"string"
                            },
                            "tlsCACert":{
                                "type":"string"
                            },
                            "nodeouIdentifierCert":{
                                "type":"string"
                            },
                            "rafttlsCACert":{
                                "type":"string"
                            },
                            "intermediateCerts":{
                                "type":"string"
                            }
                        }
                    },
                    "signature":{
                        "type":"string"
                    }
                }
            },
            "example":[
                {
                    "mspId":"Org6MSP",
                    "certs":{
                        "adminCert":"",
                        "CACert":"",
                        "tlsCACert":"",
                        "nodeouIdentifierCert":"",
                        "rafttlsCACert":"",
                        "intermediateCerts":""
                    },
                    "signature":""
                }
            ]
        },
        "ordererSettingInfo":{
            "type":"object",
            "properties":{
                "mspId":{
                    "type":"string"
                },
                "certs":{
                    "type":"object",
                    "properties":{
                        "adminCert":{
                            "type":"string"
                        },
                        "CACert":{
                            "type":"string"
                        },
                        "tlsCACert":{
                            "type":"string"
                        },
                        "intermediateCerts":{
                            "type":"string"
                        }
                    }
                },
                "orderingServiceNodes":{
                    "type":"array",
                    "items":{
                        "type":"object",
                        "properties":{
                            "address":{
                                "type":"string"
                            },
                            "adminAddress":{
                                "type":"string"
                            }
                        }
                    }
                },
                "signature":{
                    "type":"string"
                }
            }
        },
        "getOrdererAttributes":{
            "type":"object",
            "properties":{
                "ordererId":{
                    "type":"string"
                },
                "mspId":{
                    "type":"string"
                },
                "url":{
                    "type":"string"
                },
                "adminUrl":{
                    "type":"string"
                },
                "batchTimeout":{
                    "type":"string",
                    "default":"2s",
                    "example":"2s"
                },
                "batchSizeMaxMessageCount":{
                    "type":"integer",
                    "default":"10",
                    "example":"10"
                },
                "batchSizeAbsMaxBytes":{
                    "type":"integer",
                    "default":"102760448",
                    "example":"102760448"
                },
                "batchSizePrefMaxBytes":{
                    "type":"integer",
                    "default":"524288",
                    "example":"524288"
                },
                "logLevel":{
                    "$ref":"#/definitions/logLevel"
                },
                "kafkaRetry":{
                    "$ref":"#/definitions/orderKafkaRetry"
                },
                "raftRetry":{
                    "$ref":"#/definitions/orderRaftRetry"
                }
            }
        },
        "setOrdererAttributes":{
            "type":"object",
            "properties":{
                "batchTimeout":{
                    "type":"string",
                    "default":"2s",
                    "example":"2s"
                },
                "batchSizeMaxMessageCount":{
                    "type":"integer",
                    "default":"10",
                    "example":"10"
                },
                "batchSizeAbsMaxBytes":{
                    "type":"integer",
                    "default":"102760448",
                    "example":"102760448"
                },
                "batchSizePrefMaxBytes":{
                    "type":"integer",
                    "default":"524288",
                    "example":"524288"
                },
                "logLevel":{
                    "$ref":"#/definitions/logLevel"
                },
                "kafkaRetry":{
                    "$ref":"#/definitions/orderKafkaRetry"
                },
                "raftRetry":{
                    "$ref":"#/definitions/orderRaftRetry"
                }
            }
        },
        "orderKafkaRetry":{
            "type":"object",
            "description":"Orderer attributes in Kafka mode",
            "properties":{
                "shortInterval":{
                    "type":"integer",
                    "default":"5",
                    "example":"5"
                },
                "shortTotal":{
                    "type":"integer",
                    "default":"10",
                    "example":"10"
                },
                "longInterval":{
                    "type":"integer",
                    "default":"5",
                    "example":"5"
                },
                "longTotal":{
                    "type":"integer",
                    "default":"10",
                    "example":"10"
                },
                "networkDialTimeout":{
                    "type":"integer",
                    "default":"10",
                    "example":"10"
                },
                "networkReadTimeout":{
                    "type":"integer",
                    "default":"10",
                    "example":"10"
                },
                "networkWriteTimeout":{
                    "type":"integer",
                    "default":"10",
                    "example":"10"
                },
                "metadataRetryBackoff":{
                    "type":"integer",
                    "default":"250",
                    "example":"250"
                },
                "metadataRetryMax":{
                    "type":"integer",
                    "default":"3",
                    "example":"3"
                },
                "producerRetryBackoff":{
                    "type":"integer",
                    "default":"100",
                    "example":"100"
                },
                "producerRetryMax":{
                    "type":"integer",
                    "default":"3",
                    "example":"3"
                },
                "consumerRetryBackoff":{
                    "type":"integer",
                    "default":"2",
                    "example":"2"
                }
            }
        },
        "orderRaftRetry":{
            "type":"object",
            "description":"Orderer attributes in Raft mode",
            "properties":{
                "sendBufferSize":{
                    "type":"integer",
                    "default":"10",
                    "example":"10"
                },
                "dialTimeout":{
                    "type":"integer",
                    "default":"5",
                    "example":"5"
                },
                "RPCTimeout":{
                    "type":"integer",
                    "default":"7",
                    "example":"7"
                },
                "replicationBufferSize":{
                    "type":"integer",
                    "default":"20971520",
                    "example":"20971520"
                },
                "replicationBackgroundRefreshInterval":{
                    "type":"integer",
                    "default":"5",
                    "example":"5"
                },
                "replicationRetryTimeout":{
                    "type":"integer",
                    "default":"5",
                    "example":"5"
                },
                "replicationPullTimeout":{
                    "type":"integer",
                    "default":"5",
                    "example":"5"
                },
                "evictionSuspicion":{
                    "type":"integer",
                    "default":"10",
                    "example":"10"
                }
            }
        },
        "exportOSNInfo":{
            "type":"object",
            "properties":{
                "mspId":{
                    "type":"string"
                },
                "orderingServiceNodes":{
                    "type":"array",
                    "items":{
                        "type":"object",
                        "properties":{
                            "ordererId":{
                                "type":"string"
                            },
                            "displayName":{
                                "type":"string"
                            },
                            "address":{
                                "type":"string"
                            },
                            "raftAddress":{
                                "type":"string"
                            },
                            "adminAddress":{
                                "type":"string"
                            },
                            "server_tls_cert":{
                                "type":"string"
                            },
                            "client_tls_cert":{
                                "type":"string"
                            }
                        }
                    }
                },
                "signature":{
                    "type":"string"
                }
            }
        },
        "ApproveCCReq":{
            "type":"object",
            "required":[
                "chaincodeName",
                "chaincodeVersion",
                "chaincodePackageID",
                "chaincodeInitRequired"
            ],
            "properties":{
                "chaincodeName":{
                    "type":"string"
                },
                "chaincodeVersion":{
                    "type":"string"
                },
                "chaincodePackageID":{
                    "type":"string"
                },
                "upgrade":{
                    "type":"boolean"
                },
                "chaincodeSequence":{
                    "type":"string"
                },
                "chaincodeInitRequired":{
                    "type":"boolean"
                },
                "endorsementPolicy":{
                    "type":"object",
                    "required":[
                        "type",
                        "policy"
                    ],
                    "properties":{
                        "type":{
                            "type":"string",
                            "enum":[
                                "signature-policy",
                                "channel-config-policy"
                            ]
                        },
                        "policy":{
                            "type":"string"
                        }
                    }
                },
                "dataCollectionConfig":{
                    "type":"array",
                    "items":{
                        "type":"object",
                        "required":[
                            "name",
                            "policy",
                            "requiredPeerCount",
                            "maxPeerCount",
                            "blockToLive"
                        ],
                        "properties":{
                            "name":{
                                "type":"string"
                            },
                            "policy":{
                                "type":"string"
                            },
                            "requiredPeerCount":{
                                "type":"number"
                            },
                            "maxPeerCount":{
                                "type":"number"
                            },
                            "blockToLive":{
                                "type":"number"
                            },
                            "memberOnlyRead":{
                                "type":"boolean"
                            },
                            "memberOnlyWrite":{
                                "type":"boolean"
                            },
                            "endorsementPolicy":{
                                "type":"object",
                                "properties":{
                                    "signaturePolicy":{
                                        "type":"string"
                                    },
                                    "channelConfigPolicy":{
                                        "type":"string"
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "example":{
                "chaincodeName":"myCC1",
                "chaincodeVersion":"v1",
                "chaincodePackageID":"mycc:dd46d5a2e5cad160d625dba27c85b7aaa534dd3a78c4fce9c514e0ac6b6cc755",
                "chaincodeInitRequired":false,
                "upgrade":false,
                "endorsementPolicy":{
                    "type":"signature-policy",
                    "policy":"OR('org1.member')"
                },
                "dataCollectionConfig":[
                    {
                        "name":"test",
                        "policy":"OR('org1.member')",
                        "requiredPeerCount":"1",
                        "maxPeerCount":"2",
                        "blockToLive":"10",
                        "memberOnlyRead":true,
                        "memberOnlyWrite":true,
                        "endorsementPolicy":{
                            "signaturePolicy":"OutOf(1,'org1.member')"
                        }
                    }
                ]
            }
        },
        "CommitCCReq":{
            "type":"object",
            "required":[
                "chaincodeName",
                "chaincodeVersion",
                "chaincodeInitRequired"
            ],
            "properties":{
                "chaincodeName":{
                    "type":"string"
                },
                "chaincodeVersion":{
                    "type":"string"
                },
                "chaincodeInitRequired":{
                    "type":"boolean"
                },
                "endorsementPolicy":{
                    "type":"object",
                    "required":[
                        "type",
                        "policy"
                    ],
                    "properties":{
                        "type":{
                            "type":"string",
                            "enum":[
                                "signature-policy",
                                "channel-config-policy"
                            ]
                        },
                        "policy":{
                            "type":"string"
                        }
                    }
                },
                "dataCollectionConfig":{
                    "type":"array",
                    "items":{
                        "type":"object",
                        "required":[
                            "name",
                            "policy",
                            "requiredPeerCount",
                            "maxPeerCount",
                            "blockToLive"
                        ],
                        "properties":{
                            "name":{
                                "type":"string"
                            },
                            "policy":{
                                "type":"string"
                            },
                            "requiredPeerCount":{
                                "type":"number"
                            },
                            "maxPeerCount":{
                                "type":"number"
                            },
                            "blockToLive":{
                                "type":"number"
                            },
                            "memberOnlyRead":{
                                "type":"boolean"
                            },
                            "memberOnlyWrite":{
                                "type":"boolean"
                            },
                            "endorsementPolicy":{
                                "type":"object",
                                "properties":{
                                    "signaturePolicy":{
                                        "type":"string"
                                    },
                                    "channelConfigPolicy":{
                                        "type":"string"
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "example":{
                "chaincodeName":"myCC1",
                "chaincodeVersion":"v1",
                "chaincodeInitRequired":false,
                "endorsementPolicy":{
                    "type":"signature-policy",
                    "policy":"OR('org1.member')"
                },
                "dataCollectionConfig":[
                    {
                        "name":"test",
                        "policy":"OR('org1.member')",
                        "requiredPeerCount":"1",
                        "maxPeerCount":"2",
                        "blockToLive":"10",
                        "memberOnlyRead":true,
                        "memberOnlyWrite":true,
                        "endorsementPolicy":{
                            "signaturePolicy":"OutOf(1,'org1.member')"
                        }
                    }
                ]
            }
        },
        "CheckCommitReadinessCCReq":{
            "type":"object",
            "required":[
                "chaincodeName",
                "chaincodeVersion",
                "chaincodeInitRequired"
            ],
            "properties":{
                "chaincodeName":{
                    "type":"string"
                },
                "chaincodeVersion":{
                    "type":"string"
                },
                "chaincodeSequence":{
                    "type":"string"
                },
                "chaincodeInitRequired":{
                    "type":"boolean"
                },
                "endorsementPolicy":{
                    "type":"object",
                    "required":[
                        "type",
                        "policy"
                    ],
                    "properties":{
                        "type":{
                            "type":"string",
                            "enum":[
                                "signature-policy",
                                "channel-config-policy"
                            ]
                        },
                        "policy":{
                            "type":"string"
                        }
                    }
                },
                "dataCollectionConfig":{
                    "type":"array",
                    "items":{
                        "type":"object",
                        "required":[
                            "name",
                            "policy",
                            "requiredPeerCount",
                            "maxPeerCount",
                            "blockToLive"
                        ],
                        "properties":{
                            "name":{
                                "type":"string"
                            },
                            "policy":{
                                "type":"string"
                            },
                            "requiredPeerCount":{
                                "type":"number"
                            },
                            "maxPeerCount":{
                                "type":"number"
                            },
                            "blockToLive":{
                                "type":"number"
                            },
                            "memberOnlyRead":{
                                "type":"boolean"
                            },
                            "memberOnlyWrite":{
                                "type":"boolean"
                            },
                            "endorsementPolicy":{
                                "type":"object",
                                "properties":{
                                    "signaturePolicy":{
                                        "type":"string"
                                    },
                                    "channelConfigPolicy":{
                                        "type":"string"
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "example":{
                "chaincodeName":"myCC1",
                "chaincodeVersion":"v1",
                "chaincodeInitRequired":false,
                "endorsementPolicy":{
                    "type":"signature-policy",
                    "policy":"OR('org1.member')"
                },
                "dataCollectionConfig":[
                    {
                        "name":"test",
                        "policy":"OR('org1.member')",
                        "requiredPeerCount":"1",
                        "maxPeerCount":"2",
                        "blockToLive":"10",
                        "memberOnlyRead":true,
                        "memberOnlyWrite":true,
                        "endorsementPolicy":{
                            "signaturePolicy":"OutOf(1,'org1.member')"
                        }
                    }
                ]
            }
        },
        "QueryCCReq":{
            "type":"object",
            "required":[
                "status"
            ],
            "properties":{
                "status":{
                    "type":"string",
                    "enum":[
                        "Approved",
                        "Committed"
                    ]
                },
                "chaincodeName":{
                    "type":"string"
                },
                "sequence":{
                    "type":"string"
                }
            },
            "example":{
                "status":"Approved",
                "chaincodeName":"myCC1",
                "sequence":"1"
            }
        },
        "fabricCAAttributes":{
            "type":"object",
            "properties":{
                "fabricCAId":{
                    "type":"string"
                },
                "url":{
                    "type":"string"
                },
                "maxEnrollments":{
                    "type":"integer",
                    "default":"-1",
                    "example":"-1"
                },
                "logLevel":{
                    "type":"string",
                    "enum":[
                        "INFO",
                        "DEBUG"
                    ]
                }
            }
        },
        "fabricCAWritableAttributes":{
            "type":"object",
            "properties":{
                "maxEnrollments":{
                    "type":"integer",
                    "default":"-1",
                    "example":"-1"
                },
                "logLevel":{
                    "type":"string",
                    "enum":[
                        "INFO",
                        "DEBUG"
                    ]
                }
            }
        },
        "restProxyConfig":{
            "type":"object",
            "required":[
                "RESTProxyId",
                "proposalWaitTime",
                "transactionWaitTime",
                "channels"
            ],
            "properties":{
                "RESTProxyId":{
                    "type":"string"
                },
                "proposalWaitTime":{
                    "type":"integer",
                    "format":"int32",
                    "example":"60000",
                    "default":"60000"
                },
                "transactionWaitTime":{
                    "type":"integer",
                    "format":"int32",
                    "example":"300000",
                    "default":"300000"
                },
                "logLevel":{
                    "type":"string",
                    "enum":[
                        "INFO",
                        "DEBUG",
                        "WARNING",
                        "ERROR"
                    ]
                },
                "logTransactionEvents":{
                    "type":"boolean",
                    "default":false
                },
                "channels":{
                    "type":"array",
                    "items":{
                        "type":"object",
                        "properties":{
                            "name":{
                                "type":"string",
                                "example":"mychannel"
                            },
                            "chaincodes":{
                                "type":"array",
                                "items":{
                                    "type":"object",
                                    "properties":{
                                        "name":{
                                            "type":"string"
                                        },
                                        "endorsers":{
                                            "type":"array",
                                            "items":{
                                                "type":"string"
                                            }
                                        }
                                    }
                                },
                                "example":[
                                    {
                                        "name":"mycc",
                                        "endorsers":[
                                            "peer0.org1.example.com",
                                            "peer1.org1.example.com"
                                        ]
                                    }
                                ]
                            }
                        }
                    }
                }
            }
        },
        "restProxyWritableConfig":{
            "type":"object",
            "properties":{
                "proposalWaitTime":{
                    "type":"integer",
                    "format":"int32",
                    "example":"60000",
                    "default":"60000"
                },
                "transactionWaitTime":{
                    "type":"integer",
                    "format":"int32",
                    "example":"300000",
                    "default":"300000"
                },
                "logLevel":{
                    "type":"string",
                    "enum":[
                        "INFO",
                        "DEBUG",
                        "WARNING",
                        "ERROR"
                    ]
                },
                "logTransactionEvents":{
                    "type":"boolean",
                    "default":false
                },
                "channels":{
                    "type":"array",
                    "items":{
                        "type":"object",
                        "properties":{
                            "name":{
                                "type":"string",
                                "example":"mychannel"
                            },
                            "chaincodes":{
                                "type":"array",
                                "items":{
                                    "type":"object",
                                    "properties":{
                                        "name":{
                                            "type":"string"
                                        },
                                        "endorsers":{
                                            "type":"array",
                                            "items":{
                                                "type":"string"
                                            }
                                        }
                                    }
                                },
                                "example":[
                                    {
                                        "name":"mycc",
                                        "endorsers":[
                                            "peer0.org1.example.com",
                                            "peer1.org1.example.com"
                                        ]
                                    }
                                ]
                            }
                        }
                    }
                }
            }
        },
        "channels":{
            "type":"array",
            "items":{
                "type":"object",
                "properties":{
                    "channelName":{
                        "type":"string"
                    },
                    "creator":{
                        "type":"string"
                    },
                    "mspIds":{
                        "type":"array",
                        "items":{
                            "type":"string"
                        }
                    }
                }
            }
        },
        "createchannel":{
            "type":"object",
            "properties":{
                "channeName":{
                    "type":"string"
                },
                "organizations":{
                    "type":"array",
                    "items":{
                        "type":"object",
                        "properties":{
                            "name":{
                                "type":"string"
                            },
                            "mspId":{
                                "type":"string"
                            },
                            "anchorPeers":{
                                "type":"array",
                                "items":{
                                    "type":"string"
                                }
                            },
                            "certs":{
                                "type":"object",
                                "properties":{
                                    "adminCert":{
                                        "type":"string"
                                    },
                                    "CACert":{
                                        "type":"string"
                                    },
                                    "tlsCACert":{
                                        "type":"string"
                                    },
                                    "intermediatecerts":{
                                        "type":"string"
                                    },
                                    "nodeouIdentifierCert":{
                                        "type":"string"
                                    },
                                    "rafttlsCACert":{
                                        "type":"string"
                                    }
                                }
                            },
                            "signature":{
                                "type":"string"
                            }
                        }
                    }
                },
                "policies":{
                    "type":"object",
                    "properties":{
                        "readers":{
                            "type":"object",
                            "properties":{
                                "mspIds":{
                                    "type":"array",
                                    "items":{
                                        "type":"string"
                                    }
                                }
                            }
                        },
                        "writers":{
                            "type":"object",
                            "properties":{
                                "mspIds":{
                                    "type":"array",
                                    "items":{
                                        "type":"string"
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "example":{
                "channelName":"mychannel",
                "organizations":[
                    {
                        "name":"Org1MSP",
                        "mspId":"Org1MSP",
                        "anchorPeers":[
                            "peer.org1.example.com:7051"
                        ],
                        "certs":{
                            "adminCert":"example",
                            "CACert":"example",
                            "tlsCACert":"example",
                            "intermediatecerts":"example",
                            "nodeouIdentifierCert":"example",
                            "rafttlsCACert":"example"
                        },
                        "signature":"example"
                    },
                    {
                        "name":"Org2MSP",
                        "mspId":"Org2MSP",
                        "anchorPeers":[
                            "peer.org2.example.com:7051"
                        ],
                        "certs":{
                            "adminCert":"example",
                            "CACert":"example",
                            "tlsCACert":"example",
                            "intermediatecerts":"example",
                            "nodeouIdentifierCert":"example",
                            "rafttlsCACert":"example"
                        },
                        "signature":"example"
                    }
                ],
                "policies":{
                    "readers":{
                        "mspIds":[
                            "Org1MSP",
                            "org2MSP"
                        ]
                    },
                    "writers":{
                        "mspIds":[
                            "Org1MSP",
                            "org2MSP"
                        ]
                    }
                }
            }
        },
        "channelinfo":{
            "type":"object",
            "properties":{
                "orgUnits":{
                    "type":"object",
                    "properties":{
                        "MSPs":{
                            "type":"array",
                            "items":{
                                "type":"object",
                                "properties":{
                                    "id":{
                                        "type":"string"
                                    }
                                }
                            }
                        },
                        "anchorpeers":{
                            "type":"array",
                            "items":{
                                "type":"string"
                            }
                        }
                    },
                    "example":{
                        "MSPs":[
                            {
                                "id":"org1MSP"
                            }
                        ],
                        "anchorpeers":[
                        ]
                    }
                },
                "ACL":{
                    "type":"object"
                }
            }
        },
        "blockInfo":{
            "type":"object",
            "properties":{
                "activity":{
                    "type":"array",
                    "items":{
                        "type":"object",
                        "example":{
                            "number":{
                                "low":"1",
                                "high":"0",
                                "unsigned":true
                            },
                            "depoly":"genesis",
                            "invoke":"0"
                        }
                    }
                },
                "detail":{
                    "type":"array",
                    "items":{
                        "type":"object"
                    }
                },
                "overview":{
                    "type":"object",
                    "example":{
                        "blocks":"2",
                        "block_speed":"0.08210181560183083",
                        "transaction_activity":"0",
                        "deployment":"0",
                        "invokes":"0"
                    }
                }
            }
        },
        "joinOSNBody":{
            "type":"object",
            "properties":{
                "orderer":{
                    "type":"string"
                }
            },
            "example":{
                "orderer":"example-org-orderer0"
            }
        },
        "removeOSNBody":{
            "type":"object",
            "properties":{
                "orderer":{
                    "type":"string"
                }
            },
            "example":{
                "orderer":"example-org-orderer0"
            }
        },
        "installChaincode":{
            "type":"object",
            "required":[
                "source",
                "peers"
            ],
            "properties":{
                "source":{
                    "type":"object",
                    "required":[
                        "content",
                        "fileName"
                    ],
                    "properties":{
                        "content":{
                            "type":"string",
                            "description":"The content should be base64 encoded string of chaincode source (.zip) or chaincode package (tar.gz)."
                        },
                        "fileName":{
                            "type":"string"
                        },
                        "isPackaged":{
                            "type":"boolean",
                            "description":"True, if the value of 'source.content' represents chaincode package (tar.gz), or false, if it represents chaincode source (.zip)."
                        }
                    }
                },
                "label":{
                    "type":"string",
                    "description":"Required when the value of 'source.content' represents the chaincode source (.zip). Not allowed when 'source.isPackaged' is true."
                },
                "type":{
                    "type":"string",
                    "enum":[
                        "golang",
                        "node",
                        "java"
                    ],
                    "description":"Required when the value of 'source.content' represents the chaincode source (.zip). Not allowed when 'source.isPackaged' is true."
                },
                "peers":{
                    "type":"array",
                    "items":{
                        "type":"object",
                        "required":[
                            "url"
                        ],
                        "properties":{
                            "url":{
                                "type":"string"
                            }
                        }
                    }
                }
            },
            "example":{
                "source":{
                    "fileName":"example_cc",
                    "content":"example chaincode code"
                },
                "label":"example",
                "type":"golang",
                "peers":[
                    {
                        "url":"grpcs://peer0.org1.example.com:7051"
                    }
                ]
            }
        },
        "blockData":{
            "type":"object",
            "properties":{
                "header":{
                    "type":"object"
                },
                "data":{
                    "type":"object"
                }
            }
        },
        "blockStatistic":{
            "type":"object",
            "properties":{
                "overview":{
                    "type":"object",
                    "properties":{
                        "blocks":{
                            "type":"number"
                        },
                        "blockSpeed":{
                            "type":"number"
                        },
                        "transactionActivity":{
                            "type":"number"
                        },
                        "deployment":{
                            "type":"number"
                        },
                        "invokes":{
                            "type":"number"
                        }
                    }
                },
                "activities":{
                    "type":"array",
                    "items":{
                        "type":"object",
                        "properties":{
                            "number":{
                                "type":"string"
                            },
                            "deploy":{
                                "type":"string"
                            },
                            "invoke":{
                                "type":"number"
                            }
                        }
                    }
                },
                "blocks":{
                    "type":"array",
                    "items":{
                        "type":"object",
                        "properties":{
                            "header":{
                                "type":"object"
                            },
                            "data":{
                                "type":"object"
                            }
                        }
                    }
                }
            }
        },
        "postChannelNewOrg":{
            "type":"object",
            "properties":{
                "organization":{
                    "type":"object",
                    "properties":{
                        "version":{
                            "type":"string"
                        },
                        "type":{
                            "type":"string"
                        },
                        "mspId":{
                            "type":"string"
                        },
                        "certs":{
                            "type":"object",
                            "properties":{
                                "adminCert":{
                                    "type":"string"
                                },
                                "CACert":{
                                    "type":"string"
                                },
                                "tlsCACert":{
                                    "type":"string"
                                },
                                "rafttlsCACert":{
                                    "type":"string"
                                },
                                "nodeouIdentifierCert":{
                                    "type":"string"
                                },
                                "intermediateCerts":{
                                    "type":"string"
                                }
                            }
                        },
                        "signature":{
                            "type":"string"
                        }
                    }
                },
                "access":{
                    "type":"string"
                }
            },
            "example":{
                "organization":{
                    "mspId":"Org1MSP",
                    "certs":{
                        "adminCert":"example",
                        "CACert":"example",
                        "tlsCACert":"example",
                        "rafttlsCACert":"example",
                        "nodeouIdentifierCert":"example",
                        "intermediateCerts":"example"
                    },
                    "signature":"example"
                },
                "access":"ReaderWriter|ReaderOnly"
            }
        },
        "chaincodeInfo":{
            "type":"object",
            "properties":{
                "peerId":{
                    "type":"string"
                },
                "chaincodes":{
                    "type":"array",
                    "items":{
                        "type":"object",
                        "properties":{
                            "label":{
                                "type":"string"
                            },
                            "package_id":{
                                "type":"string"
                            }
                        }
                    }
                }
            }
        },
        "installCCResp":{
            "type":"object",
            "properties":{
                "respMesg":{
                    "type":"string"
                },
                "package_id":{
                    "type":"string"
                }
            }
        },
        "queryChaincodeInfo":{
            "type":"object",
            "properties":{
                "sequence":{
                    "type":"string"
                },
                "version":{
                    "type":"string"
                },
                "endorsement_plugin":{
                    "type":"string"
                },
                "validation_plugin":{
                    "type":"string"
                },
                "collections":{
                    "type":"object"
                },
                "source":{
                    "type":"object"
                },
                "approvals":{
                    "type":"object"
                }
            }
        },
        "checkCommitReadinessInfo":{
            "type":"object",
            "properties":{
                "chaincodeSequence":{
                    "type":"string"
                },
                "approvals":{
                    "type":"object"
                }
            }
        },
        "StatsMetrics":{
            "type":"string",
            "example":"broadcast_enqueue_duration_bucket{channel=\\\"fochannel01\\\",status=\\\"SUCCESS\\\",type=\\\"ENDORSER_TRANSACTION\\\",le=\\\"0.005\\\"} 11"
        },
        "errorModel":{
            "type":"object",
            "required":[
                "code",
                "message"
            ],
            "properties":{
                "code":{
                    "type":"integer",
                    "format":"int32"
                },
                "message":{
                    "type":"string"
                }
            }
        },
        "200successModels":{
            "type":"object",
            "properties":{
                "key":{
                    "type":"string"
                },
                "value":{
                    "type":"string"
                }
            },
            "example":{
                "status":"success"
            }
        },
        "400errorModels":{
            "type":"object",
            "properties":{
                "key":{
                    "type":"string"
                },
                "value":{
                    "type":"string"
                }
            },
            "example":{
                "respMesg":"invalid argument"
            }
        },
        "404errorModels":{
            "type":"object",
            "properties":{
                "respMesg":{
                    "type":"string"
                }
            },
            "example":{
                "respMesg":"resource not found"
            }
        },
        "500errorModels":{
            "type":"object",
            "properties":{
                "key":{
                    "type":"string"
                },
                "value":{
                    "type":"string"
                }
            }
        },
        "setAnchorPeers":{
            "type":"object",
            "properties":{
                "anchorPeers":{
                    "type":"array",
                    "items":{
                        "type":"object",
                        "properties":{
                            "host":{
                                "type":"string"
                            },
                            "port":{
                                "type":"number"
                            }
                        }
                    }
                }
            },
            "example":{
                "anchorPeers":[
                    {
                        "host":"org1.example.com",
                        "port":"20007"
                    }
                ]
            }
        },
        "StatsNodeRes":{
            "type":"object",
            "properties":{
                "nodeId":{
                    "type":"string"
                },
                "nodeType":{
                    "type":"string"
                },
                "resUsage":{
                    "type":"object",
                    "properties":{
                        "startTime":{
                            "type":"string"
                        },
                        "endTime":{
                            "type":"string"
                        },
                        "cpu":{
                            "type":"number"
                        },
                        "memory":{
                            "type":"number"
                        },
                        "disk":{
                            "type":"number"
                        }
                    }
                }
            }
        },
        "StatsNodeHealth":{
            "type":"object",
            "properties":{
                "nodeId":{
                    "type":"string"
                },
                "nodeType":{
                    "type":"string"
                },
                "health":{
                    "type":"object",
                    "properties":{
                        "time":{
                            "type":"string"
                        },
                        "status":{
                            "type":"string"
                        }
                    }
                }
            }
        },
        "StatsChannelInfo":{
            "type":"object",
            "properties":{
                "channelName":{
                    "type":"string"
                },
                "peerNum":{
                    "type":"number"
                },
                "peers":{
                    "type":"array",
                    "items":{
                        "type":"string"
                    }
                }
            }
        },
        "StatsChannelsJoined":{
            "type":"object",
            "properties":{
                "nodeID":{
                    "type":"string"
                },
                "channelNum":{
                    "type":"number"
                },
                "channels":{
                    "type":"array",
                    "items":{
                        "type":"string"
                    }
                }
            }
        },
        "StatsChaincodeInfo":{
            "type":"object",
            "properties":{
                "ccName":{
                    "type":"string"
                },
                "ccVersion":{
                    "type":"string"
                }
            }
        },
        "StatsUserTrans":{
            "type":"object",
            "properties":{
                "nodeId":{
                    "type":"string"
                },
                "orderer":{
                    "type":"string"
                },
                "userTrans":{
                    "type":"array",
                    "items":{
                        "$ref":"#/definitions/StatsTransInfo"
                    }
                }
            }
        },
        "StatsTransInfo":{
            "type":"object",
            "properties":{
                "channelName":{
                    "type":"string"
                },
                "startTime":{
                    "type":"string"
                },
                "endTime":{
                    "type":"string"
                },
                "trans":{
                    "type":"number"
                }
            }
        },
        "StatsEndorsements":{
            "type":"object",
            "properties":{
                "nodeId":{
                    "type":"string"
                },
                "endorsements":{
                    "type":"array",
                    "items":{
                        "$ref":"#/definitions/StatsTransInfo"
                    }
                }
            }
        },
        "StatsCommits":{
            "type":"object",
            "properties":{
                "nodeId":{
                    "type":"string"
                },
                "commits":{
                    "type":"array",
                    "items":{
                        "$ref":"#/definitions/StatsTransInfo"
                    }
                }
            }
        },
        "StatsBlocks":{
            "type":"object",
            "properties":{
                "blocks":{
                    "type":"array",
                    "items":{
                        "$ref":"#/definitions/StatsTransInfo"
                    }
                }
            }
        },
        "StatsProxySyncInvocation":{
            "type":"object",
            "properties":{
                "nodeID":{
                    "type":"string"
                },
                "startTime":{
                    "type":"string"
                },
                "endTime":{
                    "type":"string"
                },
                "asyncInvocation":{
                    "type":"number"
                }
            }
        },
        "StatsProxyAsyncInvocation":{
            "type":"object",
            "properties":{
                "nodeID":{
                    "type":"string"
                },
                "startTime":{
                    "type":"string"
                },
                "endTime":{
                    "type":"string"
                },
                "asyncInvocation":{
                    "type":"number"
                }
            }
        },
        "StatsProxyConfiguredCC":{
            "type":"object",
            "properties":{
                "nodeID":{
                    "type":"string"
                },
                "configuredCCNum":{
                    "type":"number"
                },
                "configuredCC":{
                    "type":"array",
                    "items":{
                        "$ref":"#/definitions/StatsConfiguredCC"
                    }
                }
            }
        },
        "StatsConfiguredCC":{
            "type":"object",
            "properties":{
                "channelName":{
                    "type":"string"
                },
                "chaincode":{
                    "type":"string"
                },
                "endorsers":{
                    "type":"array",
                    "items":{
                        "type":"string"
                    }
                }
            }
        },
        "StatsAuditLog":{
            "type":"object",
            "properties":{
                "total":{
                    "type":"number"
                },
                "limit":{
                    "type":"number"
                },
                "offset":{
                    "type":"number"
                },
                "auditLogs":{
                    "type":"array",
                    "items":{
                        "type":"object"
                    }
                }
            }
        },
        "InstanceVersionResp":{
            "type":"object",
            "properties":{
                "version":{
                    "type":"string"
                },
                "platformVersion":{
                    "type":"string"
                },
                "adminApiVersion":{
                    "type":"string"
                }
            }
        },
        "AnyValue":{
        },
        "returnCode":{
            "type":"string",
            "enum":[
                "Success",
                "Failure"
            ]
        },
        "encode":{
            "type":"string",
            "enum":[
                "UTF-8",
                "JSON",
                "base64"
            ]
        },
        "EventSubscriptionQuery":{
            "type":"object",
            "properties":{
                "role":{
                    "description":"Which Hyperledger Fabric enrollment should be used",
                    "type":"string"
                },
                "type":{
                    "description":"Event type to subscribe to",
                    "type":"string",
                    "enum":[
                        "block",
                        "filteredblock",
                        "transaction",
                        "chaincode"
                    ]
                },
                "callbackURL":{
                    "description":"URL to callback",
                    "type":"string"
                },
                "callbackTLSCerts":{
                    "type":"object",
                    "properties":{
                        "caCert":{
                            "type":"string"
                        },
                        "clientCert":{
                            "type":"string"
                        },
                        "keyPassword":{
                            "type":"string"
                        }
                    }
                },
                "expires":{
                    "description":"Expiration of the subscription",
                    "type":"string"
                },
                "maxCallbackRetry":{
                    "description":"Maximum number of retries. Retry interval grows based on exponential backoff to a maximum of 2 minutes.",
                    "type":"integer"
                },
                "txid":{
                    "description":"ID of the transaction",
                    "type":"string"
                },
                "chaincode":{
                    "description":"Chaincode name",
                    "type":"string"
                },
                "event":{
                    "description":"Event name",
                    "type":"string"
                },
                "seek":{
                    "description":"Start postion of the event, only be used for type \"block\" and \"filteredblock\"",
                    "type":"string",
                    "enum":[
                        "oldest",
                        "newest",
                        "from"
                    ]
                },
                "block":{
                    "description":"Number of the block",
                    "type":"integer",
                    "format":"int64"
                },
                "oauth":{
                    "description":"Optionally provide details of the OAuth application, if the callback server is OAuth2 protected. Only client credential and refresh token flows are supported.",
                    "type":"object",
                    "properties":{
                        "clientID":{
                            "description":"The client ID for the OAuth application. It is required for a client credential flow and is optional for a refresh token flow.",
                            "type":"string"
                        },
                        "tokenUrl":{
                            "description":"The URL against which the call for generating an access token would be made.",
                            "type":"string"
                        },
                        "scopes":{
                            "description":"List of scopes to be associated with the token",
                            "type":"array",
                            "items":{
                                "type":"string"
                            }
                        },
                        "authInHeader":{
                            "description":"Set to true if the authorization parameters must be passed in the header.",
                            "type":"boolean"
                        }
                    }
                }
            }
        },
        "EventSubscription":{
            "type":"object",
            "required":[
                "type",
                "callbackURL"
            ],
            "properties":{
                "role":{
                    "description":"Specifies which Hyperledger Fabric enrollment should be used",
                    "type":"string"
                },
                "type":{
                    "description":"Event type to subscribe to",
                    "type":"string",
                    "enum":[
                        "block",
                        "filteredblock",
                        "transaction",
                        "chaincode"
                    ]
                },
                "callbackURL":{
                    "description":"URL to callback",
                    "type":"string"
                },
                "callbackTLSCerts":{
                    "type":"object",
                    "properties":{
                        "caCert":{
                            "type":"string"
                        },
                        "clientCert":{
                            "type":"string"
                        },
                        "keyPassword":{
                            "type":"string"
                        }
                    }
                },
                "expires":{
                    "description":"Expiration of the subscription",
                    "type":"string"
                },
                "maxCallbackRetry":{
                    "description":"Maximum number of retries. The retry interval grows based on exponential backoff to a maximum of 2 minutes.",
                    "type":"integer"
                },
                "txid":{
                    "description":"ID of the transaction",
                    "type":"string"
                },
                "chaincode":{
                    "description":"Name of the chaincode",
                    "type":"string"
                },
                "event":{
                    "description":"Name of the event",
                    "type":"string"
                },
                "seek":{
                    "description":"Start postion of the event, only be used for type \"block\" and \"filteredblock\"",
                    "type":"string",
                    "enum":[
                        "oldest",
                        "newest",
                        "from"
                    ]
                },
                "block":{
                    "description":"Number of the block",
                    "type":"integer",
                    "format":"int64"
                },
                "oauth":{
                    "description":"Optionally provide details of the OAuth application, if the callback server is OAuth2 protected. Only client credential and refresh token flows are supported.",
                    "type":"object",
                    "properties":{
                        "clientID":{
                            "description":"The client ID for the Oauth application. It is required in case of client credential flow and can be provided optionally in refresh token flow as well",
                            "type":"string"
                        },
                        "clientSecret":{
                            "description":"The client secret for the OAuth application. It is required for a client credential flow, and is optional in a refresh token flow.",
                            "type":"string"
                        },
                        "refreshToken":{
                            "description":"Generate and pass the refresh token if using a refresh token flow.",
                            "type":"string"
                        },
                        "tokenUrl":{
                            "description":"The URL against which the call for generating access token will be made.",
                            "type":"string"
                        },
                        "scopes":{
                            "description":"List of scopes to be associated with the token.",
                            "type":"array",
                            "items":{
                                "type":"string"
                            }
                        },
                        "authInHeader":{
                            "description":"Set to true if the authorization parameters have to be passed in the header.",
                            "type":"boolean"
                        }
                    }
                }
            }
        },
        "AuditLogEventSubscription":{
            "type":"object",
            "required":[
                "type",
                "callbackURL",
                "callbackTLSCerts"
            ],
            "properties":{
                "type":{
                    "description":"Audit log event type to subscribe to",
                    "type":"string",
                    "enum":[
                        "auditlog"
                    ]
                },
                "callbackURL":{
                    "description":"URL to callback",
                    "type":"string"
                },
                "callbackTLSCerts":{
                    "type":"object",
                    "properties":{
                        "caCert":{
                            "type":"string"
                        },
                        "clientCert":{
                            "type":"string"
                        },
                        "keyPassword":{
                            "type":"string"
                        }
                    }
                },
                "expires":{
                    "description":"Expiration of the subscription",
                    "type":"string"
                },
                "action":{
                    "description":"Name of auditlog action",
                    "type":"string"
                },
                "userIdentity":{
                    "description":"Name of auditlog userIdentity",
                    "type":"string"
                }
            }
        },
        "UnEventSubscription":{
            "type":"object",
            "required":[
                "subid"
            ],
            "properties":{
                "subid":{
                    "description":"ID of the subscription when successful",
                    "type":"string"
                },
                "status":{
                    "type":"string"
                },
                "errorMessage":{
                    "type":"string"
                }
            }
        },
        "customEnrollments":{
            "type":"array",
            "items":{
                "type":"string"
            }
        },
        "createCustomEnrollmentBody":{
            "type":"object",
            "required":[
                "enrollmentId"
            ],
            "properties":{
                "enrollmentId":{
                    "description":"enrollment ID",
                    "type":"string"
                },
                "attributes":{
                    "description":"Custom keys with string value attributes to be added to the enrollment certificate",
                    "type":"object",
                    "properties":{
                        "username":{
                            "description":"Special attribute to associate the default user for the enrollment",
                            "type":"string"
                        }
                    },
                    "additionalProperties":{
                        "type":"string"
                    }
                }
            },
            "example":{
                "enrollmentId":"my-custom-enrollment",
                "attributes":{
                    "username":"my_username@oracle.com",
                    "department":"operations",
                    "role":"ADMIN"
                }
            }
        },
        "customEnrollmentUsers":{
            "type":"array",
            "items":{
                "type":"string"
            }
        },
        "associateRestUserBody":{
            "type":"object",
            "required":[
                "userName"
            ],
            "properties":{
                "userName":{
                    "description":"REST client user name",
                    "type":"string"
                }
            }
        },
        "atomicTransactionLRCReq":{
            "description":"Request body for transaction to be executed as the Last Resource Commit (lrc) transaction",
            "type":"object",
            "properties":{
                "ethReq":{
                    "$ref":"#/definitions/atomicTransactionEthRequest"
                }
            }
        },
        "atomicTransactionEthRequest":{
            "description":"Request body for ethereum transaction to be executed",
            "type":"object",
            "required":[
                "url",
                "pendingTimeout"
            ],
            "properties":{
                "url":{
                    "description":"The full URL, along with the protocol and port, representing the network endpoint",
                    "type":"string"
                },
                "unsignedReq":{
                    "type":"object",
                    "required":[
                        "privateKey",
                        "toAddress",
                        "ethValue",
                        "gasLimit"
                    ],
                    "properties":{
                        "privateKey":{
                            "description":"The hex string representing the private key of the source account",
                            "type":"string"
                        },
                        "type":{
                            "description":"Select 0 to represent legacy transactions, select 2 (default) to represent EIP-1559 transactions",
                            "type":"integer"
                        },
                        "nonce":{
                            "description":"Transaction counter representing the sequence of transactions executed by the account",
                            "type":"integer"
                        },
                        "ethValue":{
                            "description":"Amount of ETH to transfer from sender to recipient in WEI",
                            "type":"string"
                        },
                        "gasTipCap":{
                            "description":"The maximum fees to be included as a tip to the validator",
                            "type":"string"
                        },
                        "gasFeeCap":{
                            "description":"Maximum fees users are willing to pay for the transaction",
                            "type":"string"
                        },
                        "gasPrice":{
                            "description":"Price in wei for each unit of gas used in the transaction",
                            "type":"string"
                        },
                        "gasLimit":{
                            "description":"The maximum amount of gas units that can be consumed by the transaction",
                            "type":"integer"
                        },
                        "toAddress":{
                            "description":"The receiving address when completing ETH transfers, or the contract address when executing smart contracts",
                            "type":"string"
                        },
                        "data":{
                            "description":"Hex input data to be used along with the transactions; used for smart contract executions",
                            "type":"string"
                        },
                        "isContractCall":{
                            "description":"Specifies if the given request is a smart contract call",
                            "type":"boolean",
                            "default":false
                        },
                        "methodName":{
                            "description":"Method name to be called in the smart contract. Required if isContractCall is set to true",
                            "type":"string"
                        },
                        "abi":{
                            "description":"Smart contract Application Binary Interface (ABI) or method ABI that is called in the smart contract. Required if isContractCall is set to true",
                            "type":"string"
                        },
                        "paramKeys":{
                            "description":"List of keys that are to be extracted from the results of the final OBP chaincode transaction and sent to the smart contract via parameters",
                            "type":"array",
                            "items":{
                                "type":"string"
                            }
                        },
                        "params":{
                            "description":"Parameters that are required by the method to be called in the smart contract. Required if isContractCall is set to true",
                            "type":"object",
                            "additionalProperties":true
                        }
                    }
                },
                "signedReq":{
                    "type":"object",
                    "required":[
                        "signedTxHex"
                    ],
                    "properties":{
                        "signedTxHex":{
                            "description":"Signed request string in hex representation",
                            "type":"string"
                        }
                    }
                },
                "finalityParams":{
                    "type":"object",
                    "properties":{
                        "checkFinality":{
                            "description":"Specifies whether transaction finality check is required for the transaction. When true, transaction is rechecked after one of blocksToWait or secondsToWait is satisfied",
                            "type":"boolean"
                        },
                        "blocksToWait":{
                            "description":"Number of blocks to wait for before a transaction is considered final",
                            "type":"integer"
                        },
                        "secondsToWait":{
                            "description":"Number of seconds to wait before a transaction is considered final",
                            "type":"integer"
                        }
                    }
                },
                "chainId":{
                    "description":"The network ID of the Ethereum network",
                    "type":"integer"
                },
                "pendingTimeout":{
                    "description":"The maximum time, in seconds, to wait if the transaction remains in pending state",
                    "type":"integer"
                }
            }
        },
        "atomicTransactionLRCResults":{
            "type":"object",
            "properties":{
                "txStatus":{
                    "description":"Current status of the LRC transaction",
                    "type":"string"
                },
                "ethResp":{
                    "$ref":"#/definitions/atomicTransactionEthResponse"
                }
            }
        },
        "atomicTransactionEthResponse":{
            "type":"object",
            "properties":{
                "block":{
                    "description":"Block number of the committed transaction",
                    "type":"integer"
                },
                "txHex":{
                    "description":"Hex string representing the transaction executed",
                    "type":"string"
                },
                "error":{
                    "description":"Error message in case of failures",
                    "type":"string"
                }
            }
        },
        "atomicTransactionInvokeReq":{
            "type":"object",
            "required":[
                "channel",
                "chaincode",
                "args"
            ],
            "properties":{
                "channel":{
                    "description":"ID of the channel to invoke the transaction",
                    "type":"string"
                },
                "chaincode":{
                    "description":"ID of the chaincode to invoke",
                    "type":"string"
                },
                "args":{
                    "description":"Arguments for the chaincode",
                    "type":"array",
                    "items":{
                        "type":"string"
                    }
                },
                "endorsers":{
                    "description":"Endorsers for the chaincode",
                    "type":"array",
                    "items":{
                        "type":"string"
                    }
                },
                "timeout":{
                    "description":"Timeout in ms for the chaincode to invoke",
                    "type":"integer",
                    "format":"int64"
                },
                "transientMap":{
                    "description":"TransientMap for the chaincode",
                    "type":"object",
                    "additionalProperties":{
                        "type":"string"
                    }
                },
                "sameOrgEndorser":{
                    "description":"Specifies if it should select endorsers of this organization only. When set to true, the endorsers field cannot be specified.",
                    "type":"boolean",
                    "default":false
                }
            }
        },
        "atomicTransactionResults":{
            "type":"object",
            "properties":{
                "transactions":{
                    "description":"Details of individual transactions processed",
                    "type":"array",
                    "items":{
                        "$ref":"#/definitions/atomicTransactionIndividualResults"
                    }
                },
                "lrc":{
                    "$ref":"#/definitions/atomicTransactionLRCResults"
                },
                "globalStatus":{
                    "description":"Current Status of the atomic transaction",
                    "type":"string"
                },
                "globalTxid":{
                    "description":"Global Transaction ID",
                    "type":"string"
                },
                "txStartTime":{
                    "description":"Transaction execution start time",
                    "type":"string"
                }
            }
        },
        "atomicTransactionIndividualResults":{
            "type":"object",
            "properties":{
                "channel":{
                    "description":"ID of the channel on which the transaction was invoked",
                    "type":"string"
                },
                "chaincode":{
                    "description":"ID of the chaincode invoked",
                    "type":"string"
                },
                "txstatus":{
                    "description":"Current status of the individual transaction",
                    "type":"string"
                },
                "prepare":{
                    "description":"Details on the prepare phase of the transaction",
                    "type":"object",
                    "properties":{
                        "txid":{
                            "description":"Transaction ID for the prepare phase",
                            "type":"string"
                        },
                        "error":{
                            "description":"Error message in case the transaction fails",
                            "type":"string"
                        }
                    }
                },
                "commit":{
                    "description":"Details on the commit phase of the transaction",
                    "type":"object",
                    "properties":{
                        "txid":{
                            "description":"Transaction ID for the commit phase",
                            "type":"string"
                        },
                        "error":{
                            "description":"Error message in case the transaction fails",
                            "type":"string"
                        }
                    }
                },
                "rollback":{
                    "description":"Details on the rollback phase of the transaction",
                    "type":"object",
                    "properties":{
                        "txid":{
                            "description":"Transaction ID for the rollback phase",
                            "type":"string"
                        },
                        "error":{
                            "description":"Error message in case the transaction fails",
                            "type":"string"
                        }
                    }
                }
            }
        },
        "BlockchainPlatformCreationDetails":{
            "type":"object",
            "required":[
                "name",
                "domainName",
                "platformRole",
                "configuration",
                "peer"
            ],
            "properties":{
                "name":{
                    "type":"string",
                    "description":"Instance name"
                },
                "desc":{
                    "type":"string",
                    "description":"Description"
                },
                "domainName":{
                    "type":"string",
                    "description":"Domain name of instance"
                },
                "platformRole":{
                    "type":"string",
                    "description":"Instance role",
                    "enum":[
                        "founder",
                        "participant"
                    ]
                },
                "configuration":{
                    "type":"string",
                    "enum":[
                        "Developer",
                        "Enterprise"
                    ],
                    "description":"Compute configuration",
                    "default":"Developer"
                },
                "peer":{
                    "type":"integer",
                    "description":"Peer number",
                    "default":"1",
                    "minimum":"1",
                    "maximum":"14"
                }
            }
        },
        "Error":{
            "description":"Error information.",
            "required":[
                "status",
                "message"
            ],
            "properties":{
                "status":{
                    "description":"A short error status that defines the error, meant for programmatic parsing.",
                    "type":"string"
                },
                "message":{
                    "description":"A human-readable error string.",
                    "type":"string"
                },
                "errors":{
                    "type":"array",
                    "description":"List of errors",
                    "items":{
                        "type":"string"
                    }
                },
                "warnings":{
                    "type":"array",
                    "description":"List of warnings",
                    "items":{
                        "type":"string"
                    }
                }
            }
        },
        "BlockchainPlatformSummaryWrapper":{
            "description":"Blockchain Platform summary list wrapper",
            "type":"object",
            "properties":{
                "instances":{
                    "description":"List of Blockchain Platform instances",
                    "type":"array",
                    "items":{
                        "$ref":"#/definitions/BlockchainPlatformSummary"
                    }
                },
                "summary":{
                    "$ref":"#/definitions/InstancesCountSummary"
                }
            }
        },
        "InstancesCountSummary":{
            "description":"Blockchain Platform instance count summary",
            "type":"object",
            "properties":{
                "instancesCount":{
                    "description":"Total number of instances",
                    "type":"integer"
                },
                "founderCount":{
                    "description":"Total number of founder instances",
                    "type":"integer"
                },
                "participantCount":{
                    "description":"Total number of participant instances",
                    "type":"integer"
                },
                "enterpriseCount":{
                    "description":"Total number of enterprise instances",
                    "type":"integer"
                },
                "developerCount":{
                    "description":"Total number of developer instances",
                    "type":"integer"
                }
            }
        },
        "BlockchainPlatformSummary":{
            "description":"Blockchain Platform summary",
            "type":"object",
            "required":[
                "id"
            ],
            "properties":{
                "id":{
                    "description":"Unique identifier that is immutable on creation",
                    "type":"string"
                },
                "displayName":{
                    "description":"Instance display name, can be renamed",
                    "type":"string"
                },
                "timeCreated":{
                    "description":"The time the the instance was created. An RFC3339 formatted datetime string",
                    "type":"string",
                    "format":"date-time"
                },
                "timeUpdated":{
                    "description":"The time the instance was updated. An RFC3339 formatted datetime string",
                    "type":"string",
                    "format":"date-time"
                },
                "createdBy":{
                    "description":"The user who created the instance",
                    "type":"string"
                },
                "createActivityId":{
                    "description":"The activity ID of the create operation that created the instance",
                    "type":"string"
                },
                "platformRole":{
                    "description":"Role of platform: Founder or Participant",
                    "type":"string",
                    "enum":[
                        "Founder",
                        "Participant"
                    ]
                },
                "configuration":{
                    "description":"Type of compute configuration: Developer or Enterprise",
                    "type":"string",
                    "enum":[
                        "Developer",
                        "Enterprise"
                    ]
                },
                "status":{
                    "type":"string",
                    "description":"Instance status",
                    "enum":[
                        "Healthy",
                        "Unhealthy",
                        "Down",
                        "Unknown",
                        "Stopped"
                    ]
                },
                "lifecycleState":{
                    "description":"The current operation state of the instance",
                    "enum":[
                        "Creating",
                        "Active",
                        "Updating",
                        "Terminating",
                        "Terminated",
                        "Starting",
                        "Stopping",
                        "Stopped",
                        "Patching",
                        "RollBack",
                        "ScalingOut",
                        "ScalingIn",
                        "Unknown",
                        "Failed"
                    ],
                    "type":"string"
                },
                "version":{
                    "description":"Instance version",
                    "type":"string"
                },
                "domainName":{
                    "description":"Instance domain name",
                    "type":"string"
                },
                "stateMessage":{
                    "description":"Instance state message",
                    "type":"string"
                },
                "serviceEndpoint":{
                    "description":"Instance data plane console endpoint",
                    "type":"string"
                },
                "statusDisplayName":{
                    "type":"string",
                    "description":"Instance status display name",
                    "enum":[
                        "Up",
                        "PartiallyUp",
                        "Down",
                        "Unknown",
                        "Stopped"
                    ]
                }
            }
        },
        "BlockchainPlatformDetails":{
            "description":"Blockchain Platform Details",
            "type":"object",
            "properties":{
                "id":{
                    "description":"Unique identifier that is immutable on creation",
                    "type":"string"
                },
                "displayName":{
                    "description":"Instance display name; can be renamed",
                    "type":"string"
                },
                "timeCreated":{
                    "description":"The time the the instance was created. A timestamp string.",
                    "type":"string",
                    "format":"date-time"
                },
                "timeUpdated":{
                    "description":"The time the instance was updated. A timestamp string.",
                    "type":"string",
                    "format":"date-time"
                },
                "createdBy":{
                    "description":"The user who created the instance",
                    "type":"string"
                },
                "createActivityId":{
                    "description":"The operation ID of the create operation that created the instance",
                    "type":"string"
                },
                "platformRole":{
                    "description":"Role of platform: Founder or Participant",
                    "type":"string",
                    "enum":[
                        "Founder",
                        "Participant"
                    ]
                },
                "configuration":{
                    "description":"Type of compute configuration: Developer or Enterprise",
                    "type":"string",
                    "enum":[
                        "Developer",
                        "Enterprise"
                    ]
                },
                "version":{
                    "description":"Instance version",
                    "type":"string"
                },
                "domainName":{
                    "description":"Instance domain name",
                    "type":"string"
                },
                "serviceEndpoint":{
                    "description":"Service endpoint URL, valid post-provisioning",
                    "type":"string"
                },
                "lifecycleState":{
                    "description":"The current operation state of the instance",
                    "enum":[
                        "Creating",
                        "Active",
                        "Updating",
                        "Terminating",
                        "Terminated",
                        "Starting",
                        "Stopping",
                        "Stopped",
                        "Patching",
                        "RollBack",
                        "ScalingOut",
                        "ScalingIn",
                        "Unknown",
                        "Failed"
                    ],
                    "type":"string"
                },
                "stateMessage":{
                    "description":"An message describing the current state in more detail. For example, can be used to provide actionable information for a resource in failed state.",
                    "type":"string"
                },
                "status":{
                    "type":"string",
                    "description":"Instance status",
                    "enum":[
                        "Healthy",
                        "Unhealthy",
                        "Down",
                        "Unknown",
                        "Stopped"
                    ]
                },
                "statusDisplayName":{
                    "type":"string",
                    "description":"Instance status display name",
                    "enum":[
                        "Up",
                        "PartiallyUp",
                        "Down",
                        "Unknown",
                        "Stopped"
                    ]
                },
                "components":{
                    "type":"array",
                    "description":"All services information",
                    "items":{
                        "$ref":"#/definitions/BlockchainPlatformComponent"
                    }
                }
            }
        },
        "BlockchainPlatformComponent":{
            "type":"object",
            "properties":{
                "name":{
                    "type":"string",
                    "description":"Node (service) name"
                },
                "type":{
                    "type":"string",
                    "enum":[
                        "ca",
                        "console",
                        "peer",
                        "orderer",
                        "hami",
                        "prometheus",
                        "authserver",
                        "restproxy"
                    ],
                    "description":"Node (service) type"
                },
                "status":{
                    "type":"string",
                    "description":"Status of each service",
                    "enum":[
                        "Pending",
                        "Provisioned",
                        "Failed",
                        "Terminated"
                    ]
                },
                "replicas":{
                    "type":"integer",
                    "description":"Node (service) replicas number"
                }
            }
        },
        "ActivityStatus":{
            "type":"object",
            "properties":{
                "instanceId":{
                    "type":"string",
                    "description":"Instance ID"
                },
                "operationId":{
                    "type":"string",
                    "description":"Operation ID"
                },
                "operation":{
                    "type":"string",
                    "description":"Operation querying",
                    "enum":[
                        "create",
                        "delete",
                        "start",
                        "stop",
                        "update",
                        "scaleout",
                        "scalein"
                    ]
                },
                "status":{
                    "type":"string",
                    "description":"Will be returned after it succeeds."
                },
                "details":{
                    "type":"string",
                    "description":"Details of the status"
                }
            }
        },
        "ScaleOutReplicaNumberDetails":{
            "type":"object",
            "description":"One node (service) number to be  added",
            "properties":{
                "proxy":{
                    "type":"integer",
                    "description":"REST proxy replicas number to add"
                },
                "CA":{
                    "type":"integer",
                    "description":"CA replicas number to add"
                }
            },
            "required":[
                "proxy",
                "CA"
            ],
            "x-or":[
                "proxy",
                "CA"
            ]
        },
        "ScaleOutPeerDetails":{
            "type":"object",
            "description":"Peer details to be added",
            "properties":{
                "org":{
                    "type":"string",
                    "description":"Organization name"
                },
                "role":{
                    "type":"string",
                    "description":"Peer role",
                    "enum":[
                        "Member",
                        "Admin"
                    ]
                },
                "logLevel":{
                    "type":"string",
                    "description":"Peer log level",
                    "enum":[
                        "PANIC",
                        "ERROR",
                        "WARNING",
                        "INFO",
                        "NOTICE",
                        "DEBUG"
                    ]
                },
                "alias":{
                    "type":"string",
                    "description":"Peer alias"
                }
            }
        },
        "ScaleOutOrdererDetails":{
            "type":"object",
            "description":"Orderer details to be added",
            "properties":{
                "org":{
                    "type":"string",
                    "description":"Organization name"
                },
                "logLevel":{
                    "type":"string",
                    "description":"Peer log level",
                    "enum":[
                        "PANIC",
                        "ERROR",
                        "WARNING",
                        "INFO",
                        "NOTICE",
                        "DEBUG"
                    ]
                }
            }
        },
        "ScaleOutPayload":{
            "type":"object",
            "description":"Scale out payload",
            "properties":{
                "newReplicas":{
                    "$ref":"#/definitions/ScaleOutReplicaNumberDetails"
                },
                "newPeer":{
                    "$ref":"#/definitions/ScaleOutPeerDetails"
                },
                "newOrderer":{
                    "$ref":"#/definitions/ScaleOutOrdererDetails"
                }
            },
            "required":[
                "newReplicas",
                "newPeer",
                "newOrderer"
            ],
            "x-or":[
                "newReplicas",
                "newPeer",
                "newOrderer"
            ]
        },
        "ScaleInNodes":{
            "type":"object",
            "description":"Scale in node details",
            "properties":{
                "peer":{
                    "type":"string",
                    "description":"peer name"
                }
            }
        },
        "ScaleInPayload":{
            "type":"object",
            "description":"Scale in payload",
            "properties":{
                "nodes":{
                    "$ref":"#/definitions/ScaleInNodes"
                }
            }
        },
        "UpdatePayload":{
            "type":"object",
            "description":"Update a Blockchain Platform instance",
            "properties":{
                "updateLDAPConfig":{
                    "type":"boolean",
                    "description":"Determines whether the instance should be updated with the active LDAP configuration."
                }
            }
        },
        "ReleaseBuildInfo":{
            "description":"Release build information",
            "type":"object",
            "properties":{
                "version":{
                    "type":"string"
                },
                "build.date":{
                    "type":"string"
                }
            }
        },
        "LdapConfigPayload":{
            "description":"LDAP Configuration details",
            "type":"object",
            "properties":{
                "ldapId":{
                    "type":"string"
                },
                "ldapName":{
                    "type":"string"
                },
                "ldapType":{
                    "type":"string"
                },
                "ldapHost":{
                    "type":"string"
                },
                "ldapPort":{
                    "type":"integer"
                },
                "ldapTLSEnabled":{
                    "type":"boolean"
                },
                "ldapBaseDN":{
                    "type":"string"
                },
                "ldapBindDN":{
                    "type":"string"
                },
                "ldapBindPassword":{
                    "type":"string"
                },
                "userNameAttribute":{
                    "type":"string"
                },
                "userClassName":{
                    "type":"string"
                },
                "groupNameAttribute":{
                    "type":"string"
                },
                "groupMembershipAttribute":{
                    "type":"string"
                },
                "groupClassName":{
                    "type":"string"
                },
                "connectTimeout":{
                    "type":"integer"
                },
                "bpmUserGroup":{
                    "type":"string",
                    "description":"Users with membership to this group can login and have full access Blockchain Platform Manager (this console) and perform life cycle operations on the Blockchain Platform instances. Required only for AD."
                },
                "caAdminGroup":{
                    "type":"string",
                    "description":"Users part of this group will have the authority to register other users. CA Administrator privilege is also needed to create a new Blockchain Platform instance. Required only for AD."
                },
                "instanceUserGroup":{
                    "type":"string",
                    "description":"Users with membership to this group can view the instances console using the UI or REST APIs. They will not be able to perform any other operations. Required only for AD."
                },
                "instanceAdminGroup":{
                    "type":"string",
                    "description":"Users with membership to this group can have full access to the instance console and perform all the operations on it using the UI or REST APIs. Required only for AD."
                },
                "restProxyGroup":{
                    "type":"string",
                    "description":"Users with membership to this group can interact with the instance using REST APIs. Required only for AD."
                },
                "backupHosts":{
                    "type":"array",
                    "description":"List of backup domain controllers for AD.",
                    "items":{
                        "type":"string"
                    }
                }
            }
        },
        "LdapConfigDetail":{
            "description":"LDAP Configuration details",
            "type":"object",
            "properties":{
                "ldapId":{
                    "type":"string"
                },
                "ldapName":{
                    "type":"string"
                },
                "ldapType":{
                    "type":"string"
                },
                "ldapHost":{
                    "type":"string"
                },
                "ldapPort":{
                    "type":"integer"
                },
                "ldapTLSEnabled":{
                    "type":"boolean"
                },
                "ldapTLSCACert":{
                    "type":"string"
                },
                "ldapBaseDN":{
                    "type":"string"
                },
                "ldapBindDN":{
                    "type":"string"
                },
                "ldapBindPassword":{
                    "type":"string"
                },
                "userNameAttribute":{
                    "type":"string"
                },
                "userClassName":{
                    "type":"string"
                },
                "groupNameAttribute":{
                    "type":"string"
                },
                "groupMembershipAttribute":{
                    "type":"string"
                },
                "groupClassName":{
                    "type":"string"
                },
                "connectTimeout":{
                    "type":"integer"
                },
                "tlsRootCACertFileName":{
                    "type":"string"
                },
                "bpmUserGroup":{
                    "type":"string",
                    "description":"Users with membership to this group can login and have full access Blockchain Platform Manager (this console) and perform life cycle operations on the Blockchain Platform instances. Required only for AD."
                },
                "caAdminGroup":{
                    "type":"string",
                    "description":"Users part of this group will have the authority to register other users. CA Administrator privilege is also needed to create a new Blockchain Platform instance. Required only for AD."
                },
                "instanceUserGroup":{
                    "type":"string",
                    "description":"Users with membership to this group can view the instances console using the UI or REST APIs. They will not be able to perform any other operations. Required only for AD."
                },
                "instanceAdminGroup":{
                    "type":"string",
                    "description":"Users with membership to this group can have full access to the instance console and perform all the operations on it using the UI or REST APIs. Required only for AD."
                },
                "restProxyGroup":{
                    "type":"string",
                    "description":"Users with membership to this group can interact with the instance using REST APIs. Required only for AD."
                },
                "backupHosts":{
                    "type":"array",
                    "description":"List of backup domain controllers for AD.",
                    "items":{
                        "type":"string"
                    }
                }
            }
        },
        "CpConfigDetail":{
            "description":"Control plane configuration details",
            "type":"object",
            "properties":{
                "cpConfigName":{
                    "type":"string"
                },
                "cpConfigValue":{
                    "type":"string"
                }
            }
        },
        "CpConfigMap":{
            "description":"Control plane configuration map",
            "type":"object",
            "properties":{
                "controlPlaneId":{
                    "type":"string",
                    "description":"Blockchain Platform Manager ID"
                },
                "activeLdapId":{
                    "type":"string",
                    "description":"Active LDAP configuration ID"
                },
                "consoleIdleTimeout":{
                    "type":"string",
                    "description":"Timeout time (in minutes) of idle control plane"
                },
                "notificationTimeout":{
                    "type":"string",
                    "description":"Timeout (in minutes) for notifications"
                }
            }
        },
        "BlockchainPlatformInstanceStatus":{
            "description":"Blockchain Platform instance status",
            "type":"object",
            "properties":{
                "instanceId":{
                    "type":"string"
                },
                "status":{
                    "type":"string"
                },
                "details":{
                    "type":"string"
                }
            }
        },
        "PostLoginAuthConfig":{
            "description":"Post-login authorization configuration map",
            "type":"object",
            "properties":{
                "ldapConfigReminderPopup":{
                    "type":"boolean"
                },
                "defaultUserDisabled":{
                    "type":"boolean"
                },
                "consoleIdleTimeout":{
                    "type":"string"
                }
            }
        },
        "BasicAuth":{
            "description":"Basic authentication",
            "type":"object",
            "properties":{
                "userName":{
                    "type":"string"
                },
                "userPassword":{
                    "type":"string"
                }
            }
        },
        "InstanceActivityInfoSummary":{
            "description":"Activities for a Blockchain Platform instance",
            "type":"object",
            "properties":{
                "activities":{
                    "description":"List activities associated with a Blockchain Platform instance",
                    "type":"array",
                    "items":{
                        "$ref":"#/definitions/ActivityInfoSummary"
                    }
                }
            }
        },
        "ActivityInfoSummary":{
            "type":"object",
            "properties":{
                "instanceId":{
                    "type":"string",
                    "description":"Platform instance ID"
                },
                "instanceName":{
                    "type":"string",
                    "description":"Name of the platform instance"
                },
                "operation":{
                    "type":"string",
                    "description":"Operation name"
                },
                "operationId":{
                    "type":"string",
                    "description":"Operation ID"
                },
                "operationStatus":{
                    "type":"string",
                    "description":"Operation status"
                },
                "operationStartTime":{
                    "type":"string",
                    "format":"date-time",
                    "description":"Time when the operation started"
                },
                "lastUpdatedTime":{
                    "type":"string",
                    "format":"date-time",
                    "description":"Most recent time when the operation status was tracked"
                },
                "initiatedBy":{
                    "type":"string",
                    "description":"User who initiated the activity"
                },
                "details":{
                    "type":"string",
                    "description":"Detailed message from the latest status of the operation"
                }
            }
        },
        "LogLevelPayload":{
            "type":"object",
            "description":"Updates the Blockchain Platform Manager log level",
            "required":[
                "level"
            ],
            "properties":{
                "level":{
                    "type":"string",
                    "enum":[
                        "INFO",
                        "DEBUG",
                        "TRACE"
                    ]
                }
            }
        },
        "LDAPUser":{
            "type":"object",
            "properties":{
                "ldapUserName":{
                    "type":"string",
                    "description":"LDAP UserName"
                },
                "ldapUserPassword":{
                    "type":"string",
                    "description":"LDAP User Password"
                }
            }
        }
    },
    "responses":{
        "400":{
            "description":"Bad request"
        },
        "401":{
            "description":"Not authorized"
        },
        "403":{
            "description":"Forbidden"
        },
        "404":{
            "description":"Invalid parameters"
        },
        "500":{
            "description":"Service unavailable"
        },
        "409":{
            "description":"Operation conflict",
            "schema":{
                "$ref":"#/definitions/Error"
            }
        },
        "412":{
            "description":"Precondition failed",
            "schema":{
                "$ref":"#/definitions/Error"
            }
        },
        "429":{
            "description":"Too many requests",
            "schema":{
                "$ref":"#/definitions/Error"
            }
        },
        "default":{
            "description":"Unknown error",
            "schema":{
                "$ref":"#/definitions/Error"
            }
        }
    },
    "parameters":{
        "BlockchainPlatformIdentifierPathParam":{
            "name":"id",
            "type":"string",
            "in":"path",
            "required":true,
            "description":"Unique platform instance identifier"
        },
        "IncludeSummaryQueryParam":{
            "name":"includeSummary",
            "in":"query",
            "type":"string",
            "enum":[
                true,
                false
            ],
            "description":"Include instances summary: true or false"
        },
        "LdapConfigIdentifierPathParam":{
            "name":"id",
            "type":"string",
            "in":"path",
            "required":true,
            "description":"Unique LDAP configuration identifier"
        },
        "CPConfigIdentifierPathParam":{
            "name":"configName",
            "type":"string",
            "in":"path",
            "required":true,
            "description":"Unique control plane configuration identifier"
        },
        "InstanceNameTextQueryParam":{
            "name":"instanceNameText",
            "in":"query",
            "type":"string",
            "description":"Instance name text to be used as search criteria"
        },
        "OperationsQueryParam":{
            "name":"operations",
            "in":"query",
            "type":"string",
            "description":"A comma-separated list of operation types for which activities are to be retrieved"
        },
        "FromDateQueryParam":{
            "name":"fromDate",
            "in":"query",
            "type":"string",
            "description":"Lower bound of date range search criteria in format yyyy-MM-dd"
        },
        "ToDateQueryParam":{
            "name":"toDate",
            "in":"query",
            "type":"string",
            "description":"Higher bound of date range search criteria in format yyyy-MM-dd"
        }
    }
}