10.2.2.6 Update Credential Template


Interface Address /did/updateCpt
Description The issuer updates the content of its own registered credential templates. The update of credential template does not affect credentials already issued.
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 type
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, plus one after each update is successful
© 2019-2024 Red Date (Hong Kong) Technology Limited. all right reserved,powered by GitbookFile Modify: 2024-10-18 14:58:32

results matching ""

    No results matching ""

    results matching ""

      No results matching ""