2015-02-19 19:28:51 +00:00
|
|
|
json.(project, :id, :name, :visibility)
|
2012-10-19 14:52:36 +01:00
|
|
|
json.fullname project.name_with_owner
|
2014-01-21 04:51:49 +00:00
|
|
|
json.url api_v1_project_path(project.id, format: :json)
|
2016-03-20 09:24:23 +00:00
|
|
|
json.git_url project.git_project_address
|
2014-11-27 12:21:39 +00:00
|
|
|
json.maintainer do
|
|
|
|
if project.maintainer
|
|
|
|
json.partial! 'api/v1/maintainers/maintainer', maintainer: project.maintainer
|
|
|
|
end
|
|
|
|
end
|