All REST Endpoints
Application Operations
REST API for administrative operations
- Get Version of Blockchain Platform, Hyperledger Fabric and Admin API
- Method: getPath:
/console/admin/api/instanceVersion - Get Version of REST Proxy API
- Method: getPath:
/restproxy/api/version
Application Operations/Audit Log Events
Use these operations to subscribe or unsubscribe to audit log events.
- List Audit Log Event Subscriptions
- Method: getPath:
/restproxy/api/v2/auditlog/event-subscriptions - Subscribe to an Audit Log Event
- Method: postPath:
/restproxy/api/v2/auditlog/event-subscriptions - Unsubscribe from an Audit Log Event
- Method: deletePath:
/restproxy/api/v2/auditlog/event-subscriptions
Application Operations/Hyperledger Fabric v2.5/Atomic Transactions
Use these operations to query and invoke chaincode transactions spanning multiple channels which are committed atomically.
- Invoke Atomic Transaction
- Method: postPath:
/restproxy/api/v2/atomicTransactions - Query Atomic Transaction
- Method: getPath:
/restproxy/api/v2/atomicTransactions/{globalTransactionId} - Unlock Atomic Transaction
- Method: putPath:
/restproxy/api/v2/atomicTransactions/{globalTransactionId}
Application Operations/Hyperledger Fabric v2.5/Events
Use these operations to subscribe or unsubscribe to chaincode events
- List Event Subscriptions
- Method: getPath:
/restproxy/api/v2/channels/{channelName}/event-subscriptions - Subscribe to an Event
- Method: postPath:
/restproxy/api/v2/channels/{channelName}/event-subscriptions - Unsubscribe from an Event
- Method: deletePath:
/restproxy/api/v2/channels/{channelName}/event-subscriptions
Application Operations/Hyperledger Fabric v2.5/Transactions
Use these operations to query and invoke chaincode transactions
- Delete Transaction Scheduler
- Method: deletePath:
/restproxy/api/v2/channels/{channelName}/scheduleTransactions/{schedulerID} - Get a New Transaction ID and Nonce
- Method: getPath:
/restproxy/api/v2/channels/{channelName}/transaction-id - Get Response of an Async Transaction
- Method: getPath:
/restproxy/api/v2/channels/{channelName}/transactions/async/{trackingID} - Get Transaction Information
- Method: getPath:
/restproxy/api/v2/channels/{channelName}/transactions/{transactionId} - Get Transaction Scheduler Details
- Method: getPath:
/restproxy/api/v2/channels/{channelName}/scheduleTransactions - Query a Chaincode
- Method: postPath:
/restproxy/api/v2/channels/{channelName}/chaincode-queries - Schedule Transaction to Run
- Method: postPath:
/restproxy/api/v2/channels/{channelName}/scheduleTransactions - Send a Transaction
- Method: postPath:
/restproxy/api/v2/channels/{channelName}/transactions - Send an Async Transaction
- Method: postPath:
/restproxy/api/v2/channels/{channelName}/transactions/async
Blockchain Network Administrative Operations/Hyperledger Fabric v2.5/Chaincode
Rest API for chaincode operation
- Delete Installed Chaincode Package
- Method: deletePath:
/console/admin/api/v2/chaincodes/{packageID} - Get Chaincode Package from Peer
- Method: getPath:
/console/admin/api/v2/chaincodes/{packageID} - Get Installed Chaincode List
- Method: getPath:
/console/admin/api/v2/chaincodes - Install a Chaincode
- Method: postPath:
/console/admin/api/v2/chaincodes
Blockchain Network Administrative Operations/Hyperledger Fabric v2.5/Channel
Rest API for channel operation
- Add an Organization to a Channel
- Method: postPath:
/console/admin/api/v2/channels/{channelName}/organizations - Add an OSN to a Channel
- Method: postPath:
/console/admin/api/v2/channels/{channelName}/orderers/joinOSN - Add an OSN to the System Channel
- Method: postPath:
/console/admin/api/v2/channels/syschannel/addOSN - Approve a Chaincode Definition in a Channel
- Method: postPath:
/console/admin/api/v2/channels/{channelName}/chaincodeDefinitions/approve - Check Commit Readiness
- Method: postPath:
/console/admin/api/v2/channels/{channelName}/chaincodeDefinitions/checkCommitReadiness - Commit a Chaincode Definition in a Channel
- Method: postPath:
/console/admin/api/v2/channels/{channelName}/chaincodeDefinitions/commit - Create a Channel
- Method: postPath:
/console/admin/api/v2/channels - Get a List of Block's Data
- Method: getPath:
/console/admin/api/v2/channels/{channelName}/blocks - Get Channel Block Data
- Method: getPath:
/console/admin/api/v2/channels/{channelName}/blocks/{blockId} - Get Channel Information
- Method: getPath:
/console/admin/api/v2/channels/{channelName} - Get Channel List
- Method: getPath:
/console/admin/api/v2/channels - Get Orderer Advanced Attributes for a Channel
- Method: getPath:
/console/admin/api/v2/channels/{channelName}/orderingSettings - Get the System Channel's Configuration Block
- Method: getPath:
/console/admin/api/v2/channels/syschannel/configblock - Query Chaincode Definition in a Channel
- Method: getPath:
/console/admin/api/v2/channels/{channelName}/chaincodeDefinitions - Remove an Organization from a Channel
- Method: deletePath:
/console/admin/api/v2/channels/{channelName}/organizations/{mspId} - Remove an OSN from a Channel
- Method: postPath:
/console/admin/api/v2/channels/{channelName}/orderers/removeOSN - Set Anchor Peers for a Channel
- Method: postPath:
/console/admin/api/v2/channels/{channelName}/organizations/{mspId}/anchorPeers - Update Orderer Advanced Attributes for a Channel
- Method: patchPath:
/console/admin/api/v2/channels/{channelName}/orderingSettings - Update Policies of a Channel
- Method: postPath:
/console/admin/api/v2/channels/{channelName}/policies
Blockchain Network Administrative Operations/Hyperledger Fabric v2.5/Nodes
Rest API for nodes operation
- Associate REST Client User With a Custom Enrollment
- Method: postPath:
/console/admin/api/v2/nodes/restproxies/{restProxyId}/enrollments/{enrollmentId}/users - Create Custom Enrollment for REST Proxy
- Method: postPath:
/console/admin/api/v2/nodes/restproxies/{restProxyId}/enrollments - Delete Custom Enrollment for REST Proxy
- Method: deletePath:
/console/admin/api/v2/nodes/restproxies/{restProxyId}/enrollments/{enrollmentId} - Download Node Logs for a Time Range
- Method: getPath:
/console/admin/api/v2/nodes/log - Get Configuration of a CA Node
- Method: getPath:
/console/admin/api/v2/nodes/fabricCAs/{caId}/ - Get List of REST Client Users Associated with the Custom Enrollment
- Method: getPath:
/console/admin/api/v2/nodes/restproxies/{restProxyId}/enrollments/{enrollmentId}/users - Get Node List
- Method: getPath:
/console/admin/api/v2/nodes - Get Orderer information
- Method: getPath:
/console/admin/api/v2/nodes/orderers/{ordererId}/exportOSN - Get Orderer Node Configuration
- Method: getPath:
/console/admin/api/v2/nodes/orderers/{ordererId} - Get Peer Attributes
- Method: getPath:
/console/admin/api/v2/nodes/peers/{peerId} - Get Peer List
- Method: getPath:
/console/admin/api/v2/nodes/peers - Get REST Proxy Node Configuration
- Method: getPath:
/console/admin/api/v2/nodes/restproxies/{restProxyId} - Import Configuration Block to Orderer
- Method: postPath:
/console/admin/api/v2/nodes/orderers/{ordererId}/importNCB - Join a Peer to a Channel
- Method: postPath:
/console/admin/api/v2/nodes/peers/{peerId}/joinChannel - List Custom Enrollments for REST Proxy
- Method: getPath:
/console/admin/api/v2/nodes/restproxies/{restProxyId}/enrollments - Remove Association Between REST Client User and a Custom Enrollment
- Method: deletePath:
/console/admin/api/v2/nodes/restproxies/{restProxyId}/enrollments/{enrollmentId}/users/{userName} - Start a CA node
- Method: postPath:
/console/admin/api/v2/nodes/fabricCAs/{caId}/start - Start a Peer Node
- Method: postPath:
/console/admin/api/v2/nodes/peers/{peerId}/start - Start a REST Proxy Node
- Method: postPath:
/console/admin/api/v2/nodes/restproxies/{restProxyId}/start - Start an Orderer Node
- Method: postPath:
/console/admin/api/v2/nodes/orderers/{ordererId}/start - Stop a CA node
- Method: postPath:
/console/admin/api/v2/nodes/fabricCAs/{caId}/stop - Stop a Peer
- Method: postPath:
/console/admin/api/v2/nodes/peers/{peerId}/stop - Stop a REST Proxy Node
- Method: postPath:
/console/admin/api/v2/nodes/restproxies/{restProxyId}/stop - Stop an Orderer Node
- Method: postPath:
/console/admin/api/v2/nodes/orderers/{ordererId}/stop - Update CA Node Configuration
- Method: patchPath:
/console/admin/api/v2/nodes/fabricCAs/{caId}/ - Update Orderer Node Configuration
- Method: patchPath:
/console/admin/api/v2/nodes/orderers/{ordererId} - Update Peer Node Configuration
- Method: patchPath:
/console/admin/api/v2/nodes/peers/{peerId} - Update REST Proxy Node Configuration
- Method: patchPath:
/console/admin/api/v2/nodes/restproxies/{restProxyId} - Verify Blocks
- Method: getPath:
/console/admin/api/v2/nodes/peers/{peerId}/blockaudit/{channelName}
Blockchain Network Administrative Operations/Hyperledger Fabric v2.5/Organizations
Rest API for organizations operation
- Add Organization to Network
- Method: postPath:
/console/admin/api/v2/organizations/{orgName}/joinNewOrgs - Download Connection Profile
- Method: getPath:
/console/admin/api/v2/organizations/{orgName}/connectionProfile/{zip} - Get All Organizations
- Method: getPath:
/console/admin/api/v2/organizations - Get Orderer Service Settings
- Method: getPath:
/console/admin/api/v2/organizations/{orgName}/orderingService - Get Organization Admin Credentials
- Method: getPath:
/console/admin/api/v2/organizations/{orgName}/adminCredentials - Get Organization Certificates
- Method: getPath:
/console/admin/api/v2/organizations/{orgName}/certificates - Set Orderer Service for an Organization
- Method: postPath:
/console/admin/api/v2/organizations/{orgName}/setOrderingService
Blockchain Platform Administrative Operations
The operations from the Blockchain Platform Administrative Operations category.
- Change Blockchain Platform Compartment
- Method: postPath:
/20191010/blockchainPlatforms/{blockchainPlatformId}/actions/changeCompartment - Create a New Blockchain Platform
- Method: postPath:
/20191010/blockchainPlatforms - Create Blockchain Platform OSN
- Method: postPath:
/20191010/blockchainPlatforms/{blockchainPlatformId}/osns - Create Blockchain Platform Peer
- Method: postPath:
/20191010/blockchainPlatforms/{blockchainPlatformId}/peers - Delete a Blockchain Platform
- Method: deletePath:
/20191010/blockchainPlatforms/{blockchainPlatformId} - Delete Blockchain Platform OSN
- Method: deletePath:
/20191010/blockchainPlatforms/{blockchainPlatformId}/osns/{osnId} - Delete Blockchain Platform Peer
- Method: deletePath:
/20191010/blockchainPlatforms/{blockchainPlatformId}/peers/{peerId} - Delete Work Request
- Method: deletePath:
/20191010/workRequests/{workRequestId} - Get Blockchain Platform Information
- Method: getPath:
/20191010/blockchainPlatforms/{blockchainPlatformId} - Get Blockchain Platform OSN
- Method: getPath:
/20191010/blockchainPlatforms/{blockchainPlatformId}/osns/{osnId} - Get Blockchain Platform Peer
- Method: getPath:
/20191010/blockchainPlatforms/{blockchainPlatformId}/peers/{peerId} - Get Work Request Status
- Method: getPath:
/20191010/workRequests/{workRequestId} - List Blockchain Platform OSNs
- Method: getPath:
/20191010/blockchainPlatforms/{blockchainPlatformId}/osns - List Blockchain Platform Peers
- Method: getPath:
/20191010/blockchainPlatforms/{blockchainPlatformId}/peers - List Blockchain Platforms
- Method: getPath:
/20191010/blockchainPlatforms - List BlockchainPlatform Patches
- Method: getPath:
/20191010/blockchainPlatforms/{blockchainPlatformId}/patches - List Work Request Logs
- Method: getPath:
/20191010/workRequests/{workRequestId}/logs - List Work Requests
- Method: getPath:
/20191010/workRequests - Lists Work Request Errors
- Method: getPath:
/20191010/workRequests/{workRequestId}/errors - Preview Scale Blockchain Platform
- Method: postPath:
/20191010/blockchainPlatforms/{blockchainPlatformId}/actions/scale/preview - Scale Blockchain Platform
- Method: postPath:
/20191010/blockchainPlatforms/{blockchainPlatformId}/actions/scale - Start a Blockchain Platform
- Method: postPath:
/20191010/blockchainPlatforms/{blockchainPlatformId}/actions/start - Stop Blockchain Platform
- Method: postPath:
/20191010/blockchainPlatforms/{blockchainPlatformId}/actions/stop - Update Blockchain Platform
- Method: putPath:
/20191010/blockchainPlatforms/{blockchainPlatformId} - Update Blockchain Platform OSN
- Method: putPath:
/20191010/blockchainPlatforms/{blockchainPlatformId}/osns/{osnId} - Update Blockchain Platform Peer
- Method: putPath:
/20191010/blockchainPlatforms/{blockchainPlatformId}/peers/{peerId} - Upgrade the Blockchain Platform version
- Method: postPath:
/20191010/blockchainPlatforms/{blockchainPlatformId}/actions/upgrade
Statistics/Hyperledger Fabric v2.5
REST API for Hyperledger Fabric v2.5 statistics operations
- Get Audit Log Information
- Method: getPath:
/console/admin/api/v2/dashboard/statistics/auditlog - Get Current Channels and Peers Joined on Each Channel
- Method: getPath:
/console/admin/api/v2/dashboard/statistics/channelInfo - Get Current Number and List of Channels Joined by the Specified Peer
- Method: getPath:
/console/admin/api/v2/dashboard/statistics/channelsJoined - Get the Native Fabric Metrics for Peer or Orderer
- Method: getPath:
/console/admin/api/v2/dashboard/statistics/metrics - Get the Node Health Status
- Method: getPath:
/console/admin/api/v2/dashboard/statistics/nodeHealth - Get the Node Usage Related Metrics
- Method: getPath:
/console/admin/api/v2/dashboard/statistics/nodeRes - Get the Number of Asynchronous Invocations
- Method: getPath:
/console/admin/api/v2/dashboard/statistics/proxyAsyncInvocation - Get the Number of Blocks
- Method: getPath:
/console/admin/api/v2/dashboard/statistics/blocks - Get the Number of Commits
- Method: getPath:
/console/admin/api/v2/dashboard/statistics/commits - Get the Number of Endorsements
- Method: getPath:
/console/admin/api/v2/dashboard/statistics/endorsements - Get the Number of Synchronous Invocations
- Method: getPath:
/console/admin/api/v2/dashboard/statistics/proxySyncInvocation - Get the Number of User Transactions for Peer, Channel, or Network
- Method: getPath:
/console/admin/api/v2/dashboard/statistics/userTrans