区块链服务 BCS-更新DID:请求参数

时间:2024-07-01 09:12:16

请求参数

表1 请求Body参数

参数

是否必选

参数类型

描述

orgID

String

组织id

channelID

String

通道id

cryptoMethod

String

加密方法,目前固定为SW

cert

String

用户证书,每行末尾均需要增加显式换行符\n

sk

String

用户私钥,每行末尾均需要增加显式换行符\n

timestamp

String

时间戳

did

String

分布式身份标识

service

Array of DIDService objects

服务列表

表2 DIDService

参数

是否必选

参数类型

描述

type

String

类型

serviceEndpoint

String

接入点

credentialApplySchema

CredentialApplySchema object

申请凭证所需数据的Schema

表3 CredentialApplySchema

参数

是否必选

参数类型

描述

type

String

类型

name

String

名称

description

String

描述信息

attributes

Array of Attribute objects

属性列表

表4 Attribute

参数

是否必选

参数类型

描述

name

String

名称

type

String

类型

description

String

描述信息

support.huaweicloud.com/devg-bcs/UpdateDIDService_0.html