11.2.2.6 Update Credential Template


Interface Address /did/updateCpt
Description The issuer updates the content of its own registered credential templates. The credential template ID cannot be updated.
Interface request parameter
No. Parameter Type Required Description
1 RegisterCptWrapper Y Wrapper class
RegisterCptWrapper
1 did String Y DID
2 cptJsonSchema Map<String, JsonSchema> Y JsonSchema information for MapType
3 title String Y Credential template title
4 description String Y Credential template description
5 type String Y Credential type, fill in proof
6 proof Proof Y Signature
7 cptId Long Y Credential template ID
8 create String Y Created date
9 update String Y Updated date
Proof
1 creato String Y DID involved in the calculation of the Signature value
2 type String Y Algorithm
3 signatureValue String Y Signature value
JsonSchema
1 type String Y Field type
2 description String Y Field description
3 required Boolean Y WHETHER IS REQUIRED TO FILL
Interface response parameter
No. Parameter Type Description
1 CptBaseInfo Credential template information
CptBaseInfo
1 cptId Long Credential template ID
2 cptVersion Integer Version
© 2019-2021 Red Date (Hong Kong) Technology Limited. all right reserved,powered by GitbookFile Modify: 2021-11-01 00:14:19

results matching ""

    No results matching ""

    results matching ""

      No results matching ""