Closed elrrrrrrr closed 4 months ago
The docs/registry-api.md
file has been updated to include new sections for [Token]
and [Trend]
. A new endpoint, GET /downloads/range/:start::end/:pkgName
, has been introduced under the Trend
section to fetch download trends for a specific package. Sample response data has also been added to illustrate the download trends and versions with corresponding download counts.
File | Change Summary |
---|---|
docs/registry-api.md |
Added [Token] and [Trend] sections. Introduced GET /downloads/range/:start::end/:pkgName endpoint with sample response data. |
sequenceDiagram
participant User
participant API
participant Database
User->>API: GET /downloads/range/:start::end/:pkgName
API->>Database: Fetch download trends for :pkgName between :start and :end
Database-->>API: Return download trends data
API-->>User: Return download trends response
In the land of code, where data flows, A new trend endpoint now bestows. With tokens and trends, insights to glean, Download counts in a range, a developer's dream. đđ
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 96.80%. Comparing base (
9664504
) to head (df86231
). Report is 1 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
đ add doc for the trends API.
Summary by CodeRabbit
[Token]
and[Trend]
in the Registry API documentation.GET /downloads/range/:start::end/:pkgName
for fetching package download trends.Trend
endpoint.