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
Issue 389 publish sensor data api documentation #390
Commits on Mar 7, 2022
-
Move sensor data API from dev to v2 and use flask-classful
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for f6f1b91 - Browse repository at this point
Copy the full SHA f6f1b91View commit details
Commits on Mar 8, 2022
-
Configuration menu - View commit details
-
Copy full SHA for f92d182 - Browse repository at this point
Copy the full SHA f92d182View commit details -
Configuration menu - View commit details
-
Copy full SHA for 84f4169 - Browse repository at this point
Copy the full SHA 84f4169View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9eb7299 - Browse repository at this point
Copy the full SHA 9eb7299View commit details -
Refactor use of auth_required in SensorAPI
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for ea7a77d - Browse repository at this point
Copy the full SHA ea7a77dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d2f329 - Browse repository at this point
Copy the full SHA 9d2f329View commit details -
Configuration menu - View commit details
-
Copy full SHA for 25ba2de - Browse repository at this point
Copy the full SHA 25ba2deView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0126169 - Browse repository at this point
Copy the full SHA 0126169View commit details -
valid JSON, rather than a python dict
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for 7ce3f14 - Browse repository at this point
Copy the full SHA 7ce3f14View commit details -
Move import to its preferred position
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for cb205ba - Browse repository at this point
Copy the full SHA cb205baView commit details -
Rename and add type annotation
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for 841f1d3 - Browse repository at this point
Copy the full SHA 841f1d3View commit details -
Allow AssetIdField and SensorIdField to be used for API requests, too…
…, besides for CLI scripts Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for f126561 - Browse repository at this point
Copy the full SHA f126561View commit details -
Update tutorial for posting data
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for 2e3bf11 - Browse repository at this point
Copy the full SHA 2e3bf11View commit details -
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for e6db62f - Browse repository at this point
Copy the full SHA e6db62fView commit details -
Configuration menu - View commit details
-
Copy full SHA for de46436 - Browse repository at this point
Copy the full SHA de46436View commit details -
Update docstring for unit conversion
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for 2ab771b - Browse repository at this point
Copy the full SHA 2ab771bView commit details -
Respect the passed horizon and prior fields
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for 1a7414e - Browse repository at this point
Copy the full SHA 1a7414eView commit details -
Convert NaN to null (otherwise invalid JSON)
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for 70e3793 - Browse repository at this point
Copy the full SHA 70e3793View commit details -
Pass event resolution to enable additional unit conversions
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for 2ef234f - Browse repository at this point
Copy the full SHA 2ef234fView commit details -
Smarter unit conversion for BeliefsSeries
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for bc5ffbe - Browse repository at this point
Copy the full SHA bc5ffbeView commit details -
Revert to auth_token_required instead of login_required
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for 3e85a5e - Browse repository at this point
Copy the full SHA 3e85a5eView commit details -
Deserialize to BeliefsDataFrame using post_load decorator, and run th…
…rough post_load decorators in a specific sequence Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for 5738a29 - Browse repository at this point
Copy the full SHA 5738a29View commit details -
Move serialization logic to schema
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for 9cd8f9b - Browse repository at this point
Copy the full SHA 9cd8f9bView commit details -
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for c76766e - Browse repository at this point
Copy the full SHA c76766eView commit details -
Introduce util function to check for a valid price unit
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for 271c435 - Browse repository at this point
Copy the full SHA 271c435View commit details -
Comment out tutorial sections on posting data for multiple connection…
…s at once Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for 56a5f25 - Browse repository at this point
Copy the full SHA 56a5f25View commit details -
Update tutorial for posting data: change connection to sensor and sto…
…p mentioning separate endpoints for postMeterData and postPrognosis Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for 8a14c64 - Browse repository at this point
Copy the full SHA 8a14c64View commit details -
Add validation based on POST message type
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for e878f5c - Browse repository at this point
Copy the full SHA e878f5cView commit details -
Publish documentation for SensorDataAPI
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for dfa64b8 - Browse repository at this point
Copy the full SHA dfa64b8View commit details -
Add validation based on GET message type
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for 7de8b6f - Browse repository at this point
Copy the full SHA 7de8b6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c0f0bee - Browse repository at this point
Copy the full SHA c0f0beeView commit details -
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for 29d3381 - Browse repository at this point
Copy the full SHA 29d3381View commit details -
Configuration menu - View commit details
-
Copy full SHA for 852bee8 - Browse repository at this point
Copy the full SHA 852bee8View commit details
Commits on Mar 10, 2022
-
Rename with_appcontext_if_needed
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for eef5d42 - Browse repository at this point
Copy the full SHA eef5d42View commit details -
refactor auth logic - separate checking access from the permission_re…
…quired_for_context decorator Signed-off-by: Nicolas Höning <nicolas@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for 83b774e - Browse repository at this point
Copy the full SHA 83b774eView commit details
Commits on Mar 12, 2022
-
add modern auth for sensor data get & post, remove checking account r…
…ole auth Signed-off-by: Nicolas Höning <nicolas@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for 52b3ba9 - Browse repository at this point
Copy the full SHA 52b3ba9View commit details -
more freedom to create inside accounts: allow all account members to …
…create on generic assets and sensors Signed-off-by: Nicolas Höning <nicolas@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for 9c0695e - Browse repository at this point
Copy the full SHA 9c0695eView commit details -
use a user from the same account as the sensor for sensor data tests
Signed-off-by: Nicolas Höning <nicolas@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for bc9a100 - Browse repository at this point
Copy the full SHA bc9a100View commit details -
adapt asset tests w.r.t. to a change in dev api conftest
Signed-off-by: Nicolas Höning <nicolas@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for 2f31a17 - Browse repository at this point
Copy the full SHA 2f31a17View commit details
Commits on Mar 14, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 352ae60 - Browse repository at this point
Copy the full SHA 352ae60View commit details -
GET endpoints work for logged-in users when tried in the browser with…
… auth_required but not with auth_token_required Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for 210ecbc - Browse repository at this point
Copy the full SHA 210ecbcView commit details -
Configuration menu - View commit details
-
Copy full SHA for b76ebdb - Browse repository at this point
Copy the full SHA b76ebdbView commit details -
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for 9b3f281 - Browse repository at this point
Copy the full SHA 9b3f281View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b67a1f - Browse repository at this point
Copy the full SHA 7b67a1fView commit details -
SensorDataDescriptionSchema doesn't need the
type
fieldSigned-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for 2037394 - Browse repository at this point
Copy the full SHA 2037394View commit details -
Configuration menu - View commit details
-
Copy full SHA for b17a9b8 - Browse repository at this point
Copy the full SHA b17a9b8View commit details -
Move sensor data API documentation to v3
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for 4e804ba - Browse repository at this point
Copy the full SHA 4e804baView commit details -
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for 24ffc1a - Browse repository at this point
Copy the full SHA 24ffc1aView commit details -
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for 77ffdaf - Browse repository at this point
Copy the full SHA 77ffdafView commit details -
Configuration menu - View commit details
-
Copy full SHA for daa43c6 - Browse repository at this point
Copy the full SHA daa43c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3abb649 - Browse repository at this point
Copy the full SHA 3abb649View commit details -
Move user API tests to v3 module
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for c4ea13b - Browse repository at this point
Copy the full SHA c4ea13bView commit details -
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for 41371c7 - Browse repository at this point
Copy the full SHA 41371c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for d2a2e5f - Browse repository at this point
Copy the full SHA d2a2e5fView commit details -
Update documentation tutorials to v3
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for 0c2d199 - Browse repository at this point
Copy the full SHA 0c2d199View commit details -
Configuration menu - View commit details
-
Copy full SHA for 482cde9 - Browse repository at this point
Copy the full SHA 482cde9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 820521e - Browse repository at this point
Copy the full SHA 820521eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0fc14b6 - Browse repository at this point
Copy the full SHA 0fc14b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 70a9406 - Browse repository at this point
Copy the full SHA 70a9406View commit details -
Fix comment about where to request auth token
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for 281af3b - Browse repository at this point
Copy the full SHA 281af3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for d14d85e - Browse repository at this point
Copy the full SHA d14d85eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 89e8dff - Browse repository at this point
Copy the full SHA 89e8dffView commit details -
Revert some documentation changes that are ahead of code changes
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for 2f2cee0 - Browse repository at this point
Copy the full SHA 2f2cee0View commit details -
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for abfc41a - Browse repository at this point
Copy the full SHA abfc41aView commit details -
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for 3fec582 - Browse repository at this point
Copy the full SHA 3fec582View commit details -
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for 80ed32d - Browse repository at this point
Copy the full SHA 80ed32dView commit details
Commits on Mar 15, 2022
-
Configuration menu - View commit details
-
Copy full SHA for a26fad1 - Browse repository at this point
Copy the full SHA a26fad1View commit details -
Transition SensorDataAPI:post to SensorAPI:post_data and SensorDataAP…
…I:get to SensorAPI:get_data Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for 6f34010 - Browse repository at this point
Copy the full SHA 6f34010View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0f2a8f0 - Browse repository at this point
Copy the full SHA 0f2a8f0View commit details -
Update documentation for moving from SensorDataAPI:post to SensorAPI:…
…post_data Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for bf277b0 - Browse repository at this point
Copy the full SHA bf277b0View commit details -
Configuration menu - View commit details
-
Copy full SHA for dcb46f3 - Browse repository at this point
Copy the full SHA dcb46f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for d392423 - Browse repository at this point
Copy the full SHA d392423View commit details -
Implement /sensors [GET] to replace getConnection
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for 64e1100 - Browse repository at this point
Copy the full SHA 64e1100View commit details -
Configuration menu - View commit details
-
Copy full SHA for c06d768 - Browse repository at this point
Copy the full SHA c06d768View commit details -
Add extra tips to API changelog on how to upgrade from v2 to v3
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for 257b5b5 - Browse repository at this point
Copy the full SHA 257b5b5View commit details -
Fix check for belief timing against message type
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for b889992 - Browse repository at this point
Copy the full SHA b889992View commit details
Commits on Mar 16, 2022
-
No need to use implementations folder anymore
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for 6037d60 - Browse repository at this point
Copy the full SHA 6037d60View commit details -
Contain endpoint logic within SensorAPI class
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for 16130a1 - Browse repository at this point
Copy the full SHA 16130a1View commit details
Commits on Mar 17, 2022
-
Contain endpoint logic within UserAPI class
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for 1b6394f - Browse repository at this point
Copy the full SHA 1b6394fView commit details -
Fix mock email and type annotations
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for c16a3bf - Browse repository at this point
Copy the full SHA c16a3bfView commit details -
Initialize schemas within SensorAPI and UserAPI class
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for d4e99db - Browse repository at this point
Copy the full SHA d4e99dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for cdb7704 - Browse repository at this point
Copy the full SHA cdb7704View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c982bb - Browse repository at this point
Copy the full SHA 4c982bbView commit details -
Remove unused variable declaration
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for ea1e1b6 - Browse repository at this point
Copy the full SHA ea1e1b6View commit details -
Clarify use of headers in test
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for 38d3bc1 - Browse repository at this point
Copy the full SHA 38d3bc1View commit details -
Concerning patching user ids and user account ids, set dump_only for …
…these fields instead of ignoring them Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for 9d98f71 - Browse repository at this point
Copy the full SHA 9d98f71View commit details
Commits on Mar 18, 2022
-
Add test cases for unexpected fields
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for ca3154f - Browse repository at this point
Copy the full SHA ca3154fView commit details -
Also move patch endpoint logic into UserAPI class; this one was a bit…
… more tricky, because the 'id' fields was being passed to the function twice somehow; use_kwargs instead of use_args was needed to avoid this Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for 71add34 - Browse repository at this point
Copy the full SHA 71add34View commit details -
Move test utils from dev to v3_0
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for 1f07045 - Browse repository at this point
Copy the full SHA 1f07045View commit details -
Finish moving sensor data tests from dev to v3_0
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for d8b2790 - Browse repository at this point
Copy the full SHA d8b2790View commit details -
Fix asset tests in dev API by moving back some conftest logic
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for 0589009 - Browse repository at this point
Copy the full SHA 0589009View commit details
Commits on Mar 22, 2022
-
Instantiate schemas outside of endpoint logic to minimize response time
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for 3743032 - Browse repository at this point
Copy the full SHA 3743032View commit details -
Add mentions of http status to docstrings
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for bf10bf3 - Browse repository at this point
Copy the full SHA bf10bf3View commit details -
Undocument getService from the API introduction
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for f159094 - Browse repository at this point
Copy the full SHA f159094View commit details -
Undocument USEF roles in introduction
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for 8572b8f - Browse repository at this point
Copy the full SHA 8572b8fView commit details -
Use "sensor" instead of "connection" in introduction
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for 1c013e9 - Browse repository at this point
Copy the full SHA 1c013e9View commit details -
Undocument group notation in introduction
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for dd7c59e - Browse repository at this point
Copy the full SHA dd7c59eView commit details -
Update API changelog for rewrite of introduction
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for c808fe3 - Browse repository at this point
Copy the full SHA c808fe3View commit details -
Update API changelog entry date
Signed-off-by: F.N. Claessen <felix@seita.nl>
Configuration menu - View commit details
-
Copy full SHA for 0358dfa - Browse repository at this point
Copy the full SHA 0358dfaView commit details