Skip to content

Commit d1579df

Browse files
authored
Deprecate the releases key on the non version json too (#11777)
1 parent cc9e591 commit d1579df

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/api-reference/json.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@ PyPI offers two JSON endpoints.
66
Project
77
-------
88

9+
.. attention::
10+
The ``releases`` key on this response should be considered deprecated,
11+
and projects should shift to using the simple API (which can be accessed
12+
as JSON via PEP 691) to get this information where possible.
13+
14+
In the future, the ``releases`` key may be removed from this response.
15+
16+
917
.. http:get:: /pypi/<project_name>/json
1018
1119
Returns metadata (info) about an individual project at the latest version,

0 commit comments

Comments
 (0)