---
title: "Repository ranking by stars"
method: GET
path: "/v1/collections/{collection_id}/ranking_by_stars/"
tags: ["Collections"]
---

# Repository ranking by stars

`GET /v1/collections/{collection_id}/ranking_by_stars/`

Rank the GitHub repositories in the specified collection according to the number of stars.

## Path parameters

- `collection_id` number, required

## Query parameters

- `period` 'past_28_days' | 'past_month'

## Response `200`

Default Response

---

[API](https://skmtc.net/ossinsight/apis/ossinsight-api.md) · [All operations](https://skmtc.net/ossinsight/apis/ossinsight-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ossinsight/ossinsight-api/revisions/f06e9c828f44/schema)
