Blockchain Platformのステータスの取得
get
/api/v1/blockchainPlatforms/instances/{id}/status
Blockchain Platformのステータスを取得します。
リクエスト
サポートされるメディア・タイプ
- application/json
パス・パラメータ
- id(必須): string
プラットフォーム・インスタンスの一意の識別子
レスポンス
サポートされるメディア・タイプ
- application/json
200レスポンス
OK
401レスポンス
未認可
404レスポンス
無効なパラメータ
500レスポンス
サービス使用不可
例
このエンドポイントは、特定のBlockchain Platformインスタンスのステータスを取得するために使用されます。
次の例では、cURLを使用してRESTリソースに対するGETリクエストを発行し、特定のBlockchain Platformインスタンスのステータスを問い合せて取得する方法を示します。
curl -X GET \ http://<hostname>:<port>/api/v1/blockchainPlatforms/instances/e1f7bcfe-cc7e-4d19-97fb-772b231fcf99/operation/IDpJPaezDL9_7zTlfY2ti-LlxB7kW8hCoz5lZPQCv8Cr4=/status \ -H 'Authorization: Basic b2JwdXNlcjpXZWxjb21lMQ==' \ -H 'Content-Type: application/json'
レスポンス本文の例
JSON形式のレスポンス本文のコンテンツの例を次に示します。
{ "instanceId": "e1f7bcfe-cc7e-4d19-97fb-772b231fcf99", "operation": "create", "status": "successful", "details": "", "operationId": "IDpJPaezDL9_7zTlfY2ti-LlxB7kW8hCoz5lZPQCv8Cr4=" }