summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNihad Abbasov <narkoz.2008@gmail.com>2012-11-29 14:59:56 -0800
committerNihad Abbasov <narkoz.2008@gmail.com>2012-12-01 02:04:44 -0800
commit42ef89c98ab39904d313571ec26c67506cdbab59 (patch)
tree57f276476dcbccb42e69e03fe980d42da5bdc20b
parent968c09ae919ce745a158764d49b3aff280324eb5 (diff)
downloadgitlab-ce-42ef89c98ab39904d313571ec26c67506cdbab59.tar.gz
API: expose created date for project hooks and user SSH keys
-rw-r--r--CHANGELOG1
-rw-r--r--lib/api/entities.rb4
2 files changed, 3 insertions, 2 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 2c6152e77dd..73933e0be4b 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,4 +1,5 @@
v 4.0.0
+ - [API] expose created date for hooks and SSH keys
- [API] list, create issue notes
- [API] list, create snippet notes
- [API] list, create wall notes
diff --git a/lib/api/entities.rb b/lib/api/entities.rb
index f985636aa10..9e9d44594a2 100644
--- a/lib/api/entities.rb
+++ b/lib/api/entities.rb
@@ -14,7 +14,7 @@ module Gitlab
end
class Hook < Grape::Entity
- expose :id, :url
+ expose :id, :url, :created_at
end
class Project < Grape::Entity
@@ -61,7 +61,7 @@ module Gitlab
end
class SSHKey < Grape::Entity
- expose :id, :title, :key
+ expose :id, :title, :key, :created_at
end
class MergeRequest < Grape::Entity