create VC
POST/api/gemini/v1/credentials/vc
create a Verifiable Credential, the issuer must be provided as alias or Did.
Request
- application/json
Body
required
credentialSubject
object
required
id string
provider string
issuerAlias string
issuerDid string
Responses
- default
- application/json
- Schema
- Example (from schema)
Schema
- MOD1
- MOD2
- MOD4
Array [
]
Array [
]
- MOD1
- MOD1
- MOD2
Array [
]
@context
object
required
oneOf
string
string
object
issuanceDate stringrequired
issuer
object
required
oneOf
string
credentialSubject
object
required
id string
type
object
oneOf
string
string
expirationDate string
credentialStatus
object
id stringrequired
type stringrequired
id string
proof
object
required
type string
{
"@context": "string",
"issuanceDate": "string",
"issuer": "string",
"credentialSubject": {
"id": "string"
},
"type": "string",
"expirationDate": "string",
"credentialStatus": {
"id": "string",
"type": "string"
},
"id": "string",
"proof": {
"type": "string"
}
}
Loading...