Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork258
Help with weird Siemens Polarion endpoints#1196
-
I'm further struggling with the Siemens Polarion REST API, which seems to be not perfectly specified and need your expert opinion. Here's the API specification to play around, the test drive server is open, although Polarion itself is not. You may need to register and generate an API key to run queries:https://testdrive.polarion.com/polarion/rest/v1 What puzzles me is the When I click "Try it out", this translates to The generated python client expects a SparseFields object that gets sent to the httpx request with to_dict() and each field is treated as an individual query parameter. When I call I resolved it by patching get_work_items._get_kwargs() like this: Is there anything better I colud do? Thanks a lot! |
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 1 comment
-
I actually patched the SparseFields model, as it is used in all GET tequests, but I'm still wondering if that's right. |
BetaWas this translation helpful?Give feedback.