PaloAltoNetworks / PaloAltoNetworks/pan.dev
Issue/Help with "Update Element for Associations (v3.0)"
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/sdwan/api/put-sdwan-v-3-0-api-elements-element-id/
Describe the problem
When passing in the "Required" values in the body (which is only labeled as site_id being required) and passing in the values into the body that I would like to update, I continue to get a "INVALID_JSON_INPUT" "Input JSON does not have all required attributes".
Here is my JSON body I'm trying to pass:
{
"name":"test-api",
"site_id":"############"
}
(the site_id is filled out with the real values in my API call)
Suggested fix
The documentation should be updated to reflect all of the true required values, as the site_id is clearly not the only one that is required.
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 Update Element for Associations (v3.0) documentation page and compare its stated required fields with the reported INVALID_JSON_INPUT response for the example body. Confirm the complete required-attribute list, then update the page so the requirements and example are accurate.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100