Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
Signed-off-by: Swikriti Tripathi <swikriti808@gmail.com>
Signed-off-by: sagargurung1001@gmail.com <sagargurung1001@gmail.com>
  • Loading branch information
SwikritiT authored and SagarGi committed Feb 27, 2023
1 parent fff1c82 commit 8ab1d04
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ To set up or update the integration following data needs to be provided:
- openproject_client_id
- default_enable_navigation
- default_enable_unified_search
- setup_group_folder

> Note: If the `setup_group_folder` key is set to true a new user, group and group folder named `OpenProject` will be created in case the system already doesn't have one or more of these present

1. **Set up the whole integration with a [POST] request**
Expand All @@ -42,7 +45,7 @@ To set up or update the integration following data needs to be provided:
Example curl request to set up whole integration
```bash
curl -XPOST -u<nextcloud_admin_username>:<nextcloud_admin_password> http://<nextcloud_host>/index.php/apps/integration_openproject/setup \
-d '{"values":{"openproject_instance_url":"<openproject_instance_url>","openproject_client_id":"<openproject_client_id>","openproject_client_secret":"<openproject_client_secret>","default_enable_navigation":false,"default_enable_unified_search":false}}' \
-d '{"values":{"openproject_instance_url":"<openproject_instance_url>","openproject_client_id":"<openproject_client_id>","openproject_client_secret":"<openproject_client_secret>","default_enable_navigation":false,"default_enable_unified_search":false,"setup_group_folder":false}}' \
-H 'Content-Type: application/json' -v
```

Expand Down Expand Up @@ -94,7 +97,7 @@ To set up or update the integration following data needs to be provided:
"openproject_revocation_status": "<openproject_revocation_status>"
}
```
***Note: In the response `openproject_revocation_status` is included only after successfull connection***
***Note: In the response `openproject_revocation_status` is included only after a successful connection***

## Setting up the integration with shell script

Expand Down

0 comments on commit 8ab1d04

Please sign in to comment.