René's URL Explorer Experiment


Title: Getting an error in filtering by path when listing commits · Issue #3100 · python-gitlab/python-gitlab · GitHub

Open Graph Title: Getting an error in filtering by path when listing commits · Issue #3100 · python-gitlab/python-gitlab

X Title: Getting an error in filtering by path when listing commits · Issue #3100 · python-gitlab/python-gitlab

Description: Description of the problem, including code/CLI snippet I want to get a commit list according to a specific folder in a branch, but I can't do this with the python module and I get an error. This is provided by rest api but python module ...

Open Graph Description: Description of the problem, including code/CLI snippet I want to get a commit list according to a specific folder in a branch, but I can't do this with the python module and I get an error. This is...

X Description: Description of the problem, including code/CLI snippet I want to get a commit list according to a specific folder in a branch, but I can't do this with the python module and I get an error. Thi...

Opengraph URL: https://github.com/python-gitlab/python-gitlab/issues/3100

X: @github

direct link

Domain: patch-diff.githubusercontent.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Getting an error in filtering by path when listing commits","articleBody":"## Description of the problem, including code/CLI snippet\nI want to get a commit list according to a specific folder in a branch, but I can't do this with the python module and I get an error. \nThis is provided by rest api but python module gets error with same parameters.\nI run these commands respectively.\n\n```shell\n\ngitlab_api = Gitlab(url=args.gitlab_url, private_token=args.gitlab_token)\n\ngitlab_project = gitlab_api.projects.get(id=args.gitlab_project_id, all=True)\n\ngitlab_project.commits.list(ref_name='main', path='deployemnt/v1.31')\n``` \n\nwhen I run Rest API  I get results and no errors,\n\n/api/v4/projects/4021212/repository/commits?ref_name=main\u0026path=deployemnt/v1.31\n\n## Expected Behavior\n\n![Image](https://github.com/user-attachments/assets/03adefc1-f686-41ca-a11c-e25604a32e65)\n\n## Actual Behavior\n\n\n\u003cdetails\u003e\u003csummary\u003eDetails\u003c/summary\u003e\n\u003cp\u003e\n\n```\ngitlab.exceptions.GitlabHttpError: 404: 404 API Version Not Found\n\nThe above exception was the direct cause of the following exception:\n\nTraceback (most recent call last):\n  File \"\u003cstring\u003e\", line 1, in \u003cmodule\u003e\n  File \"c:\\Users\\y79988\\AppData\\Local\\pypoetry\\Cache\\virtualenvs\\project-mLexHskk-py3.10\\lib\\site-packages\\gitlab\\exceptions.py\", line 346, in wrapped_f\n    raise error(e.error_message, e.response_code, e.response_body) from e\ngitlab.exceptions.GitlabListError: **404: 404 API Version Not Found**\n```\n\n\u003c/p\u003e\n\u003c/details\u003e \n## Specifications\n\n  - python-gitlab version: \"5.0.0\"\n  - Gitlab server version (or gitlab.com):v17.7.1\n","author":{"url":"https://github.com/ahmetdd","@type":"Person","name":"ahmetdd"},"datePublished":"2025-01-24T09:47:49.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/3100/python-gitlab/issues/3100"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:8df1d53b-9e36-2590-f143-b50d92dbde1f
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idEA16:1AD267:4D5EE55:68D4DC1:697313E3
html-safe-nonce08978cdc0aafc9ebf94d5112e386f103ccf40d1d72988d404a98844e8d1e9fdb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQTE2OjFBRDI2Nzo0RDVFRTU1OjY4RDREQzE6Njk3MzEzRTMiLCJ2aXNpdG9yX2lkIjoiODA1NDA3MDE2NDQwNTI5NDA1MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacec737aab4c3cefba2e64744dc00c218bfa88a87971980dab317b70189c38fe73
hovercard-subject-tagissue:2809001836
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python-gitlab/python-gitlab/3100/issue_layout
twitter:imagehttps://opengraph.githubassets.com/95c61283fffcb4cc47c6cbf513f471967228a5514b36fe45de646571046bf412/python-gitlab/python-gitlab/issues/3100
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/95c61283fffcb4cc47c6cbf513f471967228a5514b36fe45de646571046bf412/python-gitlab/python-gitlab/issues/3100
og:image:altDescription of the problem, including code/CLI snippet I want to get a commit list according to a specific folder in a branch, but I can't do this with the python module and I get an error. This is...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameahmetdd
hostnamegithub.com
expected-hostnamegithub.com
None44ab3188c1dcfe3be0f9c3feca2e04e14fb79f120939ce2395e4f15ab96ec1d4
turbo-cache-controlno-preview
go-importgithub.com/python-gitlab/python-gitlab git https://github.com/python-gitlab/python-gitlab.git
octolytics-dimension-user_id28886265
octolytics-dimension-user_loginpython-gitlab
octolytics-dimension-repository_id8077625
octolytics-dimension-repository_nwopython-gitlab/python-gitlab
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id8077625
octolytics-dimension-repository_network_root_nwopython-gitlab/python-gitlab
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasea5e2b48bd1260476599758f5d253b5d24092ab84
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/issues/3100#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-gitlab%2Fpython-gitlab%2Fissues%2F3100
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-gitlab%2Fpython-gitlab%2Fissues%2F3100
Sign up https://patch-diff.githubusercontent.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python-gitlab%2Fpython-gitlab
Reloadhttps://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/issues/3100
Reloadhttps://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/issues/3100
Reloadhttps://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/issues/3100
python-gitlab https://patch-diff.githubusercontent.com/python-gitlab
python-gitlabhttps://patch-diff.githubusercontent.com/python-gitlab/python-gitlab
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-gitlab%2Fpython-gitlab
Fork 675 https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-gitlab%2Fpython-gitlab
Star 2.4k https://patch-diff.githubusercontent.com/login?return_to=%2Fpython-gitlab%2Fpython-gitlab
Code https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab
Issues 26 https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/issues
Pull requests 12 https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/pulls
Discussions https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/discussions
Actions https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/actions
Projects 0 https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/projects
Security 0 https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/security
Insights https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/pulse
Code https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab
Issues https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/issues
Pull requests https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/pulls
Discussions https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/discussions
Actions https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/actions
Projects https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/projects
Security https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/security
Insights https://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/pulse
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/python-gitlab/python-gitlab/issues/3100
New issuehttps://patch-diff.githubusercontent.com/login?return_to=https://github.com/python-gitlab/python-gitlab/issues/3100
Getting an error in filtering by path when listing commitshttps://patch-diff.githubusercontent.com/python-gitlab/python-gitlab/issues/3100#top
https://github.com/ahmetdd
https://github.com/ahmetdd
ahmetddhttps://github.com/ahmetdd
on Jan 24, 2025https://github.com/python-gitlab/python-gitlab/issues/3100#issue-2809001836
https://private-user-images.githubusercontent.com/35094304/406389823-03adefc1-f686-41ca-a11c-e25604a32e65.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NjkxNDk3MTEsIm5iZiI6MTc2OTE0OTQxMSwicGF0aCI6Ii8zNTA5NDMwNC80MDYzODk4MjMtMDNhZGVmYzEtZjY4Ni00MWNhLWExMWMtZTI1NjA0YTMyZTY1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAxMjMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMTIzVDA2MjMzMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWQ3MTJlZjkwZmJjNWU4M2ZiZGZkMTM2Zjg4MjQxODAwZjI3ZWE5NzJmNWE1ZGMyMjBhZGVhMTFmOTlhODlkODMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.YgswywxJ6D-hjhaIVtHz_a3mzAc4l9YkzL3u-GPaSzQ
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.