--- title: "리포지토리 목록 조회" slug: "devtools-sourcecommit-repositorylist" tags: ["SourceCommit"] updated: 2026-09-17T09:16:26Z published: 2026-09-17T09:16:26Z canonical: "api.ncloud-docs.com/devtools-sourcecommit-repositorylist" --- > ## Documentation Index > Fetch the complete documentation index at: https://api.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # 리포지토리 목록 조회 Classic/VPC 환경에서 이용 가능합니다. 리포지토리 목록을 조회합니다. ## 요청 요청 형식을 설명합니다. 요청 형식은 다음과 같습니다. | 메서드 | URI | | --- | --- | | GET | /api/v1/repository | ### 요청 헤더 SourceCommit API에서 공통으로 사용하는 헤더에 대한 정보는 [SourceCommit 요청 헤더](/docs/devtools-sourcecommit#%EC%9A%94%EC%B2%AD%ED%97%A4%EB%8D%94)를 참조해 주십시오. ### 요청 쿼리 파라미터 요청 쿼리 파라미터에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `repositoryName` | String | Optional | 검색 키워드 - 리포지토리 이름이 전체 또는 부분 일치하는 값 필터링 | | `pageNo` | Number | Optional | 페이지 번호 - 1~N (기본값: 1) | | `pageSize` | Number | Optional | 페이지당 항목 수 - 1~N - 미입력 시 전체 목록 표시 | ### 요청 예시 요청 예시는 다음과 같습니다. ``` curl --location --request GET 'https://sourcecommit.apigw.ntruss.com/api/v1/repository?repositoryName=repository&pageNo=1&pageSize=100' \ --header 'x-ncp-iam-access-key: {Access Key}' \ --header 'x-ncp-apigw-timestamp: {Timestamp}' \ --header 'x-ncp-apigw-signature-v2: {API Gateway Signature}' ``` ## 응답 응답 형식을 설명합니다. ### 응답 바디 응답 바디에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `result` | Object | - | 응답 결과 | | `result.total` | Number | - | 응답 결과 수 | | `result.repository` | Array | - | 리포지토리 목록: [repository](/docs/devtools-sourcecommit-repositorydelete#repository) | #### `repository` `repository`에 대한 설명은 다음과 같습니다. | 필드 | 타입 | 필수 여부 | 설명 | | --- | --- | --- | --- | | `id` | Number | - | 리포지토리 아이디 | | `name` | String | - | 리포지토리 이름 | | `permission` | String | - | 상세 정보 조회 권한 소유 여부 - `Allow` \| `Deny` - `Allow`: 소유 - `Deny`: 소유 안 함 | | `actionName` | String | - | 상세 정보 조회 권한 이름 | ### 응답 상태 코드 SourceCommit API에서 공통으로 사용하는 응답 상태 코드에 대한 정보는 [SourceCommit 응답 상태 코드](/docs/devtools-sourcecommit#%EC%9D%91%EB%8B%B5%EC%83%81%ED%83%9C%EC%BD%94%EB%93%9C)를 참조해 주십시오. ### 응답 예시 응답 예시는 다음과 같습니다. ``` { "result": { "total": 2, "repository": [ { "id": 632***, "name": "repository002", "permission": "Allow", "actionName": "View/getRepositoryDetail" }, { "id": 632***, "name": "repository001", "permission": "Allow", "actionName": "View/getRepositoryDetail" } ] } } ```