]> source.dussan.org Git - nextcloud-server.git/commit
OCS API endpoint to resend welcome message
authorMorris Jobke <hey@morrisjobke.de>
Fri, 24 Feb 2017 06:01:13 +0000 (00:01 -0600)
committerMorris Jobke <hey@morrisjobke.de>
Tue, 28 Feb 2017 22:30:33 +0000 (16:30 -0600)
commit50f3efad6f9026be32457e14d925a231b9240eaf
tree3dff851ec26781185733712be1adba6a16d634a9
parent5fc924f6c95f9f718f283deb79f71320b16ceebb
OCS API endpoint to resend welcome message

* send a POST request to ocs/v1.php/cloud/users/USERNAME/resendWelcomeMessage to trigger
  the welcome message to be send
* fixes #3367

example curl statement:

  curl -i https://example.org/ocs/v1.php/cloud/users/USERNAME/welcome -H  "OCS-APIRequest: true" -u admin:password -X POST

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
apps/provisioning_api/appinfo/routes.php
apps/provisioning_api/lib/Controller/UsersController.php
apps/provisioning_api/tests/Controller/UsersControllerTest.php
lib/private/AppFramework/DependencyInjection/DIContainer.php