mirror of
https://github.com/nextcloud/approve_links.git
synced 2025-10-26 15:07:16 +01:00
No description
|
|
||
|---|---|---|
| .github | ||
| .tx | ||
| appinfo | ||
| img | ||
| l10n | ||
| lib | ||
| src | ||
| templates | ||
| tests | ||
| .eslintrc.cjs | ||
| .gitignore | ||
| .l10nignore | ||
| .nextcloudignore | ||
| .php-cs-fixer.dist.php | ||
| AUTHORS.md | ||
| CHANGELOG.md | ||
| CODE_OF_CONDUCT.md | ||
| composer.json | ||
| composer.lock | ||
| COPYING | ||
| krankerl.toml | ||
| openapi.json | ||
| package-lock.json | ||
| package.json | ||
| psalm.xml | ||
| README.md | ||
| stylelint.config.cjs | ||
| webpack.js | ||
Approve links in Nextcloud
Generate approval links in Nextcloud.
If you want to get something approved, you can generate an approve link with this app. The generated link leads to an approval page with a description and 2 buttons to approve or reject. Clicking on those buttons will perform a request to the approve or reject callback URI.
You can generate a link with this API endpoint:
POST /ocs/v2.php/apps/approve_links/api/v1/link
This endpoint can only be used by users and groups that were authorized in the Administration priviledges
Approve links generation section in the admin settings.
You must provide the following parameters:
- approveCallbackUri: (string, required) The callback URI to request when the
approvebutton is clicked - rejectCallbackUri: (string, required) The callback URI to request when the
rejectbutton is clicked - description: (string, required) The description displayed in the approval page