From 6c0745e3271ed8aa1110c75287c6fa921c2ea7a3 Mon Sep 17 00:00:00 2001 From: Hugo Locurcio Date: Sat, 23 Jul 2022 18:02:11 +0200 Subject: [PATCH] Document the effect of empty `download_hash` in the API --- API.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/API.md b/API.md index a3b2b1b..4b794b5 100644 --- a/API.md +++ b/API.md @@ -224,7 +224,7 @@ Example result: Notes: * The `cost` field is the license. Other asset libraries may put the price there and supply a download URL which requires authentication. -* The `download_hash` field is always empty and is kept for compatibility only. +* In the official asset library, the `download_hash` field is always empty and is kept for compatibility only. The editor will skip hash checks if `download_hash` is an empty string. Third-party asset libraries may specify a SHA-256 hash to be used by the editor to verify the download integrity. * The download URL is generated based on the download commit and the browse URL.