Missing API endpoints for user OAuth applications · Issue #3451 · python-gitlab/python-gitlab
Repository navigation
Missing API endpoints for user OAuth applications #3451
New issue
New issue
Open
#3458
Open
Missing API endpoints for user OAuth applications #3451 #3458
Description
@spanezz's profile spanezz opened on Oct 15, 2026Description of the problem, including code/CLI snippet
User OAuth applications are not currently mapped in the Python API.
In other words, this works:
curl --request GET --header "PRIVATE-TOKEN: ..." --url "https://salsa.debian.org/api/v4/user/applications"
but there seems to be no way of accessing that endpoint from Python.
I'm trying this as a crude workaround, although I'm not yet sure the Python API would map correctly to the REST one:
def user_applications(
self,
) -> gitlab.v4.objects.applications.ApplicationManager:
"""Return the remote GitLab user applications API."""
# TODO: This is not yet mapped in python3-gitlab
class UserApplication(gitlab.v4.objects.applications.Application):
_url = "/user/applications"
class UserApplicationManager(
gitlab.v4.objects.applications.ApplicationManager
):
_path = "/user/applications"
_obj_cls = UserApplication
return UserApplicationManager(self.gl)
- python-gitlab version:
1:8.5.0-1from Debian sid, although I could not find mention of this endpoint also in the online documentation - Gitlab server version (or gitlab.com): salsa.debian.org