diff options
author | Tomasz Maczukin <tomasz@maczukin.pl> | 2016-01-26 17:03:38 +0100 |
---|---|---|
committer | Tomasz Maczukin <tomasz@maczukin.pl> | 2016-02-19 13:18:46 +0100 |
commit | 128be3c0103f601b2c80f3489646e57e202f6327 (patch) | |
tree | 293399797a6cb9cc5814eac25acd6e5d57c9f1ea /lib/api/entities.rb | |
parent | e586858eb58cc628f700c4f0d6ae7b574def3be9 (diff) | |
download | gitlab-ce-128be3c0103f601b2c80f3489646e57e202f6327.tar.gz |
Add basic runners management API
- add feature to list runners
- add feature to show runners details
- add feature to delete runner
- add feature to update runner
Diffstat (limited to 'lib/api/entities.rb')
-rw-r--r-- | lib/api/entities.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb index a9c09ffdb31..bdbf2cf5082 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -377,6 +377,12 @@ module API expose :name end + class RunnerDetails < Runner + expose :tag_list + expose :version, :revision, :platform, :architecture + expose :contacted_at, as: :last_contact + end + class Build < Grape::Entity expose :id, :status, :stage, :name, :ref, :tag, :coverage expose :created_at, :started_at, :finished_at |