---
title: "Star Repository"
method: PUT
path: "/api/v2/repos/star/{username}/{repo_name}"
---

# Star Repository

`PUT /api/v2/repos/star/{username}/{repo_name}`

Star a repository by username and repo name.

## Path parameters

- `username` string, required
- `repo_name` string, required

## Headers

- `authorization` string, nullable

## Cookies

- `modaic_session` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

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