すべてのRESTエンドポイント
アプリケーション操作
管理操作用のREST API
- Blockchain Platform、Hyperledger Fabricおよび管理APIのバージョンの取得
- メソッド: getパス:
/console/admin/api/instanceVersion
- RESTプロキシAPIのバージョンの取得
- メソッド: getパス:
/restproxy/api/version
アプリケーション操作/アトミック・トランザクション
これらの操作を使用して、アトミックにコミットされる複数のチャネルにわたるチェーンコード・トランザクションの問合せおよび呼出しを行います。
- アトミック・トランザクションの呼出し
- メソッド: postパス:
/restproxy/api/v2/atomicTransactions
- アトミック・トランザクションの問合せ
- メソッド: getパス:
/restproxy/api/v2/atomicTransactions/{globalTransactionId}
- アトミック・トランザクションのロック解除
- メソッド: putパス:
/restproxy/api/v2/atomicTransactions/{globalTransactionId}
アプリケーション操作/監査ログ・イベント
「アプリケーション操作/監査ログ・イベント」カテゴリの操作。
- 監査ログ・イベント・サブスクリプションのリスト
- メソッド: getパス:
/restproxy/api/v2/auditlog/event-subscriptions
- 監査ログ・イベントのサブスクライブ
- メソッド: postパス:
/restproxy/api/v2/auditlog/event-subscriptions
- 監査ログ・イベントからのサブスクライブ解除
- メソッド: deleteパス:
/restproxy/api/v2/auditlog/event-subscriptions
アプリケーション操作/イベント
次の操作を使用してチェーンコード・イベントのサブスクライブまたはサブスクライブ解除を行います。
- イベント・サブスクリプションのリスト
- メソッド: getパス:
/restproxy/api/v2/channels/{channelName}/event-subscriptions
- イベントのサブスクライブ
- メソッド: postパス:
/restproxy/api/v2/channels/{channelName}/event-subscriptions
- イベントからのサブスクライブ解除
- メソッド: deleteパス:
/restproxy/api/v2/channels/{channelName}/event-subscriptions
アプリケーション操作/トランザクション
次の操作を使用してチェーンコード・トランザクションの問合せおよび呼出しを行います。
- 新規トランザクションIDおよびnonceの取得
- メソッド: getパス:
/restproxy/api/v2/channels/{channelName}/transaction-id
- 非同期トランザクションのレスポンスの取得
- メソッド: getパス:
/restproxy/api/v2/channels/{channelName}/transactions/async/{trackingID}
- トランザクション情報の取得
- メソッド: getパス:
/restproxy/api/v2/channels/{channelName}/transactions/{transactionId}
- チェーンコードの問合せ
- メソッド: postパス:
/restproxy/api/v2/channels/{channelName}/chaincode-queries
- トランザクションの送信
- メソッド: postパス:
/restproxy/api/v2/channels/{channelName}/transactions
- 非同期トランザクションの送信
- メソッド: postパス:
/restproxy/api/v2/channels/{channelName}/transactions/async
ブロックチェーン・ネットワーク管理操作/チェーンコード
チェーンコードの操作用のREST API
- インストールされているチェーンコード・パッケージの削除
- メソッド: deleteパス:
/console/admin/api/v2/chaincodes/{packageID}
- ピアからのチェーンコード・パッケージの取得
- メソッド: getパス:
/console/admin/api/v2/chaincodes/{packageID}
- インストールされているチェーンコードのリストの取得
- メソッド: getパス:
/console/admin/api/v2/chaincodes
- チェーンコードのインストール
- メソッド: postパス:
/console/admin/api/v2/chaincodes
ブロックチェーン・ネットワーク管理操作/チャネル
チャネルの操作用のREST API
- チャネルへのOSNの追加
- メソッド: postパス:
/console/admin/api/v2/channels/{channelName}/orderers/joinOSN
- システム・チャネルへのOSNの追加
- メソッド: postパス:
/console/admin/api/v2/channels/syschannel/addOSN
- チャネルへの組織の追加
- メソッド: postパス:
/console/admin/api/v2/channels/{channelName}/organizations
- チャネルでのチェーンコード定義の承認
- メソッド: postパス:
/console/admin/api/v2/channels/{channelName}/chaincodeDefinitions/approve
- コミット準備状況の確認
- メソッド: postパス:
/console/admin/api/v2/channels/{channelName}/chaincodeDefinitions/checkCommitReadiness
- チャネルでのチェーンコード定義のコミット
- メソッド: postパス:
/console/admin/api/v2/channels/{channelName}/chaincodeDefinitions/commit
- チャネルの作成
- メソッド: postパス:
/console/admin/api/v2/channels
- ブロックのデータのリストの取得
- メソッド: getパス:
/console/admin/api/v2/channels/{channelName}/blocks
- チャネル・ブロック・データの取得
- メソッド: getパス:
/console/admin/api/v2/channels/{channelName}/blocks/{blockId}
- チャネル情報の取得
- メソッド: getパス:
/console/admin/api/v2/channels/{channelName}
- チャネル・リストの取得
- メソッド: getパス:
/console/admin/api/v2/channels
- チャネルのオーダラの属性の取得
- メソッド: getパス:
/console/admin/api/v2/channels/{channelName}/orderingSettings
- システム・チャネルの構成ブロックの取得
- メソッド: getパス:
/console/admin/api/v2/channels/syschannel/configblock
- チャネルでのチェーンコード定義の問合せ
- メソッド: getパス:
/console/admin/api/v2/channels/{channelName}/chaincodeDefinitions
- チャネルからのOSNの削除
- メソッド: postパス:
/console/admin/api/v2/channels/{channelName}/orderers/removeOSN
- チャネルからの組織の削除
- メソッド: deleteパス:
/console/admin/api/v2/channels/{channelName}/organizations/{mspId}
- チャネルのアンカー・ピアの設定
- メソッド: postパス:
/console/admin/api/v2/channels/{channelName}/organizations/{mspId}/anchorPeers
- チャネルのオーダラの拡張属性の更新
- メソッド: patchパス:
/console/admin/api/v2/channels/{channelName}/orderingSettings
- チャネルのポリシーの更新
- メソッド: postパス:
/console/admin/api/v2/channels/{channelName}/policies
ブロックチェーン・ネットワーク管理操作/ノード
ノードの操作用のREST API
- RESTクライアント・ユーザーとカスタム登録の関連付け
- メソッド: postパス:
/console/admin/api/v2/nodes/restproxies/{restProxyId}/enrollments/{enrollmentId}/users
- RESTプロキシのカスタム登録の作成
- メソッド: postパス:
/console/admin/api/v2/nodes/restproxies/{restProxyId}/enrollments
- RESTプロキシのカスタム登録の削除
- メソッド: deleteパス:
/console/admin/api/v2/nodes/restproxies/{restProxyId}/enrollments/{enrollmentId}
- CAノードの構成の取得
- メソッド: getパス:
/console/admin/api/v2/nodes/fabricCAs/{caId}/
- カスタム登録に関連付けられたRESTクライアント・ユーザーのリストの取得
- メソッド: getパス:
/console/admin/api/v2/nodes/restproxies/{restProxyId}/enrollments/{enrollmentId}/users
- ノード・リストの取得
- メソッド: getパス:
/console/admin/api/v2/nodes
- オーダラ情報の取得
- メソッド: getパス:
/console/admin/api/v2/nodes/orderers/{ordererId}/exportOSN
- オーダラ・ノードの構成の取得
- メソッド: getパス:
/console/admin/api/v2/nodes/orderers/{ordererId}
- ピアの属性の取得
- メソッド: getパス:
/console/admin/api/v2/nodes/peers/{peerId}
- ピア・リストの取得
- メソッド: getパス:
/console/admin/api/v2/nodes/peers
- RESTプロキシ・ノードの構成の取得
- メソッド: getパス:
/console/admin/api/v2/nodes/restproxies/{restProxyId}
- オーダラへの構成ブロックのインポート
- メソッド: postパス:
/console/admin/api/v2/nodes/orderers/{ordererId}/importNCB
- チャネルへのピアの参加
- メソッド: postパス:
/console/admin/api/v2/nodes/peers/{peerId}/joinChannel
- RESTプロキシのカスタム登録のリスト
- メソッド: getパス:
/console/admin/api/v2/nodes/restproxies/{restProxyId}/enrollments
- RESTクライアント・ユーザーとカスタム登録の間の関連付けの削除
- メソッド: deleteパス:
/console/admin/api/v2/nodes/restproxies/{restProxyId}/enrollments/{enrollmentId}/users/{userName}
- CAノードの起動
- メソッド: postパス:
/console/admin/api/v2/nodes/fabricCAs/{caId}/start
- RESTプロキシ・ノードの起動
- メソッド: postパス:
/console/admin/api/v2/nodes/restproxies/{restProxyId}/start
- オーダラ・ノードの起動
- メソッド: postパス:
/console/admin/api/v2/nodes/orderers/{ordererId}/start
- ピア・ノードの起動
- メソッド: postパス:
/console/admin/api/v2/nodes/peers/{peerId}/start
- CAノードの停止
- メソッド: postパス:
/console/admin/api/v2/nodes/fabricCAs/{caId}/stop
- RESTプロキシ・ノードの停止
- メソッド: postパス:
/console/admin/api/v2/nodes/restproxies/{restProxyId}/stop
- オーダラ・ノードの停止
- メソッド: postパス:
/console/admin/api/v2/nodes/orderers/{ordererId}/stop
- ピア・ノードの停止
- メソッド: postパス:
/console/admin/api/v2/nodes/peers/{peerId}/stop
- CAノードの構成の更新
- メソッド: patchパス:
/console/admin/api/v2/nodes/fabricCAs/{caId}/
- オーダラ・ノードの構成の更新
- メソッド: patchパス:
/console/admin/api/v2/nodes/orderers/{ordererId}
- ピア・ノードの構成の更新
- メソッド: patchパス:
/console/admin/api/v2/nodes/peers/{peerId}
- RESTプロキシ・ノードの構成の更新
- メソッド: patchパス:
/console/admin/api/v2/nodes/restproxies/{restProxyId}
- ブロックの検証
- メソッド: getパス:
/console/admin/api/v2/nodes/peers/{peerId}/blockaudit/{channelName}
ブロックチェーン・ネットワーク管理操作/組織
組織の操作用のREST API
- ネットワークへの組織の追加
- メソッド: postパス:
/console/admin/api/v2/organizations/{orgName}/joinNewOrgs
- 接続プロファイルのダウンロード
- メソッド: getパス:
/console/admin/api/v2/organizations/{orgName}/connectionProfile/{zip}
- すべての組織の取得
- メソッド: getパス:
/console/admin/api/v2/organizations
- オーダラ・サービスの設定の取得
- メソッド: getパス:
/console/admin/api/v2/organizations/{orgName}/orderingService
- 組織の管理者資格証明の取得
- メソッド: getパス:
/console/admin/api/v2/organizations/{orgName}/adminCredentials
- 組織の証明書の取得
- メソッド: getパス:
/console/admin/api/v2/organizations/{orgName}/certificates
- 組織のオーダラ・サービスの設定
- メソッド: postパス:
/console/admin/api/v2/organizations/{orgName}/setOrderingService
Blockchain Platform管理操作/構成
次の操作を使用して、プラットフォーム構成を操作します。
- デフォルトLDAPサーバーへのユーザーの追加
- メソッド: postパス:
/api/v1/configuration/ldapConfig/defaultLdap/ldapUser
- コントロール・プレーン構成の作成または更新
- メソッド: postパス:
/api/v1/configuration/cpConfig/list
- コントロール・プレーンのすべての構成の取得
- メソッド: getパス:
/api/v1/configuration/cpConfig
- コントロール・プレーン構成の取得
- メソッド: getパス:
/api/v1/configuration/cpConfig/{configName}
- LDAP構成の取得
- メソッド: getパス:
/api/v1/configuration/ldapConfig/{id}
- ログイン後の構成詳細の取得
- メソッド: postパス:
/api/v1/configuration/auth
- リリースのビルド情報の取得
- メソッド: getパス:
/api/v1/configuration/release/buildInfo
- LDAP構成のリスト
- メソッド: getパス:
/api/v1/configuration/ldapConfig
- コントロール・プレーン構成の保存または更新
- メソッド: postパス:
/api/v1/configuration/cpConfig
- LDAP構成のテスト
- メソッド: postパス:
/api/v1/configuration/ldapConfig/test
- LDAP構成の更新
- メソッド: postパス:
/api/v1/configuration/ldapConfig/{id}
Blockchain Platform管理操作/プラットフォーム
次の操作を使用してOracle Blockchain Platformを管理します。
- 新規Blockchain Platformインスタンスの作成
- メソッド: postパス:
/api/v1/blockchainPlatforms/instances
- Blockchain Platformインスタンスの削除
- メソッド: deleteパス:
/api/v1/blockchainPlatforms/instances/{id}
- すべてのアクティビティ詳細の取得
- メソッド: getパス:
/api/v1/blockchainPlatforms/activities
- Blockchain Platformインスタンスの詳細の取得
- メソッド: getパス:
/api/v1/blockchainPlatforms/instances/{id}
- Blockchain Platformのステータスの取得
- メソッド: getパス:
/api/v1/blockchainPlatforms/instances/{id}/status
- インスタンス・アクティビティ詳細の取得
- メソッド: getパス:
/api/v1/blockchainPlatforms/instances/{id}/activity
- インスタンスの操作ステータスの取得
- メソッド: getパス:
/api/v1/blockchainPlatforms/instances/{id}/operation/{opid}/status
- Blockchain Platformインスタンスのリスト
- メソッド: getパス:
/api/v1/blockchainPlatforms/instances
- Blockchain Platformインスタンスのスケール・イン
- メソッド: postパス:
/api/v1/blockchainPlatforms/instances/{id}/scalein
- Blockchain Platformインスタンスのスケール・アウト
- メソッド: postパス:
/api/v1/blockchainPlatforms/instances/{id}/scaleout
- Blockchain Platformインスタンスの起動
- メソッド: postパス:
/api/v1/blockchainPlatforms/instances/{id}/action/start
- Blockchain Platformインスタンスの停止
- メソッド: postパス:
/api/v1/blockchainPlatforms/instances/{id}/action/stop
統計
統計操作用のREST API
- 監査ログ情報の取得
- メソッド: getパス:
/console/admin/api/v2/dashboard/statistics/auditlog
- 現在のチャネルと各チャネルに参加しているピアの取得
- メソッド: getパス:
/console/admin/api/v2/dashboard/statistics/channelInfo
- 指定したピアが参加しているチャネルの現在の数とリストの取得
- メソッド: getパス:
/console/admin/api/v2/dashboard/statistics/channelsJoined
- ノードのヘルス・ステータスの取得
- メソッド: getパス:
/console/admin/api/v2/dashboard/statistics/nodeHealth
- ピアまたはオーダラのネイティブFabricメトリックの取得
- メソッド: getパス:
/console/admin/api/v2/dashboard/statistics/metrics
- 非同期呼出し数の取得
- メソッド: getパス:
/console/admin/api/v2/dashboard/statistics/proxyAsyncInvocation
- ブロック数の取得
- メソッド: getパス:
/console/admin/api/v2/dashboard/statistics/blocks
- コミット数の取得
- メソッド: getパス:
/console/admin/api/v2/dashboard/statistics/commits
- エンドースメント数の取得
- メソッド: getパス:
/console/admin/api/v2/dashboard/statistics/endorsements
- 同期呼出し数の取得
- メソッド: getパス:
/console/admin/api/v2/dashboard/statistics/proxySyncInvocation
- ピア、チャネルまたはネットワークのユーザー・トランザクション数の取得
- メソッド: getパス:
/console/admin/api/v2/dashboard/statistics/userTrans