Get List of Git Repositories

Returns list of Git repositories.

Role

Administrator 
Normal User 

Method

GET 

URL

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

URL parameters

Parameter Name Type Description
projectIdOrKey String Project ID or Project Key

Response example

Status Line / Response Header

### Response Body 
HTTP/1.1 200 OK 
Content-Type:application/json;charset=utf-8 

Response Body

[ 
    { 
        "id":1, 
        "projectId":151, 
        "name":"app", 
        "description":"", 
        "hookUrl":null, 
        "httpUrl":"https://xx.backlogtool.com/git/BLG/app.git", 
        "sshUrl":"xx@xx.git.backlogtool.com:/BLG/app.git", 
        "displayOrder":0, 
        "pushedAt":null, 
        "createdUser": { 
            "id": 1, 
            "userId": "admin", 
            "name": "admin", 
            "roleType": 1, 
            "lang": "ja", 
            "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", 
            "mailAddress": "eguchi@nulab.example",
            "lastLoginTime": "2022-09-01T06:35:39Z"
        }, 
        "updated": "2013-05-30T09:11:36Z" 
    }, 
    ... 
]