Minimalistic and Reusable REST API Design pattern for Hyperledger fabric Applications
REST API Design pattern for Hyperledger fabric. API code is reusable and fixed irrespective of Application size. Chaincode function can be passed as argument to API. So, no need to create separate routes for chaincode functions.
- Connection Profile Name and location
- Channel name
- Chaincode Name
Query or body parameters should be passed as the order defined in chaincode function. First argument must be function name to call..