rosa-build/app/views/api/v1/projects/_project.json.jbuilder

5 lines
175 B
Ruby

json.(project, :id, :name)
json.fullname project.name_with_owner
json.url api_v1_project_path(project.id, :format => :json)
json.git_url git_repo_url(project.name_with_owner)