Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
10080ce3
Commit
10080ce3
authored
Apr 12, 2016
by
Robert Schilling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
API: Expose updated_at for notes
parent
8cb41f19
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
1 deletion
+5
-1
CHANGELOG
CHANGELOG
+1
-0
doc/api/notes.md
doc/api/notes.md
+3
-0
lib/api/entities.rb
lib/api/entities.rb
+1
-1
No files found.
CHANGELOG
View file @
10080ce3
...
...
@@ -35,6 +35,7 @@ v 8.7.0 (unreleased)
- API: Expose user location (Robert Schilling)
- 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
- API: Expose 'updated_at' for issue, snippet, and merge request notes (Robert Schilling)
v 8.6.5
- Fix importing from GitHub Enterprise. !3529
...
...
doc/api/notes.md
View file @
10080ce3
...
...
@@ -32,6 +32,7 @@ Parameters:
"created_at"
:
"2013-09-30T13:46:01Z"
},
"created_at"
:
"2013-10-02T09:22:45Z"
,
"updated_at"
:
"2013-10-02T10:22:45Z"
,
"system"
:
true
,
"upvote"
:
false
,
"downvote"
:
false
,
...
...
@@ -51,6 +52,7 @@ Parameters:
"created_at"
:
"2013-09-30T13:46:01Z"
},
"created_at"
:
"2013-10-02T09:56:03Z"
,
"updated_at"
:
"2013-10-02T09:56:03Z"
,
"system"
:
true
,
"upvote"
:
false
,
"downvote"
:
false
,
...
...
@@ -223,6 +225,7 @@ Parameters:
"created_at"
:
"2013-09-30T13:46:01Z"
},
"created_at"
:
"2013-10-02T08:57:14Z"
,
"updated_at"
:
"2013-10-02T08:57:14Z"
,
"system"
:
false
,
"upvote"
:
false
,
"downvote"
:
false
,
...
...
lib/api/entities.rb
View file @
10080ce3
...
...
@@ -212,7 +212,7 @@ module API
expose
:note
,
as: :body
expose
:attachment_identifier
,
as: :attachment
expose
:author
,
using:
Entities
::
UserBasic
expose
:created_at
expose
:created_at
,
:updated_at
expose
:system?
,
as: :system
expose
:noteable_id
,
:noteable_type
# upvote? and downvote? are deprecated, always return false
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment