简体中文
cURL
curl --request GET \ --url https://api.cursor.com/v0/repositories \ --header 'Authorization: Bearer <token>'
{ "repositories": [ { "owner": "your-org", "name": "your-repo", "repository": "https://github.com/your-org/your-repo" } ] }
获取已认证用户可访问的 GitHub 仓库列表。
API key from Cursor Dashboard
Repositories retrieved successfully
The response is of type object.
object
此页面对您有帮助吗?