All URIs are relative to http://api.madana.io/rest
Method | HTTP request | Description |
---|---|---|
authenticateCertificate | POST /certificates | Issues certificates for logged-in users. |
getCertificateByFingerprint | GET /certificates/{fingerprint} | |
getRootCertificate | GET /certificates/root |
JsonMDNCertificate authenticateCertificate(opts)
Issues certificates for logged-in users.
Issues certificates for logged-in users
import MadanaApiclient from 'madana-apiclient';
let apiInstance = new MadanaApiclient.CertificateServiceApi();
let opts = {
'body': new MadanaApiclient.JsonMDNData() // JsonMDNData |
};
apiInstance.authenticateCertificate(opts, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
body | JsonMDNData | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
File getCertificateByFingerprint(fingerprint)
import MadanaApiclient from 'madana-apiclient';
let apiInstance = new MadanaApiclient.CertificateServiceApi();
let fingerprint = "fingerprint_example"; // String |
apiInstance.getCertificateByFingerprint(fingerprint, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
fingerprint | String |
File
No authorization required
- Content-Type: Not defined
- Accept: application/json
File getRootCertificate()
import MadanaApiclient from 'madana-apiclient';
let apiInstance = new MadanaApiclient.CertificateServiceApi();
apiInstance.getRootCertificate((error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
This endpoint does not need any parameter.
File
No authorization required
- Content-Type: Not defined
- Accept: application/json