- Community Home
- >
- Software
- >
- HPE Morpheus Software
- >
- HPE Morpheus Enterprise
- >
- Question/Issue with /api/networks and name= filter
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2024 01:14 PM
08-29-2024 01:14 PM
Question/Issue with /api/networks and name= filter
I’m sure it’s a “me” thing, but I’m trying to hit the API to query for networks, but I’m looking to use the listed filter by name with wildcard option to cut down on what’s returned (as we have a boatload of networks)
I’m trying to do ‘/api/networks?name=%-A’ (or %-2 in my test environment) via Python3 Request, which a requests.url() is showing the % is encoded as %25 as expected (and as the demo code in the API reference at Get All Networks shows), but I keep getting no results returned.
This happens no matter the pattern I try to do with the % in there.
I even tried with my params= set to contain the field values for offset of 0, max of -1, and name of “3006-%-2” which should return one network but I’m receiving no results.
The encoded URL being sent is ‘/api/networks?offset=0&max=-1&name=3006-%25-2’
Can someone help me with what I’m doing wrong?
Thanks!
- Tags:
- API

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2024 05:05 AM
08-30-2024 05:05 AM
Re: Question/Issue with /api/networks and name= filter
Ollie,
Submitted under Case 207635
Thanks!
– Ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2024 01:06 AM
08-30-2024 01:06 AM
Re: Question/Issue with /api/networks and name= filter
I’m seeing similar. I don’t know if a bug, but it at least is not working as the documentation suggests it should.
Are you able to raise a support case. That would be best. I’m happy to pick it up.