Updated on 2022-05-25 GMT+08:00
Example 1: Creating a BCS Service
Scenario
This section describes how to create a BCS service by calling an API.
Related APIs of Other Services
None
Creating a BCS Service
- URI format
- Example request
POST https://{bcs_endpoint}/v2/{project_id}/blockchains
Obtain the value of {bcs_endpoint} from Regions and Endpoints.
Body:
{ "name":"bcs-test", "fabric_version":"2.0", "enterprise_project_id":"0", "resource_password":"xxx", "create_new_cluster":false, "cce_cluster_info":{ "cluster_id":"c11ccc2c-aab9-11ea-99da-0255ac100b03", "cluster_name":"byl-fastfabric" } }
- Example response
{ "blockchain_id": "b95133b2-b933-8fd5-3421-e3ce793a3e2f", "blockchain_name": "bcs-test" }
Parent topic: Examples
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot