Skip to content

Closes #19167: Update REST API examples #19353

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

markkuleinio
Copy link
Contributor

Closes: #19167

Update the REST API examples in the documentation to match the format used by NetBox 4.2.7.

Also add some JSON formatting.

@markkuleinio
Copy link
Contributor Author

markkuleinio commented Apr 29, 2025

Unsure if I missed something but I didn't get API-Version header in the NetBox API responses when testing with 4.2.7.

(Update: Missed the Content-Type header when testing the API-Version header)

@jnovinger jnovinger requested review from a team and jeremystretch and removed request for a team April 29, 2025 15:21
Copy link
Member

@jeremystretch jeremystretch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @markkuleinio!

@jeremystretch jeremystretch merged commit 0466c8e into netbox-community:main Apr 29, 2025
@markkuleinio markkuleinio deleted the 19167-update-api-examples branch April 29, 2025 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update REST API examples to current format
2 participants