471fb52f8c
Position defines a specific location, identified by paths line numbers and image coordinates, within a specific diff, identified by start, head and base commit ids. Text position will have: new_line and old_line Image position will have: width, height, x, y
82 lines
2.8 KiB
JSON
82 lines
2.8 KiB
JSON
{
|
|
"object_kind": "issue",
|
|
"user": {
|
|
"name": "Administrator",
|
|
"username": "root",
|
|
"avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=40\u0026d=identicon"
|
|
},
|
|
"project":{
|
|
"name":"Gitlab Test",
|
|
"description":"Aut reprehenderit ut est.",
|
|
"web_url":"http://example.com/gitlabhq/gitlab-test",
|
|
"avatar_url":null,
|
|
"git_ssh_url":"git@example.com:gitlabhq/gitlab-test.git",
|
|
"git_http_url":"http://example.com/gitlabhq/gitlab-test.git",
|
|
"namespace":"GitlabHQ",
|
|
"visibility_level":20,
|
|
"path_with_namespace":"gitlabhq/gitlab-test",
|
|
"default_branch":"master",
|
|
"homepage":"http://example.com/gitlabhq/gitlab-test",
|
|
"url":"http://example.com/gitlabhq/gitlab-test.git",
|
|
"ssh_url":"git@example.com:gitlabhq/gitlab-test.git",
|
|
"http_url":"http://example.com/gitlabhq/gitlab-test.git"
|
|
},
|
|
"repository":{
|
|
"name": "Gitlab Test",
|
|
"url": "http://example.com/gitlabhq/gitlab-test.git",
|
|
"description": "Aut reprehenderit ut est.",
|
|
"homepage": "http://example.com/gitlabhq/gitlab-test"
|
|
},
|
|
"object_attributes": {
|
|
"id": 301,
|
|
"title": "New API: create/update/delete file",
|
|
"assignee_id": 51,
|
|
"author_id": 51,
|
|
"project_id": 14,
|
|
"created_at": "2013-12-03T17:15:43Z",
|
|
"updated_at": "2013-12-03T17:15:43Z",
|
|
"change_position": {
|
|
"base_sha": null,
|
|
"start_sha": null,
|
|
"head_sha": null,
|
|
"old_path": null,
|
|
"new_path": null,
|
|
"position_type": "text",
|
|
"old_line": null,
|
|
"new_line": null
|
|
},
|
|
"original_position": {
|
|
"base_sha": "0a87d409a2d5ffbf586ed3e7ff36396ca59c3c14",
|
|
"start_sha": "5f7519856cb2a7c05427a8c1e83f941828567923",
|
|
"head_sha": "562e173be03b8ff2efb05345d12df18815438a4b",
|
|
"old_path": "core/src/main/java/com/example/server/CorbaServer.java",
|
|
"new_path": "core/src/main/java/com/example/server/CorbaServer.java",
|
|
"position_type": "text",
|
|
"old_line": null,
|
|
"new_line": 74
|
|
},
|
|
"position": {
|
|
"base_sha": "0a87d409a2d5ffbf586ed3e7ff36396ca59c3c14",
|
|
"start_sha": "5f7519856cb2a7c05427a8c1e83f941828567923",
|
|
"head_sha": "562e173be03b8ff2efb05345d12df18815438a4b",
|
|
"old_path": "core/src/main/java/com/example/server/CorbaServer.java",
|
|
"new_path": "core/src/main/java/com/example/server/CorbaServer.java",
|
|
"position_type": "text",
|
|
"old_line": null,
|
|
"new_line": 74
|
|
},
|
|
"branch_name": null,
|
|
"description": "Create new API for manipulations with repository",
|
|
"milestone_id": null,
|
|
"state": "opened",
|
|
"iid": 23,
|
|
"url": "http://example.com/diaspora/issues/23",
|
|
"action": "open"
|
|
},
|
|
"assignee": {
|
|
"name": "User1",
|
|
"username": "user1",
|
|
"avatar_url": "http://www.gravatar.com/avatar/e64c7d89f26bd1972efa854d13d7dd61?s=40\u0026d=identicon"
|
|
}
|
|
}
|