Skip to content
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

Remove public access to project API endpoint #892

Merged
merged 6 commits into from Sep 7, 2023
Merged

Remove public access to project API endpoint #892

merged 6 commits into from Sep 7, 2023

Conversation

noliveleger
Copy link
Contributor

@noliveleger noliveleger commented Sep 6, 2023

Description

Users cannot upload, update or delete projects with API v1 anymore.

Additional info

KPI Kobocat proxy is still able to use it though. Unit tests have been updated accordingly.
Scripts / links which still point to this endpoint /api/v1/forms/ should now use https://[kpi]/api/v2/assets/ instead.

Copy link
Contributor

@LMNTL LMNTL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This works well in my testing! It might be good to update the Deprecation Notices section of README.md. But since the endpoints aren't being removed, just requiring authentication, I'm not convinced it's necessary. I'm approving 👍

XLSForm uploads were disabled in the UI on 14 June 2021, and #892
removes them from the API as well. Perform all form management through
KPI instead.
@jnm
Copy link
Member

jnm commented Sep 7, 2023

Good idea. I did some work on README.md and REMOVALS.md

@jnm jnm merged commit b8b9259 into beta Sep 7, 2023
2 of 3 checks passed
@jnm jnm deleted the block-api-form branch September 7, 2023 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants