한국어
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
Array of GitHub repositories the user has access to
표시 하위 속성
The owner of the repository (user or organization)
"your-org"
The name of the repository
"your-repo"
The full URL to the GitHub repository
"https://github.com/your-org/your-repo"
이 페이지가 도움이 되었나요?