New, Changed and Deprecated APIs
This page describes the resource paths and endpoints that are new, changed, or deprecated from previous releases.
This document is specific to Oracle Blockchain Platform REST APIs on Hyperledger Fabric v2.5 or later. If you're using Oracle Blochain Platform Enterprise Edition v21.1 or earlier, your platform is using Hyperledger Fabric v1.4; refer to REST API for Oracle Blockchain Platform Enterprise Edition v21.1.
Which Resource Paths and Endpoints Were Added or Modified
Although most of the existing APIs have a new Hyperledger Fabric v2.5 equivalent, there is not a 1:1 match. Some APIs are unique to each version of Hyperledger Fabric, and some have different parameters for each release.
These resource paths and endpoints were modified from earlier Oracle Blockchain Platform releases or may have slightly different functionality in this release.
Endpoints | Resource Paths | Functional Changes | |
---|---|---|---|
Application Operations | |||
Versions |
|
New in 24.1, you can query the Oracle Blockchain Platform, Hyperledger Fabric and admin API versions. |
|
Audit Log Events |
Hyperledger Fabric v2.5 base path
|
New in 24.1, you can retrieve audit log information from a REST API endpoint. The audit log is a record of administrative console activity, including actions related to channels, organizations, nodes, and chaincode. | |
Atomic Transactions |
Hyperledger Fabric v2.5 base path
|
New in 24.1:
|
|
Events |
Hyperledger Fabric v1.4 base path
Hyperledger Fabric v2.5 base path
|
All other endpoints continue to function as they did in earlier releases, but with the new basepath. New in 24.1:
|
|
Transactions |
Hyperledger Fabric v1.4 base path
Hyperledger Fabric v2.5 base path
|
New in Fabric v2.5, when sending a transaction, you can now optionally specify if it's an initialization request by using the All other endpoints continue to function as they did in earlier releases, but with the new basepath. Two new endpoints specific to asynchronous transactions have been added:
|
|
Blockchain Network Administrative Operations |
All blockchain network administrative operations have been updated from v1.1 to v2. All endpoints will use this new basepath. |
||
Chaincode |
Hyperledger Fabric v1.4 APIs with the base path:
|
The chaincode lifecycle is different between Hyperledger Fabric v1.4 and v2.5. Thus the available endpoints, their parameters and functionality are new in Hyperledger Fabric v2.5. Closely read the documentation for the new lifecycle before migrating your REST API calls to the new platform level.
New in 24.1, you can delete an installed chaincode package to free up storage space in your instance. |
|
Channel |
Hyperledger Fabric v1.4 base path
|
New endpoints in Hyperledger Fabric v2.5
All other channel endpoints continue to function as they did in earlier releases, but with the new basepath. |
|
Nodes |
Hyperledger Fabric v1.4 base path
|
Modified endpoints in Hyperledger Fabric v2.5
All other node endpoints continue to function as they did in earlier releases, but with the new basepath. |
|
Organizations |
Hyperledger Fabric v1.4 base path
|
All organization endpoints continue to function as they did in earlier releases, but with the new basepath. |
|
Blockchain Platform Administrative Operations | |||
Configuration | Oracle Blockchain Platform 21.1 and 24.1 base paths
|
There are two new configuration endpoints:
|
|
Platform | Oracle Blockchain Platform 21.1 and 24.1 base paths
|
These APIs have not changed between Oracle Blockchain Platform 21.1 and 24.1, however endpoints for the load balancer, HSM, and patching are not available in 24.1. |
|
Statistics |
Hyperledger Fabric v1.4 base path
|
Deprecated endpoints in Hyperledger Fabric v2.5
Due to the change in chaincode lifecycle between Hyperledger Fabric versions, any statistics pertaining to the earlier version's lifecycle are deprecated once you migrate your platform to the new version. All non-deprecated endpoints continue to function as they did in earlier releases, but with the new basepath. |
Which Resource Paths and Endpoints are Deprecated
These resource paths and endpoints are deprecated.
Endpoints | Deprecated in Release Version | Resource Path | Additional Information |
---|---|---|---|
Blockchain Network Administrative Operations | Hyperledger Fabric v2.x |
|
Due to the change in chaincode lifecycle between Hyperledger Fabric versions, any administrative operations pertaining to the earlier version's lifecycle are deprecated once you migrate your platform to the new version. Note that these will still work if you have not yet migrated to Hyperledger Fabic v2.2. |
Statistics | Hyperledger Fabric v2.x |
|
Due to the change in chaincode lifecycle between Hyperledger Fabric versions, any statistics pertaining to the earlier version's lifecycle are deprecated once you migrate your platform to the new version. Note that these will still work if you have not yet migrated to Hyperledger Fabic v2.2. |
Note:
- The deprecated resource path and endpoints will become obsolete in the release listed. This means when you create a founder instance using that version or upgrade an existing instance, you will no longer be able to use these endpoints.
- It is recommended that you migrate your applications to use the new paths and endpoints at your earliest convenience. This will minimize any disruption in the future when the deprecated URL structures are no longer supported.