Skip to content

Conversation

@NeverBehave
Copy link

@NeverBehave NeverBehave commented Dec 9, 2025

Fixes: #505

Add support for SVG elevation diagrams via render='svg' parameter on rack elevation endpoint.

Changes

  • Add expect_json parameter to Request.__init__() (defaults to True)
  • Update Request._make_call() to set Accept header and parse responses based on expect_json
  • Create ROMultiFormatDetailEndpoint class for multiformat responses
  • Update Racks.elevation to use ROMultiFormatDetailEndpoint
  • Add documentation to docs/advanced.md

@jnovinger jnovinger requested review from a team and arthanson and removed request for a team, arthanson, bctiemann, jeremystretch and jnovinger December 9, 2025 20:26
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.

Render Elevation as SVG

1 participant