-
Notifications
You must be signed in to change notification settings - Fork 7
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
Chore/setup update api v2 #138
Conversation
@thepsalmist all v2 endpoints passed but a confusion may arise with Check out API endpoints list we have on V2 and V1
The |
Thanks @gideonmaina updating as per above |
🚨🚨 |
The above issues have been resolved |
Resolved |
Observations for
|
@thepsalmist There is also this |
@thepsalmist the endpoints called from the frontend currently are: v1
v2
and this filter |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All v2
endpoints are working as expected 🙌🏼.
These observations/ recommendations can be a new issue.
sensorsafrica/api/v1/views.py
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is Django v >=1.10
…sensors.AFRICA-api into chore/setup-update-api-v2
Hey @thepsalmist what is holding us back? |
Description
The PR introduces build fixes and dependency upgrades & patches for implementation of authentication for key endpoints prone to bot crawling. The affected endpoints/views in API
v1
aredata
,now
andnode
. The API endpoints inv2
all useToken
andSession
authentication.Push sensors data endpoint still remains on
v1/push-sensor-data
. Note: This would require firmware upgradeFixes issues #134, #135, #136
Type of change
Please delete options that are not relevant.
Checklist: