All REST Endpoints
Application Operations
REST API for application operations
- 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/restproxy/api/v2/auditlog/event-subscriptions
- Subscribe to an Audit Log Event
- Method: postPath:
/restproxy/api/restproxy/api/v2/auditlog/event-subscriptions
- Unsubscribe from an Audit Log Event
- Method: deletePath:
/restproxy/api/restproxy/api/v2/auditlog/event-subscriptions
Application Operations/Hyperledger Fabric v1.4/Events
Use these operations to subscribe or unsubscribe to chaincode events
- List Event Subscriptions
- Method: getPath:
/restproxy/api/v2/channels/{channelId}/event-subscriptions
- Subscribe to an Event
- Method: postPath:
/restproxy/api/v2/channels/{channelId}/event-subscriptions
- Unsubscribe from an Event
- Method: deletePath:
/restproxy/api/v2/channels/{channelId}/event-subscriptions
Application Operations/Hyperledger Fabric v1.4/Transactions
Use these operations to query and invoke chaincode transactions
- Get a New Transaction ID and Nonce
- Method: getPath:
/restproxy/api/v2/channels/{channelId}/transaction-id
- Get Transaction Information
- Method: getPath:
/restproxy/api/v2/channels/{channelId}/transactions/{transactionId}
- Query a Chaincode
- Method: postPath:
/restproxy/api/v2/channels/{channelId}/chaincode-queries
- Send a Transaction
- Method: postPath:
/restproxy/api/v2/channels/{channelId}/transactions
Blockchain Network Administrative Operations/Hyperledger Fabric v1.4/Chaincode
REST API for chaincode operations
- Get Chaincode Information
- Method: getPath:
/console/admin/api/v1.1/chaincodes/{chaincodeName}
- Get Installed Chaincode List
- Method: getPath:
/console/admin/api/v1.1/chaincodes
- Install a Chaincode
- Method: postPath:
/console/admin/api/v1.1/chaincodes
- Instantiate a Chaincode
- Method: postPath:
/console/admin/api/v1.1/chaincodes/{chaincodeName}/instantiate
Blockchain Network Administrative Operations/Hyperledger Fabric v1.4/Channel
REST API for channel operations
- Add an Organization to a Channel
- Method: postPath:
/console/admin/api/v1.1/channels/{channelName}/organizations
- Add an OSN to a Channel
- Method: postPath:
/console/admin/api/v1.1/channels/{channelName}/orderers/joinOSN
- Add an OSN to the System Channel
- Method: postPath:
/console/admin/api/v1.1/channels/syschannel/addOSN
- Create a Channel
- Method: postPath:
/console/admin/api/v1.1/channels
- Get a List of Block's Data
- Method: getPath:
/console/admin/api/v1.1/channels/{channelName}/blocks
- Get Channel Block Data
- Method: getPath:
/console/admin/api/v1.1/channels/{channelName}/blocks/{blockId}
- Get Channel Information
- Method: getPath:
/console/admin/api/v1.1/channels/{channelName}
- Get Channel List
- Method: getPath:
/console/admin/api/v1.1/channels
- Get Orderer Advanced Attributes for a Channel
- Method: getPath:
/console/admin/api/v1.1/channels/{channelName}/orderingSettings
- Get the System Channel's Configuration Block
- Method: getPath:
/console/admin/api/v1.1/channels/syschannel/configblock
- Remove an Organization from a Channel
- Method: deletePath:
/console/admin/api/v1.1/channels/{channelName}/organizations/{mspId}
- Remove an OSN from a Channel
- Method: postPath:
/console/admin/api/v1.1/channels/{channelName}/orderers/removeOSN
- Set Anchor Peers for a Channel
- Method: postPath:
/console/admin/api/v1.1/channels/{channelName}/organizations/{mspId}/anchorPeers
- Update Channel Configuration (Deprecated in v19.1.3)
- Method: patchPath:
/console/admin/api/v1.1/channels/{channelName}
- Update Orderer Advanced Attributes for a Channel
- Method: patchPath:
/console/admin/api/v1.1/channels/{channelName}/orderingSettings
- Update Policies of a Channel
- Method: postPath:
/console/admin/api/v1.1/channels/{channelName}/policies
Blockchain Network Administrative Operations/Hyperledger Fabric v1.4/Nodes
REST API for nodes operations
- Associate REST Client User With a Custom Enrollment
- Method: postPath:
/console/admin/api/v1.1/nodes/restproxies/{restProxyId}/enrollments/{enrollmentId}/users
- Create Custom Enrollment for REST Proxy
- Method: postPath:
/console/admin/api/v1.1/nodes/restproxies/{restProxyId}/enrollments
- Delete Custom Enrollment for REST Proxy
- Method: deletePath:
/console/admin/api/v1.1/nodes/restproxies/{restProxyId}/enrollments/{enrollmentId}
- Download Node Logs for a Time Range
- Method: getPath:
/console/admin/api/v1.1/nodes/log
- Export Nodes (Deprecated in 20.3.1)
- Method: getPath:
/console/admin/api/v1.1/nodes/export
- Get Configuration of a CA Node
- Method: getPath:
/console/admin/api/v1.1/nodes/fabricCAs/{caId}/
- Get List of REST Client Users Associated With the Designated Custom Enrollment
- Method: getPath:
/console/admin/api/v1.1/nodes/restproxies/{restProxyId}/enrollments/{enrollmentId}/users
- Get Node List
- Method: getPath:
/console/admin/api/v1.1/nodes
- Get Orderer information
- Method: getPath:
/console/admin/api/v1.1/nodes/orderers/{ordererId}/exportOSN
- Get Orderer Node Configuration
- Method: getPath:
/console/admin/api/v1.1/nodes/orderers/{ordererId}
- Get Peer Attributes
- Method: getPath:
/console/admin/api/v1.1/nodes/peers/{peerId}
- Get Peer List
- Method: getPath:
/console/admin/api/v1.1/nodes/peers
- Get REST Proxy Node Configuration
- Method: getPath:
/console/admin/api/v1.1/nodes/restproxies/{restProxyId}
- Import Configuration Block to Orderer
- Method: postPath:
/console/admin/api/v1.1/nodes/orderers/{ordererId}/importNCB
- Import Nodes (Deprecated in 20.3.1)
- Method: postPath:
/console/admin/api/v1.1/nodes/import
- Join a Peer to a Channel
- Method: postPath:
/console/admin/api/v1.1/nodes/peers/{peerId}/joinChannel
- List Custom Enrollments for REST Proxy
- Method: getPath:
/console/admin/api/v1.1/nodes/restproxies/{restProxyId}/enrollments
- Remove Association Between REST Client User and a Custom Enrollment
- Method: deletePath:
/console/admin/api/v1.1/nodes/restproxies/{restProxyId}/enrollments/{enrollmentId}/users/{userName}
- Start a CA Node
- Method: postPath:
/console/admin/api/v1.1/nodes/fabricCAs/{caId}/start
- Start a Peer Node
- Method: postPath:
/console/admin/api/v1.1/nodes/peers/{peerId}/start
- Start a REST Proxy Node
- Method: postPath:
/console/admin/api/v1.1/nodes/restproxies/{restProxyId}/start
- Start an Orderer Node
- Method: postPath:
/console/admin/api/v1.1/nodes/orderers/{ordererId}/start
- Stop a CA Node
- Method: postPath:
/console/admin/api/v1.1/nodes/fabricCAs/{caId}/stop
- Stop a Peer
- Method: postPath:
/console/admin/api/v1.1/nodes/peers/{peerId}/stop
- Stop a REST Proxy Node
- Method: postPath:
/console/admin/api/v1.1/nodes/restproxies/{restProxyId}/stop
- Stop an Orderer Node
- Method: postPath:
/console/admin/api/v1.1/nodes/orderers/{ordererId}/stop
- Update CA Node Configuration
- Method: patchPath:
/console/admin/api/v1.1/nodes/fabricCAs/{caId}/
- Update Orderer Node Configuration
- Method: patchPath:
/console/admin/api/v1.1/nodes/orderers/{ordererId}
- Update Peer Node Configuration
- Method: patchPath:
/console/admin/api/v1.1/nodes/peers/{peerId}
- Update REST Proxy Node Configuration
- Method: patchPath:
/console/admin/api/v1.1/nodes/restproxies/{restProxyId}
- Verify Blocks
- Method: getPath:
/console/admin/api/v1.1/nodes/peers/{peerId}/blockaudit/{channelName}
Blockchain Network Administrative Operations/Hyperledger Fabric v1.4/Organizations
REST API for organizations operations
- Add Organization to Network
- Method: postPath:
/console/admin/api/v1.1/organizations/{orgName}/joinNewOrgs
- Download Connection Profile
- Method: getPath:
/console/admin/api/v1.1/organizations/{orgName}/connectionProfile/{zip}
- Get All Organizations
- Method: getPath:
/console/admin/api/v1.1/organizations
- Get Orderer Service Settings
- Method: getPath:
/console/admin/api/v1.1/organizations/{orgName}/orderingService
- Get Organization Admin Credentials
- Method: getPath:
/console/admin/api/v1.1/organizations/{orgName}/adminCredentials
- Get Organization Certificates
- Method: getPath:
/console/admin/api/v1.1/organizations/{orgName}/certificates
- Set Orderer Service for an Organization
- Method: postPath:
/console/admin/api/v1.1/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 v1.4
REST API for Hyperledger Fabric v1.4 statistics operations
- Get Audit Log Information
- Method: getPath:
/console/admin/api/v1.1/dashboard/statistics/auditlog
- Get Current Channels and Peers Joined on Each Channel
- Method: getPath:
/console/admin/api/v1.1/dashboard/statistics/channelInfo
- Get Current Number and List of Channels Joined by the Specified Peer
- Method: getPath:
/console/admin/api/v1.1/dashboard/statistics/channelsJoined
- Get the Current Number and List of Installed Chaincodes on the Specified Peer
- Method: getPath:
/console/admin/api/v1.1/dashboard/statistics/chaincodeInstalled
- Get the Current Number of Instantiated Chaincodes on the Specified Channel
- Method: getPath:
/console/admin/api/v1.1/dashboard/statistics/chaincodeInstantiated
- Get the List of Configured Chaincodes (Deprecated in 20.3.1)
- Method: getPath:
/console/admin/api/v1.1/dashboard/statistics/proxyConfiguredCC
- Get the Native Fabric Metrics for Peer or Orderer
- Method: getPath:
/console/admin/api/v1.1/dashboard/statistics/metrics
- Get the Node Health Status
- Method: getPath:
/console/admin/api/v1.1/dashboard/Statistics/nodeHealth
- Get the Node Usage Related Metrics
- Method: getPath:
/console/admin/api/v1.1/dashboard/statistics/nodeRes
- Get the Number of Asynchronous Invocations
- Method: getPath:
/console/admin/api/v1.1/dashboard/statistics/proxyAsyncInvocation
- Get the Number of Billable Transactions
- Method: getPath:
/console/admin/api/v1.1/dashboard/statistics/billableTrans
- Get the Number of Blocks
- Method: getPath:
/console/admin/api/v1.1/dashboard/statistics/blocks
- Get the Number of Commits
- Method: getPath:
/console/admin/api/v1.1/dashboard/statistics/commits
- Get the Number of Endorsements
- Method: getPath:
/console/admin/api/v1.1/dashboard/statistics/endorsements
- Get the Number of Synchronous Invocations
- Method: getPath:
/console/admin/api/v1.1/dashboard/statistics/proxySyncInvocation
- Get the Number of User Transactions for Peer, Channel, or Network
- Method: getPath:
/console/admin/api/v1.1/dashboard/statistics/userTrans