Commit 42ef89c98ab39904d313571ec26c67506cdbab59
1 parent
968c09ae
Exists in
master
and in
4 other branches
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
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 | ... | ... |