From 2e8e890a9c2f711618863eadae10e4ba579b4e58 Mon Sep 17 00:00:00 2001 From: Paul Moore Date: Thu, 1 Apr 2021 09:17:42 +0100 Subject: [PATCH 1/2] Clarify source of metadata in JSON API --- docs/api-reference/json.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/api-reference/json.rst b/docs/api-reference/json.rst index aa843788ab1a..7a3a343be90d 100644 --- a/docs/api-reference/json.rst +++ b/docs/api-reference/json.rst @@ -11,7 +11,9 @@ Project Returns metadata (info) about an individual project at the latest version, a list of all releases for that project, and project URLs. Releases include the release name, URL, and MD5 and SHA256 hash digests, and are keyed by - the release version string. + the release version string. Metadata returned comes from the values provided + at upload time and does not necessarily match the content of the uploaded + files. **Example Request**: From d5d2821b9507db705820e55619f778a5b4fffa91 Mon Sep 17 00:00:00 2001 From: Paul Moore Date: Thu, 1 Apr 2021 16:15:06 +0100 Subject: [PATCH 2/2] Clarify only first uploaded data is used --- docs/api-reference/json.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/api-reference/json.rst b/docs/api-reference/json.rst index 7a3a343be90d..01da86b5950a 100644 --- a/docs/api-reference/json.rst +++ b/docs/api-reference/json.rst @@ -13,7 +13,8 @@ Project the release name, URL, and MD5 and SHA256 hash digests, and are keyed by the release version string. Metadata returned comes from the values provided at upload time and does not necessarily match the content of the uploaded - files. + files. The first uploaded data for a release is stored, subsequent uploads + do not update it. **Example Request**: