Update Certificate
POSThttps://public.api.mentaport.xyz/prod/v1/certificates/update
Use this method to update any information of a NoneActive
or Pending
certificate.
Request
Query Parameters
presign booleanrequired
Example: false
certId stringrequired
Example: 0xa2b907ca0a24493c8d729285479ce6e5
projectId stringrequired
Example: b39707ac-ca85-4fc4-9220-27b118cc264d
contentFormat string
Example: jpg
username string
Example: public_name
name string
Example: Palace of Fine Arts %233
description string
Example: The place where code is made.
aiTrainingMiningInfo string
Example: allow
usingAI boolean
Example: true
aiSoftware string
aiModel string
album string
albumYear string
Header Parameters
x-api-key string
Example: {{_apiKeyDev}}
- multipart/form-data
Body
contentbinary
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 = {
'Content-Type': 'multipart/form-data',
'Accept': 'application/json'
}
conn.request("POST", "/prod/v1/certificates/update", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
ResponseClear