PaloAltoNetworks / PaloAltoNetworks/pan.dev
"List route prefix lists" returns plain list as result instead of "data" object like described in documentation
Nobody has claimed this yet.
- Dominant language
- MDX
- Stars
- 78
- Forks
- 88
- Avg merge
- 5d 17h
- Merged PRs (30d)
- 18
Description
Documentation link
https://pan.dev/scm/api/config/ngfw/network/list-route-prefix-lists/
Describe the problem
In contrast to the documentation, the response object is a list and not a dictionary (like { "data": [ ] } )
Suggested fix
Change the response object to return { "data": [ ] }
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked documentation page for “List route prefix lists” and inspect its source or surrounding API documentation to determine whether the documented response or the endpoint behavior is authoritative. Confirm the actual response shape, then update the relevant documentation or contract so the example and description agree on whether the result is a list or a data object.
Written by the indexing model from the issue text.
Assessment
- Domain
- api, documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100