Get Total Certificates
GEThttps://public.api.mentaport.xyz/prod/v1/certificates/count
Optionally, you may pass projectId
and certId
parameters. If these parameters are not provided, the function will return all of your certificates.
Request
Query Parameters
projectId string
Example: 96b82a9a-585d-4628-9e61-d5fe0b9317dd
Header Parameters
x-api-key string
Example: {{_apiKeyDev}}
Responses
- 200
Successful response
- application/json
- Schema
Schema
Authorization: http
name: apikeyAuthtype: httpin:
- python
- curl
- csharp
- go
- nodejs
- ruby
- php
- java
- powershell
- dart
- javascript
- c
- objective-c
- ocaml
- r
- swift
- kotlin
- rust
- HTTP.CLIENT
- REQUESTS
import http.client
conn = http.client.HTTPSConnection("public.api.mentaport.xyz")
payload = ''
headers = {
'Accept': 'application/json'
}
conn.request("GET", "/prod/v1/certificates/count", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
ResponseClear