API: Expose updated_at for notes
This commit is contained in:
parent
8cb41f1989
commit
10080ce362
|
@ -35,6 +35,7 @@ v 8.7.0 (unreleased)
|
||||||
- API: Expose user location (Robert Schilling)
|
- API: Expose user location (Robert Schilling)
|
||||||
- ClosingIssueExtractor regex now also works with colons. e.g. "Fixes: #1234" !3591
|
- ClosingIssueExtractor regex now also works with colons. e.g. "Fixes: #1234" !3591
|
||||||
- Update number of Todos in the sidebar when it's marked as "Done". !3600
|
- Update number of Todos in the sidebar when it's marked as "Done". !3600
|
||||||
|
- API: Expose 'updated_at' for issue, snippet, and merge request notes (Robert Schilling)
|
||||||
|
|
||||||
v 8.6.5
|
v 8.6.5
|
||||||
- Fix importing from GitHub Enterprise. !3529
|
- Fix importing from GitHub Enterprise. !3529
|
||||||
|
|
|
@ -32,6 +32,7 @@ Parameters:
|
||||||
"created_at": "2013-09-30T13:46:01Z"
|
"created_at": "2013-09-30T13:46:01Z"
|
||||||
},
|
},
|
||||||
"created_at": "2013-10-02T09:22:45Z",
|
"created_at": "2013-10-02T09:22:45Z",
|
||||||
|
"updated_at": "2013-10-02T10:22:45Z",
|
||||||
"system": true,
|
"system": true,
|
||||||
"upvote": false,
|
"upvote": false,
|
||||||
"downvote": false,
|
"downvote": false,
|
||||||
|
@ -51,6 +52,7 @@ Parameters:
|
||||||
"created_at": "2013-09-30T13:46:01Z"
|
"created_at": "2013-09-30T13:46:01Z"
|
||||||
},
|
},
|
||||||
"created_at": "2013-10-02T09:56:03Z",
|
"created_at": "2013-10-02T09:56:03Z",
|
||||||
|
"updated_at": "2013-10-02T09:56:03Z",
|
||||||
"system": true,
|
"system": true,
|
||||||
"upvote": false,
|
"upvote": false,
|
||||||
"downvote": false,
|
"downvote": false,
|
||||||
|
@ -223,6 +225,7 @@ Parameters:
|
||||||
"created_at": "2013-09-30T13:46:01Z"
|
"created_at": "2013-09-30T13:46:01Z"
|
||||||
},
|
},
|
||||||
"created_at": "2013-10-02T08:57:14Z",
|
"created_at": "2013-10-02T08:57:14Z",
|
||||||
|
"updated_at": "2013-10-02T08:57:14Z",
|
||||||
"system": false,
|
"system": false,
|
||||||
"upvote": false,
|
"upvote": false,
|
||||||
"downvote": false,
|
"downvote": false,
|
||||||
|
|
|
@ -212,7 +212,7 @@ module API
|
||||||
expose :note, as: :body
|
expose :note, as: :body
|
||||||
expose :attachment_identifier, as: :attachment
|
expose :attachment_identifier, as: :attachment
|
||||||
expose :author, using: Entities::UserBasic
|
expose :author, using: Entities::UserBasic
|
||||||
expose :created_at
|
expose :created_at, :updated_at
|
||||||
expose :system?, as: :system
|
expose :system?, as: :system
|
||||||
expose :noteable_id, :noteable_type
|
expose :noteable_id, :noteable_type
|
||||||
# upvote? and downvote? are deprecated, always return false
|
# upvote? and downvote? are deprecated, always return false
|
||||||
|
|
Loading…
Reference in New Issue