Actions Supported by Custom Policies
The following introduces the actions supported by custom policies in enhanced Hyperledger Fabric blockchains.
√ indicates that the item is supported, and × indicates that the item is not supported.
Item |
API |
Action |
IAM (Project) |
Enterprise (Enterprise Project) |
---|---|---|---|---|
Querying Quotas |
GET /v2/{project_id}/quotas |
bcs:fabricInstance:listQuota |
√ |
√ |
Querying Flavors |
GET /v2/{project_id}/blockchains/flavors |
bcs:fabricInstance:getFlavor |
√ |
√ |
Querying Asynchronous Operation Results |
GET /v2/{project_id}/operation/record |
bcs:fabricInstance:listRecord |
√ |
√ |
Creating a BCS Service |
POST /v2/{project_id}/blockchains |
bcs:fabricInstance:createOnDemand |
√ |
√ |
Querying the BCS Service List |
GET /v2/{project_id}/blockchains |
bcs:fabricInstance:list |
√ |
√ |
Querying Creation Status of a BCS Service |
GET /v2/{project_id}/blockchains/{blockchain_id}/status |
bcs:fabricInstance:getStatus |
√ |
√ |
Querying Service Information |
GET /v2/{project_id}/blockchains/{blockchain_id} |
bcs:fabricInstance:getDetail |
√ |
√ |
Querying Peer Information |
GET /v2/{project_id}/blockchains/{blockchain_id}/nodes |
bcs:fabricInstance:getNodes |
√ |
√ |
Modifying a BCS Service |
PUT /v2/{project_id}/blockchains/{blockchain_id} |
bcs:fabricInstance:update |
√ |
√ |
Deleting Service Instances |
DELETE /v2/{project_id}/blockchains/{blockchain_id} |
bcs:fabricInstance:delete |
√ |
√ |
Downloading Certificates |
GET /v2/{project_id}/blockchains/{blockchain_id}/cert |
bcs:fabricInstance:downloadCert |
√ |
√ |
Downloading the SDK Configuration |
POST /v2/{project_id}/blockchains/{blockchain_id}/sdk-cfg |
bcs:fabricInstance:downloadSdkCfg |
√ |
√ |
Generating a User Certificate |
POST /v2/{project_id}/blockchains/{blockchain_id}/orgs/{org_name}/usercert/{user_name} |
bcs:fabricInstance:createUserCert |
√ |
√ |
Freezing a User Certificate |
POST /v2/{project_id}/blockchains/{blockchain_id}/orgs/{org_name}/usercert/{user_name}/freeze |
bcs:fabricInstance:freezeUserCert |
√ |
√ |
Unfreezing a User Certificate |
POST /v2/{project_id}/blockchains/{blockchain_id}/orgs/{org_name}/usercert/{user_name}/unfreeze |
bcs:fabricInstance:unfreezeUserCert |
√ |
√ |
Querying BCS Monitoring Data |
POST /v2/{project_id}/blockchains/{blockchain_id}/metric/list |
bcs:fabricInstance:listInstanceMetric |
√ |
√ |
Listing Entity Monitoring Data of a BCS Service |
POST /v2/{project_id}/blockchains/{blockchain_id}/entity/metric/list |
bcs:fabricInstance:listOrgMetric |
√ |
√ |
Querying the Number of Monitored BCS Organization Instances |
POST /v2/{project_id}/blockchains/{blockchain_id}/entity/instance/metric/list |
bcs:fabricInstance:getOrgMetric |
√ |
√ |
Creating Channels |
POST /v2/{project_id}/blockchains/{blockchain_id}/channels |
bcs:fabricChannel:create |
√ |
√ |
Querying Channel Information |
GET /v2/{project_id}/blockchains/{blockchain_id}/channels |
bcs:fabricChannel:list |
√ |
√ |
Adding Peers to a Channel |
POST /v2/{project_id}/blockchains/{blockchain_id}/channels/peers |
bcs:fabricChannel:addPeer |
√ |
√ |
Removing a Peer from a Channel |
PUT /v2/{project_id}/blockchains/{blockchain_id}/{channel_id}/peers/quit |
bcs:fabricChannel:removePeer |
√ |
√ |
Removing Organizations from a Channel |
PUT /v2/{project_id}/blockchains/{blockchain_id}/{channel_id}/orgs/quit |
bcs:fabricChannel:removeOrg |
√ |
√ |
Deleting a Channel |
DELETE /v2/{project_id}/blockchains/{blockchain_id}/channel/{channel_id} |
bcs:fabricChannel:delete |
√ |
√ |
Inviting Tenants to Join a Consortium |
POST /v2/{project_id}/members/invitations |
bcs:fabricMember:createInvitation |
√ |
√ |
Deleting Invitation Information |
DELETE /v2/{project_id}/members/invitations |
bcs:fabricMember:deleteInvitation |
√ |
√ |
Listing Consortium Members |
GET /v2/{project_id}/members |
bcs:fabricMember:list |
√ |
√ |
Exiting a Consortium |
PUT /v2/{project_id}/members/quit |
bcs:fabricMember:quit |
√ |
√ |
Querying All Notifications |
GET /v2/{project_id}/notifications |
bcs:fabricNotification:list |
√ |
√ |
Processing an Invitation |
POST /v2/{project_id}/notification/handle |
bcs:fabricNotification:handle |
√ |
√ |
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.
For any further questions, feel free to contact us through the chatbot.
Chatbot