summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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