List Subject Profile
This method lists the available subject profiles . The weightage for this API is 1
API Specification
Lists subject profile
POST
https://api.krypcore.com/api/v0/did/listSubjectProfile
Lists the available subject profiles under the given instance.
Headers
Name
Type
Description
Authorization*
String
User Auth Key obtained from Dash
DappId*
String
DappId
Request Body
Name
Type
Description
search*
String
Subject Profile Name
limit*
Numeric
Total No of pages to be displayed
page
Numeric
No of pages
{
"Data": {
"data": [{
"CreatedAt": "2023-09-21T04:55:14.759Z",
"DIDId": "did:key:z6MkjcRg1BFymuFVcZdHp2f7m6ZchZsqhGVQXnQckucCAACQ",
"DIDMethodType": "key",
"Id": "650bccb2024ceedb7fefb1c5",
"InstanceId": "INS_DI_22_2023921",
"LastUsed": "2023-09-21T04:55:14.759Z",
"Status": "ACTIVE",
"SubjectDescription": "demo",
"SubjectId": "demo",
"SubjectName": "demo",
"SubscriptionId": "6224416276"
}],
"totalCount": 1
},
"Message": "",
"Status": "SUCCESS"
}
Take a look at how you might call this method using our official libraries, or via curl
:
curl --location --request POST 'https://api.krypcore.com/api/v0/did/listSubjectProfile' \
--header 'Authorization: xxxxxxxxxxxx' \
--header 'DappId: xxxxxxxxxxxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"limit": 5,
"page": 1,
"search": ""
}'
Last updated
Was this helpful?