Skip to content
Snippets Groups Projects

Extend projects API with CI data

Merged Tomasz Maczukin requested to merge ci/api-projects into master

Reference #4264 (closed)

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Tomasz Maczukin Added 1 commit:

    Added 1 commit:

    • fc4108b3 - Modify CI features in projects API
  • @DouweM @rspeicher Can you review?

  • Tomasz Maczukin Title changed from [WIP] Extend projects API with CI data to Extend projects API with CI data

    Title changed from [WIP] Extend projects API with CI data to Extend projects API with CI data

  • Douwe Maan
    Douwe Maan @DouweM started a thread on the diff
  • 69 69 # Example Request:
    70 70 # GET /projects/:id
    71 71 get ":id" do
    72 present user_project, with: Entities::ProjectWithAccess, user: current_user
    72 present user_project, with: Entities::ProjectWithAccess, user: current_user,
    73 user_can_admin_project: can?(current_user, :admin_project, user_project)
  • Douwe Maan mentioned in commit 9664424c

    mentioned in commit 9664424c

  • Douwe Maan Status changed to merged

    Status changed to merged

  • Please register or sign in to reply
    Loading