You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Missing API endpoints for user OAuth applications #3451
Description 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:
defuser_applications(
self,
) ->gitlab.v4.objects.applications.ApplicationManager:
"""Return the remote GitLab user applications API."""# TODO: This is not yet mapped in python3-gitlabclassUserApplication(gitlab.v4.objects.applications.Application):
_url="/user/applications"classUserApplicationManager(
gitlab.v4.objects.applications.ApplicationManager
):
_path="/user/applications"_obj_cls=UserApplicationreturnUserApplicationManager(self.gl)
python-gitlab version: 1:8.5.0-1 from 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
Activity