区块链服务 BCS-获取联盟成员列表:响应示例

时间:2024-07-03 14:20:50

响应示例

状态码: 200

Ok

{
  "members" : [ {
    "tcs_need" : true,
    "channel_name" : "channel",
    "invited_orgs" : [ {
      "name" : "organization",
      "name_hash" : "25df6ee3d460a5daf6e11e6c5d945a43cda011fd",
      "node_count" : 1,
      "status" : "",
      "status_detail" : ""
    } ],
    "invitor_info" : {
      "invitor_bcs_id" : "b268e1ca-b5c2-28f1-1e57-f571e14ecdbd",
      "invitor_bcs_name" : "bcs-invitor",
      "invitor_project_id" : "051ddda57400d2982fccc014fab5749d",
      "invitor_user_id" : "28839632c7954c6380e59a4d416a60ee",
      "invitor_username" : "test01"
    },
    "invitee_info" : {
      "invitee_bcs_id" : "05c0705f-2520-ff0f-3ae2-a48e7e3c8936",
      "invitee_user_id" : "37556632c7954c6380e56c2e366a75se",
      "invitee_username" : "test02"
    }
  } ]
}

状态码: 400

Bad Request

{
  "error_code" : " BCS .4006014",
  "error_msg" : "Invalid Parameter quotasType : ecs"
}

状态码: 401

Unauthorized

{
  "error_code" : "B CS .4010401",
  "error_msg" : "Incorrect token or token resolution failed"
}

状态码: 403

Forbidden

{
  "error_code" : "BCS.4030403",
  "error_msg" : "No permissions to request this method"
}

状态码: 404

Not Found

{
  "error_code" : "BCS.4040404",
  "error_msg" : "Not Found:the url is not found"
}

状态码: 500

InternalServerError

{
  "error_code" : "BCS.5000500",
  "error_msg" : "Internal Server Error"
}
support.huaweicloud.com/api-bcs/ListMembers_3.html