René's URL Explorer Experiment


Title: Inconsistent behaviour in handling projectid param for different list APIs · Issue #11517 · apache/cloudstack · GitHub

Open Graph Title: Inconsistent behaviour in handling projectid param for different list APIs · Issue #11517 · apache/cloudstack

X Title: Inconsistent behaviour in handling projectid param for different list APIs · Issue #11517 · apache/cloudstack

Description: problem Many list APIs support the projectid parameter to filter resources for a specific project. However, when projectid = -1 is passed with listall=true, the behavior is inconsistent: some APIs return all resources accessible to the c...

Open Graph Description: problem Many list APIs support the projectid parameter to filter resources for a specific project. However, when projectid = -1 is passed with listall=true, the behavior is inconsistent: some APIs ...

X Description: problem Many list APIs support the projectid parameter to filter resources for a specific project. However, when projectid = -1 is passed with listall=true, the behavior is inconsistent: some APIs ...

Opengraph URL: https://github.com/apache/cloudstack/issues/11517

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Inconsistent behaviour in handling projectid param for different list APIs","articleBody":"### problem\n\nMany list APIs support the projectid parameter to filter resources for a specific project. However, when projectid = -1 is passed with listall=true, the behavior is inconsistent: some APIs return all resources accessible to the caller (typically for admins), while others only return resources explicitly associated with a project. This inconsistency creates confusion, and we should explore options to normalize the behavior across APIs.\n\nRelated:\n\n- https://github.com/apache/cloudstack/issues/9602\n- https://github.com/apache/cloudstack-cloudmonkey/pull/185#issuecomment-3220902626\n\n### versions\n4.21-Snapshot, earlier\n\n### Different API behaviour for listVirtualMachines and listNetworks\n\n```\n(localcloud) 🐱 \u003e list networks listall=true filter=id,name,project\n{\n  \"count\": 1,\n  \"network\": [\n    {\n      \"id\": \"8d7f5b0f-f215-48ee-92f5-8cbd1d0259d9\",\n      \"name\": \"demonet\"\n    }\n  ]\n}\n(localcloud) 🐱 \u003e list virtualmachines projectid=-1 listall=true filter=id,name,project\n{\n  \"count\": 3,\n  \"virtualmachine\": [\n    {\n      \"id\": \"e34775ec-720b-42b4-a7ee-726e399e429d\",\n      \"name\": \"kvm-vm\"\n    },\n    {\n      \"id\": \"76108354-30fe-4ced-a18d-0db35afca135\",\n      \"name\": \"proxmox-vm\"\n    },\n    {\n      \"id\": \"0a652b81-c2b2-45b4-a747-0de511fcdcc7\",\n      \"name\": \"project-vm\",\n      \"project\": \"demo\"\n    }\n  ]\n}\n(localcloud) 🐱 \u003e list virtualmachines listall=true filter=id,name,project\n{\n  \"count\": 2,\n  \"virtualmachine\": [\n    {\n      \"id\": \"e34775ec-720b-42b4-a7ee-726e399e429d\",\n      \"name\": \"kvm-vm\"\n    },\n    {\n      \"id\": \"76108354-30fe-4ced-a18d-0db35afca135\",\n      \"name\": \"proxmox-vm\"\n    }\n  ]\n}\n(localcloud) 🐱 \u003e list networks projectid=-1 listall=true filter=id,name,project\n{\n  \"count\": 1,\n  \"network\": [\n    {\n      \"id\": \"2640fda5-2b5a-4f7f-8750-b2b898ea9e9a\",\n      \"name\": \"project-l2\",\n      \"project\": \"demo\"\n    }\n  ]\n}\n(localcloud) 🐱 \u003e list networks listall=true filter=id,name,project\n{\n  \"count\": 1,\n  \"network\": [\n    {\n      \"id\": \"8d7f5b0f-f215-48ee-92f5-8cbd1d0259d9\",\n      \"name\": \"demonet\"\n    }\n  ]\n}\n```","author":{"url":"https://github.com/shwstppr","@type":"Person","name":"shwstppr"},"datePublished":"2025-08-26T07:02:15.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/11517/cloudstack/issues/11517"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:87246ae5-0bd9-e850-6225-06b918c1bbb4
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC478:1368EB:D02F67:1244AD4:6A4E8BC6
html-safe-noncef6fd392d58a2c11cf0d3f3072c071b42f4bc7c2460b7351a2dcd1293ac9af91e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNDc4OjEzNjhFQjpEMDJGNjc6MTI0NEFENDo2QTRFOEJDNiIsInZpc2l0b3JfaWQiOiIxOTcyNTgxMjcyODQxNTIyMTE4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacaf8c4dcff3867875854fc37e1242e902136189cad744d190c6450a87bcd2aa01
hovercard-subject-tagissue:3354405461
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/apache/cloudstack/11517/issue_layout
twitter:imagehttps://opengraph.githubassets.com/0337d78f4915a5313835606f11b6de20210ef65500f908c8c7efbde5ddd468c5/apache/cloudstack/issues/11517
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/0337d78f4915a5313835606f11b6de20210ef65500f908c8c7efbde5ddd468c5/apache/cloudstack/issues/11517
og:image:altproblem Many list APIs support the projectid parameter to filter resources for a specific project. However, when projectid = -1 is passed with listall=true, the behavior is inconsistent: some APIs ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameshwstppr
hostnamegithub.com
expected-hostnamegithub.com
None41b6ab3ba6d20a71766ac245b5a4a94c6fc672a9cd4da7d44c1b33ab8bf6a21c
turbo-cache-controlno-preview
go-importgithub.com/apache/cloudstack git https://github.com/apache/cloudstack.git
octolytics-dimension-user_id47359
octolytics-dimension-user_loginapache
octolytics-dimension-repository_id9759448
octolytics-dimension-repository_nwoapache/cloudstack
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id9759448
octolytics-dimension-repository_network_root_nwoapache/cloudstack
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
releasee6a744804e8e70f97b4d5a18a94dcc63db22f97a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/apache/cloudstack/issues/11517#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapache%2Fcloudstack%2Fissues%2F11517
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fapache%2Fcloudstack%2Fissues%2F11517
Sign up https://github.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=apache%2Fcloudstack
Reloadhttps://github.com/apache/cloudstack/issues/11517
Reloadhttps://github.com/apache/cloudstack/issues/11517
Reloadhttps://github.com/apache/cloudstack/issues/11517
Please reload this pagehttps://github.com/apache/cloudstack/issues/11517
apache https://github.com/apache
cloudstackhttps://github.com/apache/cloudstack
Notifications https://github.com/login?return_to=%2Fapache%2Fcloudstack
Fork 1.3k https://github.com/login?return_to=%2Fapache%2Fcloudstack
Star 3k https://github.com/login?return_to=%2Fapache%2Fcloudstack
Code https://github.com/apache/cloudstack
Issues 536 https://github.com/apache/cloudstack/issues
Pull requests 265 https://github.com/apache/cloudstack/pulls
Discussions https://github.com/apache/cloudstack/discussions
Actions https://github.com/apache/cloudstack/actions
Projects https://github.com/apache/cloudstack/projects
Wiki https://github.com/apache/cloudstack/wiki
Security and quality 0 https://github.com/apache/cloudstack/security
Insights https://github.com/apache/cloudstack/pulse
Code https://github.com/apache/cloudstack
Issues https://github.com/apache/cloudstack/issues
Pull requests https://github.com/apache/cloudstack/pulls
Discussions https://github.com/apache/cloudstack/discussions
Actions https://github.com/apache/cloudstack/actions
Projects https://github.com/apache/cloudstack/projects
Wiki https://github.com/apache/cloudstack/wiki
Security and quality https://github.com/apache/cloudstack/security
Insights https://github.com/apache/cloudstack/pulse
#11767https://github.com/apache/cloudstack/pull/11767
Inconsistent behaviour in handling projectid param for different list APIshttps://github.com/apache/cloudstack/issues/11517#top
#11767https://github.com/apache/cloudstack/pull/11767
4.22.0https://github.com/apache/cloudstack/milestone/37
https://github.com/shwstppr
shwstpprhttps://github.com/shwstppr
on Aug 26, 2025https://github.com/apache/cloudstack/issues/11517#issue-3354405461
Enabling the Project toggle doesn't list the admin created networks #9602https://github.com/apache/cloudstack/issues/9602
autocomplete: allow searching for VMs belonging to projects cloudstack-cloudmonkey#185 (comment)https://github.com/apache/cloudstack-cloudmonkey/pull/185#issuecomment-3220902626
4.22.0https://github.com/apache/cloudstack/milestone/37
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.