GET api/Certificate/{handle}/Certificate?user={user}
Get the certicate once it is available
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
handle |
Object handle |
string |
Required |
user |
Owner of object |
string |
None. |
Body Parameters
None.
Response Information
Resource Description
An object containing the certificate on success
Collection of errors on failure
Return codes
200 - ok
300 - ambiguous
400 - bad request
401 - unauthorized
404 - not found
500 - internal server error
Name | Description | Type | Additional information |
---|---|---|---|
Handle |
Certificate handle |
string |
None. |
CommonName |
Common name |
string |
None. |
Certificate |
The certificate |
string |
None. |
RegistrationDate |
Registration date |
date |
None. |
RevocationDate |
Revocation date if revoked |
date |
None. |
Revoked | boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Handle": "sample string 1", "CommonName": "sample string 2", "Certificate": "sample string 3", "RegistrationDate": "2025-04-04T00:26:06.0288693+02:00", "RevocationDate": "2025-04-04T00:26:06.0288693+02:00", "Revoked": true }
application/xml, text/xml
Sample:
<CertificateText xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Namebay.Rest.Api.Models.Certificates"> <Certificate>sample string 3</Certificate> <CommonName>sample string 2</CommonName> <Handle>sample string 1</Handle> <RegistrationDate>2025-04-04T00:26:06.0288693+02:00</RegistrationDate> <RevocationDate>2025-04-04T00:26:06.0288693+02:00</RevocationDate> <Revoked>true</Revoked> </CertificateText>