10.4.2.4 Query Credential Template List


Function name queryCptListByDid(QueryCptList query)
Description Anyone can check all their credential templates by DID. It is possible for the same individual/organization to register multiple credential templates. For example, a university may have a degree template, an incomplete template, etc. in addition to a diploma template.
Request Parameters
No. Parameter Type Required Description
1 QueryCpt Y
QueryCpt
No. Parameter Type Required Description
1 page Integer Y Number of pages
2 size Integer Y Number of entries per page
3 did String Y DID
Response Parameters
No. Parameter Type Required Description
1 Pages<CptInfo> Y Query result, credential template information list
Pages
1 page Integer Y Page number
2 size Integer Y Paging Size
3 totalNum Integer Y Total number
4 totalPage Integer Y Total pages
5 result List<CptInfo> Y List of credential templates
CptInfo
No. Parameter Type Required Description
1 cptJsonSchema Map<String, JsonSchema> Y JsonSchema for Credential template
2 title String Y Title
3 description String Y Description
4 publisherDid String Y DID to create credential template
5 proof Proof Y Signature
6 create String Y Created date
7 update String Y Updated date
8 cptId Long Y Credential template ID
9 cptVersion Integer Y Credential template version
Proof
No. Parameter Type Required Description
1 type String Y Algorithm type
2 creator String Y DID
3 signatureValue String Y Signature value
JsonSchema
No. Parameter Type Required Description
1 type String Y Type
2 description String Y Description
3 required Boolean Y true: required; false: optional
© 2019-2024 Red Date (Hong Kong) Technology Limited. all right reserved,powered by GitbookFile Modify: 2024-10-18 15:00:58

results matching ""

    No results matching ""

    results matching ""

      No results matching ""