Skip to main content

Update Certificate

POST 

https://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}}

Body

    contentbinary

Responses

Successful response

Schema

    Authorization: http

    name: apikeyAuthtype: httpin: 
    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"))
    Request Collapse all
    Base URL
    https://public.api.mentaport.xyz/prod/v1
    Auth
    Parameters
    — queryrequired
    — queryrequired
    — queryrequired
    — query
    — query
    — query
    — query
    — query
    — query
    — query
    — query
    — query
    — query
    — header
    Body
    content
    ResponseClear

    Click the Send API Request button above and see the response here!