Gitリポジトリ一覧の取得

Gitリポジトリの一覧を取得します。

実行可能な権限

管理者 
一般ユーザー 

メソッド

GET 

URL

/api/v2/projects/:projectIdOrKey/git/repositories 

URL パラメーター

パラメーター名 内容
projectIdOrKey 文字列 プロジェクトのID または プロジェクトキー

レスポンス例

ステータスライン / レスポンスヘッダ

### レスポンスボディ 
HTTP/1.1 200 OK 
Content-Type:application/json;charset=utf-8 

レスポンスボディ

[ 
    { 
        "id":1, 
        "projectId":151, 
        "name":"app", 
        "description":"", 
        "hookUrl":null, 
        "httpUrl":"https://xx.backlog.jp/git/BLG/app.git", 
        "sshUrl":"xx@xx.git.backlog.jp:/BLG/app.git", 
        "displayOrder":0, 
        "pushedAt":null, 
        "createdUser": { 
            "id": 1, 
            "userId": "admin", 
            "name": "admin", 
            "roleType": 1, 
            "lang": "ja", 
            "nulabAccount": {
                "nulabId": "Prm9ZD9DQD5snNWcSYSwZiQoA9WFBUEa2ySznrSnSQRhdC2X8G",
                "name": "admin",
                "uniqueId": "admin"
            },
            "mailAddress": "eguchi@nulab.example",
            "lastLoginTime": "2022-09-01T06:35:39Z"
        }, 
        "created": "2013-05-30T09:11:36Z", 
        "updatedUser": { 
            "id": 1, 
            "userId": "admin", 
            "name": "admin", 
            "roleType": 1, 
            "lang": "ja", 
            "nulabAccount": {
                "nulabId": "Prm9ZD9DQD5snNWcSYSwZiQoA9WFBUEa2ySznrSnSQRhdC2X8G",
                "name": "admin",
                "uniqueId": "admin"
            },
            "mailAddress": "eguchi@nulab.example",
            "lastLoginTime": "2022-09-01T06:35:39Z"
        }, 
        "updated": "2013-05-30T09:11:36Z" 
    }, 
    ... 
]