Comments (3)
In my experimentation, it is because filter parameters are apparently expected to be passed directly instead of via the filter_parameters
query arg.
E.g.: date$gte=2024-03-04
works, filter_parameters=date$gte=2024-03-04
doesn't. I still haven't figured out how to pass multiple filter parameters to set a range, date$gte=2024-03-04&date$lte=2024-03-05
doesn't work.
If I can figure this out, I might look into why the Swagger output is wrong.
from cgm-remote-monitor.
I opened a MR (#8252) to fix range queries for a single field.
Unfortunately I don't think the current implementation of filter_parameters
in APIv3 is OpenAPI / Swagger compatible so I can't figure out a way to fix it. It can made better by changing the type of filter_parameters
to a string array, with style
set to form
and explode
set to true
. Unfortunately it still prepends filter_parameters
to every parameter so the filters aren't actually applied by the API endpoint.
I'll have to see if I can come up with a way to handle the API as defined in the Swagger definition without breaking the old behavior.
from cgm-remote-monitor.
I have opened another MR (#8253) to support filter parameters passed via the filter_parameters
argument to match the behavior described in the current Swagger definition, as well as an update to the Swagger definition which makes it explicit that multiple filter parameters can be passed.
from cgm-remote-monitor.
Related Issues (20)
- Double Entries in nightscout, when deleting and reentering Treatments in AAPS HOT 8
- SAGE: Allow defining max sensor age HOT 2
- Date translation problem HOT 2
- Day to day report: Careportal events with a duration (Temporary target, Exercise, Note) are not displayed past midnight
- Nightscout is crashing at start after mongo db was dropped and made again because of clients with readable tokens.
- Web app stopped to show glucose data
- Authentication via https://ACCESS_TOKEN@HOST/api/v1/entries.json seems to no longer work
- Snooze isn´t working properly. HOT 3
- "no healthy upstream" on NorthFlank HOT 4
- Basal Incorrectly showing as 0 HOT 2
- Data loss in using AndroidAPS-Nightscout, due to Nightscout boot without database connection HOT 1
- Return API v1 entries through API v3 history API
- Trend Arrow doesn't load for up/down on Clock and Main page
- Discord not working
- Northflank build of master fails on wrong npm version in package.json HOT 2
- 丢失Profile
- Connect plugin failing to pull glooko data / Alternate methods to import omnipod 5 data
- Sensor age information updated in x-Drip, but outdated in Nightscout HOT 1
- Alexa error on the first call
- Ability to view BG in clock view as mmol/l or mg/dl HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cgm-remote-monitor.