PaloAltoNetworks / PaloAltoNetworks/pan.dev

"List route prefix lists" returns plain list as result instead of "data" object like described in documentation

Open
#1,058 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

documentation
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.