Contents
Get Git Repository
Returns Git repository.
Role
Administrator
Normal User
Method
GET
URL
/api/v2/projects/:projectIdOrKey/git/repositories/:repoIdOrName
URL parameters
Parameter Name | Type | Description |
---|---|---|
projectIdOrKey | String | Project ID or Project Key |
repoIdOrName | String | Repository ID or Repository name |
Response example
Status Line / Response Header
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.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"
}