Identity Service APIs

get
Authorizations
TokenstringRequired
Responses
200

The Health Check is successful

application/json
get
/health

Generate a new DID

post
Authorizations
TokenstringRequired
Bodyobject[]
alsoKnownAsstring[]Required

AlsoKnownAs property is a unique combination aadhaar and username.

Example: [email protected]
methodstringRequired

The method of DID.

Responses
200

DID Generated

application/json
post
/did/generate

Resolve a DID ID

get
Authorizations
TokenstringRequired
Path parameters
idstringRequired

The DID ID to resolve

Responses
200

DID resolved

application/json
get
/did/resolve/{id}

Sign an unsigned VC

post
Authorizations
TokenstringRequired
Body
DIDstringRequired

The unique DID id of the issuer.

payloadstringRequired

JSON string of the unsigned VC.

Example: { "@context": [ "https://www.w3.org/2018/credentials/v1", "https://www.w3.org/2018/credentials/examples/v1" ], "id": "did:ulp:b4a191af-d86e-453c-9d0e-dd4771067235", "type": [ "VerifiableCredential", "UniversityDegreeCredential" ], "issuer": "did:rcw:6b9d7b31-bc7f-454a-be30-b6c7447b1cff", "expirationDate": "2023-02-08T11:56:27.259Z", "credentialSubject": { "id": "did:rcw:6b9d7b31-bc7f-454a-be30-b6c7447b1cff", "grade": "9.23", "programme": "B.Tech", "certifyingInstitute": "IIIT Sonepat", "evaluatingInstitute": "NIT Kurukshetra" }, "options": { "created": "2020-04-02T18:48:36Z", "credentialStatus": { "type": "RevocationList2020Status" } } }
Responses
200

VC Signed

application/json
post
/utils/sign

Verify a signed VC

post
Authorizations
TokenstringRequired
Body
DIDstringRequired
Responses
post
/utils/verify
201Success

Last updated