Commit 4e70f251 authored by Tomasz Maczukin's avatar Tomasz Maczukin

Update ./doc/api/builds.md

parent 96bbc145
This diff is collapsed.
......@@ -375,8 +375,9 @@ module API
end
class Build < Grape::Entity
expose :id, :status, :stage, :name, :ref, :tag, :coverage, :user
expose :id, :status, :stage, :name, :ref, :tag, :coverage
expose :created_at, :started_at, :finished_at
expose :user, with: UserFull
expose :download_url do |repo_obj, options|
if options[:user_can_download_artifacts]
repo_obj.download_url
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment