Skip to main content

Certificates

GET Certificates#

Gets all certificates.

GET ALL
MethodGET ALL
URL or EndPoint/api/v{version}/projects/{projectId}/certificates
HeadersAuthorization or X-API-Key
ParametersprojectId, version
BodyNot Applicable

The description of the URL parameters is as follows:

URL Parameter NameMandatoryTypeExampleDescription
v{version}Yesstringv1Shows the version of API
{projectId}Yesstring($uuid)3fa85f64-5717-4562-b3fc-2c963f66afa6The project's ID. If the ID is empty, an empty distribution configuration is returned

The description of the parameters is as follows:

Parameter NameMandatoryTypeExampleDescription
projctIdYesstring3fa85f64-5717-4562-b3fc-2c963f66afa6The project's ID. If the ID is empty, an empty project configuration is returned
VersionYesstring($uuid)v1Shows the version of API

Request Body#

The request does not have a request body.

Responses#

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in json format by the service.

{  "success": true,  "errors": [    "string"  ],  "messages": [    "string"  ],  "result": [    {      "id": 0,      "distributionId": "string",      "sslCertificateId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",      "domainName": "string",      "additionalNames": "string",      "certificateType": "string",      "certificateStatus": "string",      "scope": "string",      "lastModified": "2021-10-27T15:38:30.649Z"    }  ],  "resultInfo": {    "totalCount": 0,    "pageIndex": 0,    "pageSize": 0,    "totalPages": 0,    "hasNextPage": true,    "hasPreviousPage": true  }
Field NameTypeExampleDescription
successbooltrueIf response is success will return true otherwise will get false
errorsstring"string"Indicate if there was an error
messagesstring"string"Returns the response message from back-end
resultarray [object]Returns an distribution object
distributionIdstring"string"The identifier for the distribution
sslCertificateIdstring"string"The identifier for the certificate
domainNamestring"string"Certificate domain name
additionalNamesstring"string"Certificate additional domain names
certificateTypestring"string"Type of certificate (Gjirafa Issued or Imported)
certificateStatusstring"string"Certificte Status (Active, Expired etc)
scopestring"string"Certificate Scope (Project or Organization)
lastModifieddate2021-03-30 T 09:30:22.892ZReturns the last modified date for the distributions
resultInfoobjectReturs information about distribution
totalCountinteger($int32)0Total number of objects in database
pageIndexinteger($int32)0Returns Current pageop paganed data
pageSizeinteger($int32)0Returns Objects per page
totalPagesinteger($int32)0Returns Total pages
hasNextPagebooltrueReturns true if it has a next page, otherwise returns false
hasPreviousPagebooltrueReturns true if it has a previous page, otherwise returns false

Errors

For information about the errors that are common to all actions, see Common Errors:

  • HTTP Status Code: 401 Unauthorized
  • HTTP Status Code: 403 Forbidden
  • HTTP Status Code: 404 Not found

GET Certificate#

Gets certificate by id.

GET
MethodGET
URL or EndPoint/api/v{version}/projects/{projectId}/certificates/{id}
HeadersAuthorization or X-API-Key
ParametersprojectId, version, id
BodyNot Applicable

The description of the URL parameters is as follows:

URL Parameter NameMandatoryTypeExampleDescription
v{version}Yesstringv1Shows the version of API
{projectId}Yesstring($uuid)3fa85f64-5717-4562-b3fc-2c963f66afa6The project's ID. If the ID is empty, an empty distribution configuration is returned
{id}Yesinteger($int32)0Shows the id of certificate.

The description of the parameters is as follows:

Parameter NameMandatoryTypeExampleDescription
projctIdYesstring3fa85f64-5717-4562-b3fc-2c963f66afa6The project's ID. If the ID is empty, an empty project configuration is returned
idYesinteger($int32)0Shows the id of specific Certificate.
VersionYesstring($uuid)v1Shows the version of API

Request Body#

The request does not have a request body.

Responses#

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in json format by the service.

{  "success": true,  "errors": [    "string"  ],  "messages": [    "string"  ],  "result": {    "id": 0,    "projectId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",    "scopeId": 0,    "sslCertificateId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",    "domainName": "string",    "additionalNames": "string",    "publicKeyInfo": "string",    "signatureAlgorithm": "string",    "issuer": "string",    "certificateType": "string",    "certificateStatus": "string",    "certificateChallenge": "string",    "serialNumber": "string",    "dnsRecords": [      {        "key": "string",        "value": "string"      }    ],    "notBefore": "2021-07-26T08:51:51.079Z",    "notAfter": "2021-07-26T08:51:51.079Z",    "scopeOptions": {      "additionalProp1": 0,      "additionalProp2": 0,      "additionalProp3": 0    }  },  "resultInfo": {    "totalCount": 0,    "pageIndex": 0,    "pageSize": 0,    "totalPages": 0,    "hasNextPage": true,    "hasPreviousPage": true  }}
Field NameTypeExampleDescription
successbooltrueIf response is success will return true otherwise will get false
errorsstring"string"Indicate if there was an error
messagesstring"string"Returns the response message from back-end
resultarray [object]Returns an distribution object
idinteger($int32)0Returns the id of certificate.
projectIdGuid"3fa85f64-5717-4562-b3fc-2c963f66afa6"Returns the project id.
scopeIdinteger($int32)0Returns the scope id
sslCertificateIdGuid"3fa85f64-5717-4562-b3fc-2c963f66afa6"Returns the ssl certificate id.
domainNamestring"string"Returns the domain name.
additionalNamesstring"string"Returns the additional names.
publicKeyInfostring"string"Returns the public key info.
signatureAlgorithmstring"string"Returns the signature algorithm.
issuerstring"string"Returns the signature issuer.
certificateTypestring"string"Returns the certificate type.
certificateStatusstring"string"Returns the certificate status.
certificateChallengestring"string"Returns the certificate challenge.
serialNumberstring"string"Returns the serial number.
dnsRecordList\<object>Returns the dns record.
notBeforeDateTime"2021-07-26T08:51:51.079Z"Returns the starting date of certificate.
notAfterDateTime"2021-07-26T08:51:51.079Z"Returns the ending date of certificate.
scopeOptionsDictionary\<string, int>Returns the name and value of the scope
resultInfoobjectReturs information about distribution
totalCountinteger($int32)0Total number of objects in database
pageIndexinteger($int32)0Returns Current pageop paganed data
pageSizeinteger($int32)0Returns Objects per page
totalPagesinteger($int32)0Returns Total pages
hasNextPagebooltrueReturns true if it has a next page, otherwise returns false
hasPreviousPagebooltrueReturns true if it has a previous page, otherwise returns false

Errors

For information about the errors that are common to all actions, see Common Errors:

  • HTTP Status Code: 401 Unauthorized
  • HTTP Status Code: 403 Forbidden
  • HTTP Status Code: 500 Internal Server Error

POST Certificate#

Post to create new certificate.

POST
MethodPOST
URL or EndPoint/api/v{version}/projects/{projectId}/certificates
HeadersAuthorization or X-API-Key
ParametersprojectId, version
BodyNot Applicable

The description of the URL parameters is as follows:

URL Parameter NameMandatoryTypeExampleDescription
v{version}Yesstringv1Shows the version of API
{projectId}Yesstring($uuid)3fa85f64-5717-4562-b3fc-2c963f66afa6The project's ID. If the ID is empty, an empty distribution configuration is returned

The description of the parameters is as follows:

Parameter NameMandatoryTypeExampleDescription
projctIdYesstring3fa85f64-5717-4562-b3fc-2c963f66afa6The project's ID. If the ID is empty, an empty project configuration is returned
VersionYesstring($uuid)v1Shows the version of API

Request body#

{  "domainName": "string",  "additionalDomainNames": [    "string"  ],  "scopeId": 0}

The description of the parameters is as follows:

Body Parameter NameMandatoryTypeExampleDescription
domainNameYesstring"string"Send the domain name to create certificate.
additionalDomainNamesYesstring"string"Send the additional domain names.
scopeIdYesinteger($int32)0Send the scope id

Responses#

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in json format by the service.

{  "success": true,  "errors": [    "string"  ],  "messages": [    "string"  ],  "result": {    "id": 0,    "projectId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",    "scopeId": 0,    "sslCertificateId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",    "domainName": "string",    "additionalNames": "string",    "publicKeyInfo": "string",    "signatureAlgorithm": "string",    "issuer": "string",    "certificateType": "string",    "certificateStatus": "string",    "certificateChallenge": "string",    "serialNumber": "string",    "dnsRecords": [      {        "key": "string",        "value": "string"      }    ],    "notBefore": "2021-07-26T09:00:50.544Z",    "notAfter": "2021-07-26T09:00:50.544Z",    "scopeOptions": {      "additionalProp1": 0,      "additionalProp2": 0,      "additionalProp3": 0    }  },  "resultInfo": {    "totalCount": 0,    "pageIndex": 0,    "pageSize": 0,    "totalPages": 0,    "hasNextPage": true,    "hasPreviousPage": true  }}
Field NameTypeExampleDescription
successbooltrueIf response is success will return true otherwise will get false
errorsstring"string"Indicate if there was an error
messagesstring"string"Returns the response message from back-end
resultarray [object]Returns an distribution object
idinteger($int32)0Returns the id of certificate.
projectIdGuid"3fa85f64-5717-4562-b3fc-2c963f66afa6"Returns the project id.
scopeIdinteger($int32)0Returns the scope id
sslCertificateIdGuid"3fa85f64-5717-4562-b3fc-2c963f66afa6"Returns the ssl certificate id.
domainNamestring"string"Returns the domain name.
additionalNamesstring"string"Returns the additional names.
publicKeyInfostring"string"Returns the public key info.
signatureAlgorithmstring"string"Returns the signature algorithm.
issuerstring"string"Returns the signature issuer.
certificateTypestring"string"Returns the certificate type.
certificateStatusstring"string"Returns the certificate status.
certificateChallengestring"string"Returns the certificate challenge.
serialNumberstring"string"Returns the serial number.
dnsRecordList\<object>Returns the dns record.
notBeforeDateTime"2021-07-26T08:51:51.079Z"Returns the starting date of certificate.
notAfterDateTime"2021-07-26T08:51:51.079Z"Returns the ending date of certificate.
scopeOptionsDictionary\<string, int>Returns the name and value of the scope
resultInfoobjectReturs information about distribution
totalCountinteger($int32)0Total number of objects in database
pageIndexinteger($int32)0Returns Current pageop paganed data
pageSizeinteger($int32)0Returns Objects per page
totalPagesinteger($int32)0Returns Total pages
hasNextPagebooltrueReturns true if it has a next page, otherwise returns false
hasPreviousPagebooltrueReturns true if it has a previous page, otherwise returns false

Errors

For information about the errors that are common to all actions, see Common Errors:

  • HTTP Status Code: 401 Unauthorized
  • HTTP Status Code: 403 Forbidden
  • HTTP Status Code: 500 Internal Server Error

POST Certificate#

Post to import new certificate.

POST
MethodPOST
URL or EndPoint/api/v{version}/projects/{projectId}/certificates/import
HeadersAuthorization or X-API-Key
ParametersprojectId, version
BodyNot Applicable

The description of the URL parameters is as follows:

URL Parameter NameMandatoryTypeExampleDescription
v{version}Yesstringv1Shows the version of API
{projectId}Yesstring($uuid)3fa85f64-5717-4562-b3fc-2c963f66afa6The project's ID. If the ID is empty, an empty distribution configuration is returned

The description of the parameters is as follows:

Parameter NameMandatoryTypeExampleDescription
projctIdYesstring3fa85f64-5717-4562-b3fc-2c963f66afa6The project's ID. If the ID is empty, an empty project configuration is returned
VersionYesstring($uuid)v1Shows the version of API

Request body#

{  "certificateBody": "string",  "certificatePrivateKey": "string",  "certificateChain": "string",  "scopeId": 0}

The description of the parameters is as follows:

Body Parameter NameMandatoryTypeExampleDescription
certificateBodyYesstring"string"Send the body of certificate.
certificatePrivateKeyYesstring"string"Send the private key of certificate.
certificateChainYesstring"string"Send the chain of certificate.
scopeIdYesinteger($int32)0Send the scope id

Responses#

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in json format by the service.

{  "success": true,  "errors": [    "string"  ],  "messages": [    "string"  ],  "result": {    "id": 0,    "projectId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",    "scopeId": 0,    "sslCertificateId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",    "domainName": "string",    "additionalNames": "string",    "publicKeyInfo": "string",    "signatureAlgorithm": "string",    "issuer": "string",    "certificateType": "string",    "certificateStatus": "string",    "certificateChallenge": "string",    "serialNumber": "string",    "dnsRecords": [      {        "key": "string",        "value": "string"      }    ],    "notBefore": "2021-07-26T09:00:50.544Z",    "notAfter": "2021-07-26T09:00:50.544Z",    "scopeOptions": {      "additionalProp1": 0,      "additionalProp2": 0,      "additionalProp3": 0    }  },  "resultInfo": {    "totalCount": 0,    "pageIndex": 0,    "pageSize": 0,    "totalPages": 0,    "hasNextPage": true,    "hasPreviousPage": true  }}
Field NameTypeExampleDescription
successbooltrueIf response is success will return true otherwise will get false
errorsstring"string"Indicate if there was an error
messagesstring"string"Returns the response message from back-end
resultarray [object]Returns an distribution object
idinteger($int32)0Returns the id of certificate.
projectIdGuid"3fa85f64-5717-4562-b3fc-2c963f66afa6"Returns the project id.
scopeIdinteger($int32)0Returns the scope id
sslCertificateIdGuid"3fa85f64-5717-4562-b3fc-2c963f66afa6"Returns the ssl certificate id.
domainNamestring"string"Returns the domain name.
additionalNamesstring"string"Returns the additional names.
publicKeyInfostring"string"Returns the public key info.
signatureAlgorithmstring"string"Returns the signature algorithm.
issuerstring"string"Returns the signature issuer.
certificateTypestring"string"Returns the certificate type.
certificateStatusstring"string"Returns the certificate status.
certificateChallengestring"string"Returns the certificate challenge.
serialNumberstring"string"Returns the serial number.
dnsRecordList\<object>Returns the dns record.
notBeforeDateTime"2021-07-26T08:51:51.079Z"Returns the starting date of certificate.
notAfterDateTime"2021-07-26T08:51:51.079Z"Returns the ending date of certificate.
scopeOptionsDictionary\<string, int>Returns the name and value of the scope
resultInfoobjectReturs information about distribution
totalCountinteger($int32)0Total number of objects in database
pageIndexinteger($int32)0Returns Current pageop paganed data
pageSizeinteger($int32)0Returns Objects per page
totalPagesinteger($int32)0Returns Total pages
hasNextPagebooltrueReturns true if it has a next page, otherwise returns false
hasPreviousPagebooltrueReturns true if it has a previous page, otherwise returns false

Errors

For information about the errors that are common to all actions, see Common Errors:

  • HTTP Status Code: 401 Unauthorized
  • HTTP Status Code: 403 Forbidden
  • HTTP Status Code: 500 Internal Server Error

PUT Certificate#

PUT to update existing certificate.

PUT
MethodPUT
URL or EndPoint/api/v{version}/projects/{projectId}/certificates/{id}
HeadersAuthorization or X-API-Key
ParametersprojectId, version, id
BodyNot Applicable

The description of the URL parameters is as follows:

URL Parameter NameMandatoryTypeExampleDescription
v{version}Yesstringv1Shows the version of API
{projectId}Yesstring($uuid)3fa85f64-5717-4562-b3fc-2c963f66afa6The project's ID. If the ID is empty, an empty distribution configuration is returned
{id}Yesinteger($int32)0Shows the id of certificate

The description of the parameters is as follows:

Parameter NameMandatoryTypeExampleDescription
projctIdYesstring3fa85f64-5717-4562-b3fc-2c963f66afa6The project's ID. If the ID is empty, an empty project configuration is returned
VersionYesstring($uuid)v1Shows the version of API
IdYesinteger($int32)0Shows the if of certificate.

Request body#

{  "scopeId": 0}

The description of the parameters is as follows:

Body Parameter NameMandatoryTypeExampleDescription
scopeIdYesinteger($int32)0Send the scope id

Responses#

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in json format by the service.

{  "success": true,  "errors": [    "string"  ],  "messages": [    "string"  ],  "result": {    "id": 0,    "projectId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",    "scopeId": 0,    "sslCertificateId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",    "domainName": "string",    "additionalNames": "string",    "publicKeyInfo": "string",    "signatureAlgorithm": "string",    "issuer": "string",    "certificateType": "string",    "certificateStatus": "string",    "certificateChallenge": "string",    "serialNumber": "string",    "dnsRecords": [      {        "key": "string",        "value": "string"      }    ],    "notBefore": "2021-10-28T07:41:59.563Z",    "notAfter": "2021-10-28T07:41:59.563Z",    "scopeOptions": {      "additionalProp1": 0,      "additionalProp2": 0,      "additionalProp3": 0    }  },  "resultInfo": {    "totalCount": 0,    "pageIndex": 0,    "pageSize": 0,    "totalPages": 0,    "hasNextPage": true,    "hasPreviousPage": true  }}
Field NameTypeExampleDescription
successbooltrueIf response is success will return true otherwise will get false
errorsstring"string"Indicate if there was an error
messagesstring"string"Returns the response message from back-end
resultarray [object]Returns an distribution object
idinteger($int32)0Returns the id of certificate.
projectIdGuid"3fa85f64-5717-4562-b3fc-2c963f66afa6"Returns the project id.
scopeIdinteger($int32)0Returns the scope id
sslCertificateIdGuid"3fa85f64-5717-4562-b3fc-2c963f66afa6"Returns the ssl certificate id.
domainNamestring"string"Returns the domain name.
additionalNamesstring"string"Returns the additional names.
publicKeyInfostring"string"Returns the public key info.
signatureAlgorithmstring"string"Returns the signature algorithm.
issuerstring"string"Returns the signature issuer.
certificateTypestring"string"Returns the certificate type.
certificateStatusstring"string"Returns the certificate status.
certificateChallengestring"string"Returns the certificate challenge.
serialNumberstring"string"Returns the serial number.
dnsRecordList\<object>Returns the dns record.
notBeforeDateTime"2021-07-26T08:51:51.079Z"Returns the starting date of certificate.
notAfterDateTime"2021-07-26T08:51:51.079Z"Returns the ending date of certificate.
scopeOptionsDictionary\<string, int>Returns the name and value of the scope
resultInfoobjectReturs information about distribution
totalCountinteger($int32)0Total number of objects in database
pageIndexinteger($int32)0Returns Current pageop paganed data
pageSizeinteger($int32)0Returns Objects per page
totalPagesinteger($int32)0Returns Total pages
hasNextPagebooltrueReturns true if it has a next page, otherwise returns false
hasPreviousPagebooltrueReturns true if it has a previous page, otherwise returns false

Errors

For information about the errors that are common to all actions, see Common Errors:

  • HTTP Status Code: 401 Unauthorized
  • HTTP Status Code: 403 Forbidden
  • HTTP Status Code: 500 Internal Server Error

PUT Certificate#

PUT to validate certificate challange.

PUT
MethodPUT
URL or EndPoint/api/v{version}/projects/{projectId}/certificates/{id}/validate
HeadersAuthorization or X-API-Key
ParametersprojectId, version, id
BodyNot Applicable

The description of the URL parameters is as follows:

URL Parameter NameMandatoryTypeExampleDescription
v{version}Yesstringv1Shows the version of API
{projectId}Yesstring($uuid)3fa85f64-5717-4562-b3fc-2c963f66afa6The project's ID. If the ID is empty, an empty distribution configuration is returned
{id}Yesinteger($int32)0Shows the id of certificate

The description of the parameters is as follows:

Parameter NameMandatoryTypeExampleDescription
projctIdYesstring3fa85f64-5717-4562-b3fc-2c963f66afa6The project's ID. If the ID is empty, an empty project configuration is returned
VersionYesstring($uuid)v1Shows the version of API
IdYesinteger($int32)0Shows the if of certificate.

Request Body#

The request does not have a request body.

Responses#

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in json format by the service.

{  "success": true,  "errors": [    "string"  ],  "messages": [    "string"  ],  "result": {    "id": 0,    "projectId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",    "scopeId": 0,    "sslCertificateId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",    "domainName": "string",    "additionalNames": "string",    "publicKeyInfo": "string",    "signatureAlgorithm": "string",    "issuer": "string",    "certificateType": "string",    "certificateStatus": "string",    "certificateChallenge": "string",    "serialNumber": "string",    "dnsRecords": [      {        "key": "string",        "value": "string"      }    ],    "notBefore": "2021-10-28T07:44:22.048Z",    "notAfter": "2021-10-28T07:44:22.048Z",    "scopeOptions": {      "additionalProp1": 0,      "additionalProp2": 0,      "additionalProp3": 0    }  },  "resultInfo": {    "totalCount": 0,    "pageIndex": 0,    "pageSize": 0,    "totalPages": 0,    "hasNextPage": true,    "hasPreviousPage": true  }}
Field NameTypeExampleDescription
successbooltrueIf response is success will return true otherwise will get false
errorsstring"string"Indicate if there was an error
messagesstring"string"Returns the response message from back-end
resultarray [object]Returns an distribution object
idinteger($int32)0Returns the id of certificate.
projectIdGuid"3fa85f64-5717-4562-b3fc-2c963f66afa6"Returns the project id.
scopeIdinteger($int32)0Returns the scope id
sslCertificateIdGuid"3fa85f64-5717-4562-b3fc-2c963f66afa6"Returns the ssl certificate id.
domainNamestring"string"Returns the domain name.
additionalNamesstring"string"Returns the additional names.
publicKeyInfostring"string"Returns the public key info.
signatureAlgorithmstring"string"Returns the signature algorithm.
issuerstring"string"Returns the signature issuer.
certificateTypestring"string"Returns the certificate type.
certificateStatusstring"string"Returns the certificate status.
certificateChallengestring"string"Returns the certificate challenge.
serialNumberstring"string"Returns the serial number.
dnsRecordList\<object>Returns the dns record.
notBeforeDateTime"2021-07-26T08:51:51.079Z"Returns the starting date of certificate.
notAfterDateTime"2021-07-26T08:51:51.079Z"Returns the ending date of certificate.
scopeOptionsDictionary\<string, int>Returns the name and value of the scope
resultInfoobjectReturs information about distribution
totalCountinteger($int32)0Total number of objects in database
pageIndexinteger($int32)0Returns Current pageop paganed data
pageSizeinteger($int32)0Returns Objects per page
totalPagesinteger($int32)0Returns Total pages
hasNextPagebooltrueReturns true if it has a next page, otherwise returns false
hasPreviousPagebooltrueReturns true if it has a previous page, otherwise returns false

Errors

For information about the errors that are common to all actions, see Common Errors:

  • HTTP Status Code: 401 Unauthorized
  • HTTP Status Code: 403 Forbidden
  • HTTP Status Code: 500 Internal Server Error

DELETE Certificate#

Deletes the specified certificate.

DELETE
MethodDELETE
URL or EndPoint/api/v{version}/projects/{projectId}/certificates/{id}
HeadersAuthorization or X-API-Key
ParametersprojectId, version, id
BodyNot Applicable

The description of the URL parameters is as follows:

URL Parameter NameMandatoryTypeExampleDescription
v{version}Yesstringv1Shows the version of API
{projectId}Yesstring($uuid)3fa85f64-5717-4562-b3fc-2c963f66afa6The project's ID. If the ID is empty, an empty distribution configuration is returned
{id}Yesinteger($int32)0Shows the id of certificate

The description of the parameters is as follows:

Parameter NameMandatoryTypeExampleDescription
projctIdYesstring3fa85f64-5717-4562-b3fc-2c963f66afa6The project's ID. If the ID is empty, an empty project configuration is returned
VersionYesstring($uuid)v1Shows the version of API
IdYesinteger($int32)0Shows the if of certificate.

Request Body#

The request does not have a request body.

Responses#

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in json format by the service.

{  "success": true,  "errors": [    "string"  ],  "messages": [    "string"  ],  "result": {    "id": 0,    "projectId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",    "scopeId": 0,    "sslCertificateId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",    "domainName": "string",    "additionalNames": "string",    "publicKeyInfo": "string",    "signatureAlgorithm": "string",    "issuer": "string",    "certificateType": "string",    "certificateStatus": "string",    "certificateChallenge": "string",    "serialNumber": "string",    "dnsRecords": [      {        "key": "string",        "value": "string"      }    ],    "notBefore": "2021-10-28T07:46:36.578Z",    "notAfter": "2021-10-28T07:46:36.578Z",    "scopeOptions": {      "additionalProp1": 0,      "additionalProp2": 0,      "additionalProp3": 0    }  },  "resultInfo": {    "totalCount": 0,    "pageIndex": 0,    "pageSize": 0,    "totalPages": 0,    "hasNextPage": true,    "hasPreviousPage": true  }}
Field NameTypeExampleDescription
successbooltrueIf response is success will return true otherwise will get false
errorsstring"string"Indicate if there was an error
messagesstring"string"Returns the response message from back-end
resultarray [object]Returns an distribution object
idinteger($int32)0Returns the id of certificate.
projectIdGuid"3fa85f64-5717-4562-b3fc-2c963f66afa6"Returns the project id.
scopeIdinteger($int32)0Returns the scope id
sslCertificateIdGuid"3fa85f64-5717-4562-b3fc-2c963f66afa6"Returns the ssl certificate id.
domainNamestring"string"Returns the domain name.
additionalNamesstring"string"Returns the additional names.
publicKeyInfostring"string"Returns the public key info.
signatureAlgorithmstring"string"Returns the signature algorithm.
issuerstring"string"Returns the signature issuer.
certificateTypestring"string"Returns the certificate type.
certificateStatusstring"string"Returns the certificate status.
certificateChallengestring"string"Returns the certificate challenge.
serialNumberstring"string"Returns the serial number.
dnsRecordList\<object>Returns the dns record.
notBeforeDateTime"2021-07-26T08:51:51.079Z"Returns the starting date of certificate.
notAfterDateTime"2021-07-26T08:51:51.079Z"Returns the ending date of certificate.
scopeOptionsDictionary\<string, int>Returns the name and value of the scope
resultInfoobjectReturs information about distribution
totalCountinteger($int32)0Total number of objects in database
pageIndexinteger($int32)0Returns Current pageop paganed data
pageSizeinteger($int32)0Returns Objects per page
totalPagesinteger($int32)0Returns Total pages
hasNextPagebooltrueReturns true if it has a next page, otherwise returns false
hasPreviousPagebooltrueReturns true if it has a previous page, otherwise returns false

Errors

For information about the errors that are common to all actions, see Common Errors:

  • HTTP Status Code: 401 Unauthorized
  • HTTP Status Code: 403 Forbidden
  • HTTP Status Code: 500 Internal Server Error