11.4.2.5 Query Credential Template


Function name queryCptById(Long cptId)
Description Query the contents of a specific credential template by its ID.
Request Parameters
No. Parameter Type Required Description
1 cptId Long Y Credential template ID
Response Parameters
No. Parameter Type Required Description
1 CptInfo Y Query result, credential template information
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
JsonSchema
1 type String Y Type
2 description String Y Description
3 required Boolean Y true: required; false: optional
Proof
No. Parameter Type Required Description
1 type String Y Algorithm type
2 creator String Y DID
3 signatureValue String Y Signature value
© 2019-2023 Red Date (Hong Kong) Technology Limited. all right reserved,powered by GitbookFile Modify: 2023-02-16 12:22:03

results matching ""

    No results matching ""

    results matching ""

      No results matching ""