Interface Address |
/did/queryCptById |
Description |
Query the contents of a specific credential template by its ID. |
Interface request parameter |
No. |
Parameter |
Type |
Required |
Description |
1 |
|
QueryCptByIdWrapper |
Y |
Wrapper class |
QueryCptByIdWrapper |
1 |
cptId |
Long |
Y |
Credential template ID |
Interface response parameter |
No. |
Parameter |
Type |
Description |
1 |
|
CptInfo |
Credential template information |
CptInfo |
1 |
cptVersion |
Integer |
Version |
2 |
cptJsonSchema |
Map<String, JsonSchema> |
JsonSchema information for MapType |
3 |
title |
String |
Credential template title |
4 |
description |
String |
Credential template description |
5 |
publisherDid |
String |
DID of the credential template issuer |
6 |
proof |
Proof |
Signature |
7 |
cptId |
Long |
Credential template ID |
8 |
create |
String |
Created date |
9 |
update |
String |
Updated date |
JsonSchema |
1 |
type |
String |
Field type |
2 |
description |
String |
Field description |
3 |
required |
Boolean |
WHETHER IS REQUIRED TO FILL |
Proof |
1 |
creator |
String |
DID involved in the calculation of the Signature value |
2 |
type |
String |
Algorithm type |
3 |
signatureValue |
String |
Signature value |