14.2.2.4 查询凭证模板列表

接口地址 /did/queryCptList
接口描述 任何人都可通过DID标识符查询其所有的凭证模板。同一个个人/组织有可能会注册多个凭证模板。比如高校除了毕业证模板外,可能还有学位证模板、肄业证模板等。
接口请求参数
序号 参数 类型 必传 参数含义
1 QueryCptListWrapper 包装类
QueryCptListWrapper
1 page Integer 页码
2 size Integer 条数
3 did String DID 标识符
接口响应参数
序号 参数 类型 参数含义
1 Pages<CptInfo> 凭证模板列表信息
Pages<CptInfo>
1 page Integer 页码
2 size Integer 条数
3 totalNum Integer 总条数
4 totalPage Integer 总页数
5 result List<CptInfo> 结果集
CptInfo
1 cptVersion Integer 凭证模板版本号
2 cptJsonSchema Map<String, JsonSchema> Map类型的JsonSchema信息
3 title String 凭证模板标题
4 description String 凭证模板描述
5 publisherDid String 凭证模板签发者的DID
6 proof Proof 签名信息
7 cptId Long 凭证模板ID
8 create String 创建时间
9 update String 更新时间
JsonSchema
1 type String 字段类型
2 description String 字段描述
3 required Boolean 是否必须
Proof
1 creator String 参与计算签名值的DID标识符
2 type String 算法类型
3 signatureValue String 签名值
Copyright 北京红枣科技有限公司

results matching ""

    No results matching ""

    results matching ""

      No results matching ""