Commit 42ef89c98ab39904d313571ec26c67506cdbab59

Authored by Nihad Abbasov
1 parent 968c09ae

API: expose created date for project hooks and user SSH keys

Showing 2 changed files with 3 additions and 2 deletions   Show diff stats
CHANGELOG
1 1 v 4.0.0
  2 + - [API] expose created date for hooks and SSH keys
2 3 - [API] list, create issue notes
3 4 - [API] list, create snippet notes
4 5 - [API] list, create wall notes
... ...
lib/api/entities.rb
... ... @@ -14,7 +14,7 @@ module Gitlab
14 14 end
15 15  
16 16 class Hook < Grape::Entity
17   - expose :id, :url
  17 + expose :id, :url, :created_at
18 18 end
19 19  
20 20 class Project < Grape::Entity
... ... @@ -61,7 +61,7 @@ module Gitlab
61 61 end
62 62  
63 63 class SSHKey < Grape::Entity
64   - expose :id, :title, :key
  64 + expose :id, :title, :key, :created_at
65 65 end
66 66  
67 67 class MergeRequest < Grape::Entity
... ...