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

feat(api): Move from index.php to ocs API #997

Merged
merged 2 commits into from
Oct 21, 2024
Merged

Conversation

nickvergessen
Copy link
Member

No description provided.

@GretaD GretaD merged commit e5035f8 into master Oct 21, 2024
22 checks passed
@GretaD GretaD deleted the feat/noid/move-to-ocs branch October 21, 2024 11:57
@nickvergessen
Copy link
Member Author

/backport to stable27

@tobiasKaminsky
Copy link
Member

@GretaD or @nickvergessen can we have a bit of documentation?
Mobile team also shall implement it :)

@nickvergessen
Copy link
Member Author

we should do openapi I guess.


Until then:

So clients should now be able to get the state:

GET https://nextcloud31.local/ocs/v2.php/apps/terms_of_service/terms

has a data field "hasSigned":false
and then they need to open the frontend if possible
or they show the details from that request
and then send a POST to:

POST https://nextcloud31.local/ocs/v2.php/apps/terms_of_service/sign

should add openapi specs I guess
but at least for the quick fix it should work

@nickvergessen
Copy link
Member Author

OpenAPI added in #1011

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.

3 participants