Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #9161

Closed
Open
Created Apr 21, 2015 by Administrator@rootOwner

Getting permissions for a project while listing projects using API

Created by: vr100

This is a feature / improvement request

Current Behaviour: Permissions for a project is not retrieved when listing the projects using the "GET /projects" api. Instead, we have to query each project individually using the "GET /projects/:id" api to get the permissions the user has for the given project. Reference: http://doc.gitlab.com/ce/api/projects.html

Desired Behaviour: We are integrating currently with the Gitlab apis. We have a use case where we need to list all the projects for which the user is allowed to add web hooks (that is, the user has the access level - master or owner - for the given project). It would be great if the listing projects "GET /projects" api could also retrieve the permissions for the projects that it lists.

Please let me know if more information is needed.

Assignee
Assign to
Time tracking