List dataspace credentials
GET/api/credentials
List all credentials in this dataspace.
Request
Responses
- 200
- 403
- application/json
- Schema
- Example (from schema)
Schema
Array [
- DefaultCredentialSubjectDto
- MOD2
Array [
]
- MOD1
- MOD2
- DataIntegrityProofDto
- JsonWebSignature2020Dto
- MOD1
- MOD2
Array [
]
- MOD1
- MOD2
Array [
]
Array [
- DataIntegrityProofDto
- JsonWebSignature2020Dto
- MOD1
- MOD2
Array [
]
- MOD1
- MOD2
Array [
]
]
]
idstringrequired
targetDidstringrequired
credential
object
required
@contextstring[]required
typestring[]required
idstring
credentialSubject
object
required
oneOf
idstringrequired
idstringrequired
issuerstringrequired
expirationDatedate-time
issuanceDatedate-timerequired
evidenceobject
proof
object
required
oneOf
oneOf
idstring
typestringrequired
proofPurposestringrequired
verificationMethodstring
cryptosuitestringrequired
createdstring
expiresstring
domain
object
oneOf
string
string
challengestring
proofValuestringrequired
previousProof
object
oneOf
string
string
noncestring
typestringrequired
createddate-timerequired
proofPurposestringrequired
jwsstringrequired
verificationMethodstringrequired
oneOf
idstring
typestringrequired
proofPurposestringrequired
verificationMethodstring
cryptosuitestringrequired
createdstring
expiresstring
domain
object
oneOf
string
string
challengestring
proofValuestringrequired
previousProof
object
oneOf
string
string
noncestring
typestringrequired
createddate-timerequired
proofPurposestringrequired
jwsstringrequired
verificationMethodstringrequired
selfIssuedbooleanrequired
createddate-timerequired
modifieddate-timerequired
deleteddate-time
[
{
"id": "string",
"targetDid": "string",
"credential": {
"@context": [
"string"
],
"type": [
"string"
],
"id": "string",
"credentialSubject": {},
"issuer": "string",
"expirationDate": "2024-07-29T15:51:28.071Z",
"issuanceDate": "2024-07-29T15:51:28.071Z",
"evidence": {}
},
"selfIssued": true,
"created": "2024-07-29T15:51:28.071Z",
"modified": "2024-07-29T15:51:28.071Z",
"deleted": "2024-07-29T15:51:28.071Z"
}
]
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
namestringrequired
statusstringrequired
codenumberrequired
messageobject
errorstring
{
"name": "string",
"status": "string",
"code": 0,
"message": {},
"error": "string"
}