Skip to content

Get an asset certificate

GET
/mc4p/assets/{asset_id}/certificate
curl --request GET \
--url https://api.mintall.ai/api/v1/mc4p/assets/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/certificate

Get the Mintall Certificate for Product (MC4P) data for an asset.

An authorized asset returns the full document. A not-authorized asset (parent product not active) returns the identity-only document: the mintall:contentCredentials, mintall:nft, verification and proof blocks are omitted, not null.

asset_id
required
Asset Id
string format: uuid

Successful Response

Media typeapplication/json
AssetCertificateResponse

Asset MC4P certificate as a mintall:-namespaced ImageObject.

This is the lossless full expansion of one entry in the product certificate’s mintall:images[] array. It is the image node (merge key contentUrl) rather than a DigitalDocument wrapper, so a crawler can pivot from the on-page summary onto this document without remapping fields.

object
@context
@Context
Array
default: https://schema.org,[object Object]
@type
@Type
string
default: ImageObject
contentUrl
Any of:
string
encodingFormat
Any of:
string
width
Any of:
integer
height
Any of:
integer
uploadDate
Any of:
string
mintall:issuedFor
required
AssetIssuedFor

Binds the document to the platform’s image + product nodes.

object
domain
Any of:
string
assetId
required
Assetid
string
mediaID
Any of:
string
productID
Any of:
string
url
Any of:
string
mintall:status
required
AssetStatus

The canonical-source pointer for the document.

Mirrors the product cert’s mintall:status: visibility state lives on mc4p_access_events, not here.

object
canonicalSource
required
EntryPoint

Schema.org/EntryPoint

object
@type
@Type
string
default: EntryPoint
description
Description
string
default: Canonical source for this certificate.
url
required
Url
string
httpMethod
Httpmethod
string
default: GET
mintall:contentCredentials
Any of:
MintallContentCredentials
object
hasC2PA
required
Hasc2Pa
boolean
hasManifest
Hasmanifest
boolean
hashes
Any of:
Hashes
object
uhash
required
Uhash
string
phash
required
Phash
string
mintall:nft
Any of:
Nft
object
@type
@Type
string
default: PropertyValue
name
Name
string
default: Blockchain Certification
minted
required
Minted
boolean
description
required
Description
string
tokenId
Any of:
string
transactionHash
Any of:
string
explorerUrl
Any of:
string
verification
Any of:
AssetVerification
object
canonicalUrl
required
Canonicalurl
string
canonicalSource
required
EntryPoint

Schema.org/EntryPoint

object
@type
@Type
string
default: EntryPoint
description
Description
string
default: Canonical source for this certificate.
url
required
Url
string
httpMethod
Httpmethod
string
default: GET
hasSignature
required
Hassignature
boolean
hasBlockchain
required
Hasblockchain
boolean
summary
Any of:
string
trustAnchor
Any of:
TrustAnchor
object
type
required
Type
string
status
required
Status
string
trustedDomains
required
Trusteddomains
Array<string>
proof
Any of:
Proof
object
type
required
Type
string
jwt
required
Jwt
string
verificationMethod
required
Verificationmethod
string
proofPurpose
required
Proofpurpose
string
algorithm
required
Algorithm
string
Example
{
"@context": [
"https://schema.org",
{
"mintall": "https://mintall.ai/ns/"
}
],
"@type": "ImageObject",
"mintall:status": {
"canonicalSource": {
"@type": "EntryPoint",
"description": "Canonical source for this certificate.",
"httpMethod": "GET"
}
},
"mintall:contentCredentials": {
"hasManifest": false
},
"mintall:nft": {
"@type": "PropertyValue",
"name": "Blockchain Certification"
},
"verification": {
"canonicalSource": {
"@type": "EntryPoint",
"description": "Canonical source for this certificate.",
"httpMethod": "GET"
}
}
}

Asset is not an image.

Asset not found, or it has no certificate.

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Examplegenerated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}