Passer à la navigation

Find Uploaded Asset

Find the newest live asset registered with the same API key, SHA-256 digest, and type. Reuse its id instead of uploading the file again. Assets registered with another API key do not match, even within the same organization. Returns asset null when no asset matches.

Authentification

x-api-keystring
Authentification par clé API via en-tête

Paramètres de requête

contentSha256stringRequisformat: "^[a-f0-9]{64}$"

SHA-256 digest of the file bytes as 64 lowercase hexadecimal characters.

typeenumRequis
The type of asset file.
Valeurs autorisées:

Réponse

This endpoint returns an object.
assetobject or null
Newest matching live asset, or null when none matches.

Erreurs

400
Bad Request Error
401
Unauthorized Error
500
Internal Server Error