List Issuer Profile
This method lists the available issuer profile . The weightage for this API is 1
API Specification
Lists Issuers profile
POST https://api.krypcore.com/api/v0/did/listIssuerProfile
Lists the available issuer profile 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
Issuer Profile Name
limit*
Numeric
total No of pages to be displayed
page*
Numeric
No of pages
{
"Data": {
"data": [{
"CreatedAt": "2023-09-21T04:53:21.559Z",
"DIDId": "did:key:z6MkhNjTaHAmf1fx9JuWXHUqGU7k4tX6RKCHkvHnXdrxZqGa",
"DIDMethodType": "key",
"Id": "650bcc41024ceedb7fefb1c4",
"InstanceId": "INS_DI_22_2023921",
"IssuerDescription": "demo",
"IssuerDesignation": "demo",
"IssuerName": "demo",
"LastUsed": "2023-09-21T04:53:21.559Z",
"Status": "ACTIVE",
"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 -g --request POST 'https://api.krypcore.com/api/v0/did/listIssuerProfile' \
--header 'Authorization: xxxxxxxxxxxxxxxxx' \
--header 'DappId: xxxxxxxxxxxxxxxxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"limit": 5,
"page": 1,
"search": ""
}'var axios = require('axios');
var data = JSON.stringify({
"limit": 5,
"page": 1,
"search": ""
});
var config = {
method: 'post',
url: 'https://api.krypcore.com/api/v0/did/listIssuerProfile',
headers: {
'Authorization': 'xxxxxxxxxxxxxxxxx',
'DappId': 'xxxxxxxxxxxxxxxxx',
'Content-Type': 'application/json'
},
data : data
};
axios(config)
.then(function (response) {
console.log(JSON.stringify(response.data));
})
.catch(function (error) {
console.log(error);
});
import requests
import json
url = "https://api.krypcore.com/api/v0/did/listIssuerProfile"
payload = json.dumps({
"limit": 5,
"page": 1,
"search": ""
})
headers = {
'Authorization': 'xxxxxxxxxxxxxxxxx',
'DappId': 'xxxxxxxxxxxxxxxxx',
'Content-Type': 'application/json'
}
response = requests.request("POST", url, headers=headers, data=payload)
print(response.text)
package main
import (
"fmt"
"strings"
"net/http"
"io/ioutil"
)
func main() {
url := "https://api.krypcore.com/api/v0/did/listIssuerProfile"
method := "POST"
payload := strings.NewReader(`{
"limit": 5,
"page": 1,
"search": ""
}`)
client := &http.Client {
}
req, err := http.NewRequest(method, url, payload)
if err != nil {
fmt.Println(err)
return
}
req.Header.Add("Authorization", "xxxxxxxxxxxxxxxxx")
req.Header.Add("DappId", "xxxxxxxxxxxxxxxxx")
req.Header.Add("Content-Type", "application/json")
res, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer res.Body.Close()
body, err := ioutil.ReadAll(res.Body)
if err != nil {
fmt.Println(err)
return
}
fmt.Println(string(body))
}Last updated
Was this helpful?