Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
8c775f9
Generate the Ballerina clien
LinukaAr Jun 12, 2025
e1c5dcb
[Automated] Update the toml files
LinukaAr Jun 12, 2025
2e84333
[Automated] Update the toml files
LinukaAr Jun 12, 2025
29e40a8
add tests
LinukaAr Jun 16, 2025
5eede35
Regenarate files for updated bal version
LinukaAr Jun 19, 2025
699fdc7
Add tests
LinukaAr Jun 19, 2025
0ef3d5a
Update authentication mechanism
LinukaAr Jun 20, 2025
9005883
[Automated] Update the toml files
LinukaAr Jun 20, 2025
aa4c407
Address PR review comments
LinukaAr Jun 24, 2025
2fd43fd
Switch to zoom genaral app type
LinukaAr Jun 24, 2025
48868b7
[Automated] Update the toml files
LinukaAr Jun 24, 2025
4904d84
Add setup instructions
LinukaAr Jun 24, 2025
3d8747c
Add requested changes from code review
LinukaAr Jun 25, 2025
348c413
Change to specific types instead of json
LinukaAr Jun 25, 2025
530e29a
Update the cli command
LinukaAr Jun 25, 2025
7d7f878
Remove configurations related to tests
LinukaAr Jun 26, 2025
6a29409
Use markdown image syntax
LinukaAr Jun 26, 2025
285046f
Refactor error handling
LinukaAr Jun 26, 2025
a5d8608
Add missing details in doc
LinukaAr Jun 26, 2025
68bf4f1
Add sts service
LinukaAr Jun 27, 2025
084e64c
Update formatting in README
LinukaAr Jun 27, 2025
6b92ce7
Improve clarity in README files
LinukaAr Jun 27, 2025
82e7b1c
Merge branch 'ballerina-platform:main' into main
LinukaAr Jun 30, 2025
d0dfd00
Add examples for the connector
LinukaAr Jun 30, 2025
a260f5f
Add examples
LinukaAr Jun 30, 2025
0f1413c
Merge branch 'main' of https://github.com/LinukaAr/module-ballerinax-…
LinukaAr Jun 30, 2025
b1aa1c6
Address PR review comments
LinukaAr Jun 30, 2025
f3fc1e0
Add symlinks
LinukaAr Jun 30, 2025
22915d3
Refactor schedule segments
LinukaAr Jun 30, 2025
06968f7
Refactor event handling logic
LinukaAr Jun 30, 2025
2d4b664
Merge branch 'ballerina-platform:main' into main
LinukaAr Jun 30, 2025
7f5ee30
[Automated] Update the toml files
LinukaAr Jul 1, 2025
28a0425
Refactor Zoom client usage
LinukaAr Jul 1, 2025
e60d1b5
Merge branch 'ballerina-platform:main' into main
LinukaAr Jul 1, 2025
c5007da
Fix sentence case in titles
LinukaAr Jul 1, 2025
a3825bc
Refactor Zoom client usage in README files
LinukaAr Jul 2, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,31 +28,31 @@ To use the `ballerinax/zoom.scheduler` connector, you must have access to the Zo

4. Fill in basic information

### Step 2: Configure OAuth Settings
### Step 2: Configure OAuth settings

1. **Note down your credentials**:
* Client ID
* Client Secret

![App Credentials](https://raw.githubusercontent.com/ballerina-platform/module-ballerinax-zoom.scheduler/refs/heads/main/docs/setup/resources/app-credentials.png)

2. **Set Redirect URI**: Add your application's redirect URI (e.g., `http://localhost:8080/callback`)
2. **Set redirect URI**: Add your application's redirect URI (e.g., `http://localhost:8080/callback`)

![Redirect URI](https://raw.githubusercontent.com/ballerina-platform/module-ballerinax-zoom.scheduler/refs/heads/main/docs/setup/resources/redirect-URI.png)

3. **Add Scopes**: Make sure your Zoom app has the necessary scopes for the Scheduler API:
3. **Add scopes**: Make sure your Zoom app has the necessary scopes for the Scheduler API:
* Add `scheduler:read`, `scheduler:write` and `user:read` in the scope

![Zoom Scopes](https://raw.githubusercontent.com/ballerina-platform/module-ballerinax-zoom.scheduler/refs/heads/main/docs/setup/resources/zoom-scopes.png)

### Step 3: Activate the App
### Step 3: Activate the app

1. Complete all required information
2. Activate the app

![Activate App](https://raw.githubusercontent.com/ballerina-platform/module-ballerinax-zoom.scheduler/refs/heads/main/docs/setup/resources/activate-app.png)

### Step 4: Get User Authorization
### Step 4: Get user authorization

1. **Direct users to authorization URL** (replace `YOUR_CLIENT_ID` and `YOUR_REDIRECT_URI`):
```
Expand All @@ -76,7 +76,7 @@ Replace:
* `AUTHORIZATION_CODE` with the code received from the callback
* `YOUR_REDIRECT_URI` with your configured redirect URI

### Step 5: Verify Your Setup
### Step 5: Verify your setup
```curl
curl -X GET "https://api.zoom.us/v2/users/me" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN"
Expand All @@ -92,7 +92,7 @@ To use the `ballerinax/zoom.scheduler` connector in your Ballerina application,
Import the `zoom.scheduler` module.

```ballerina
import ballerinax/zoom.scheduler;
import ballerinax/zoom.scheduler as zoom;
```

### Step 2: Instantiate a new connector
Expand All @@ -114,7 +114,7 @@ configurable string clientSecret = ?;
configurable string refreshToken = ?;
configurable string userId = ?;

final scheduler:Client zoomClient = check new ({
final zoom:Client zoomClient = check new ({
auth: {
clientId,
clientSecret,
Expand All @@ -131,7 +131,7 @@ Now, utilize the available connector operations.

```ballerina
public function main() returns error? {
zoom.scheduler:InlineResponse2011 schedule = check zoom.scheduler->/schedules.post(
zoom:InlineResponse2011 schedule = check zoomClient->/schedules.post(
payload = {
summary: "Team Meeting",
description: "Weekly team sync",
Expand Down
18 changes: 9 additions & 9 deletions ballerina/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,31 +22,31 @@ To use the Zoom scheduler connector, you must have access to the Zoom API throug

4. Fill in basic information

### Step 2: Configure OAuth Settings
### Step 2: Configure OAuth settings

1. **Note down your credentials**:
* Client ID
* Client Secret

![App Credentials](https://raw.githubusercontent.com/ballerina-platform/module-ballerinax-zoom.scheduler/refs/heads/main/docs/setup/resources/app-credentials.png)

2. **Set Redirect URI**: Add your application's redirect URI (e.g., `http://localhost:8080/callback`)
2. **Set redirect URI**: Add your application's redirect URI (e.g., `http://localhost:8080/callback`)

![Redirect URI](https://raw.githubusercontent.com/ballerina-platform/module-ballerinax-zoom.scheduler/refs/heads/main/docs/setup/resources/redirect-URI.png)

3. **Add Scopes**: Make sure your Zoom app has the necessary scopes for the Scheduler API:
3. **Add scopes**: Make sure your Zoom app has the necessary scopes for the Scheduler API:
* Add `scheduler:read`, `scheduler:write` and `user:read` in the scope

![Zoom Scopes](https://raw.githubusercontent.com/ballerina-platform/module-ballerinax-zoom.scheduler/refs/heads/main/docs/setup/resources/zoom-scopes.png)

### Step 3: Activate the App
### Step 3: Activate the app

1. Complete all required information
2. Activate the app

![Activate App](https://raw.githubusercontent.com/ballerina-platform/module-ballerinax-zoom.scheduler/refs/heads/main/docs/setup/resources/activate-app.png)

### Step 4: Get User Authorization
### Step 4: Get user authorization

1. **Direct users to authorization URL** (replace `YOUR_CLIENT_ID` and `YOUR_REDIRECT_URI`):
```
Expand All @@ -71,7 +71,7 @@ Replace:
* `AUTHORIZATION_CODE` with the code received from the callback
* `YOUR_REDIRECT_URI` with your configured redirect URI

### Step 5: Verify Your Setup
### Step 5: Verify your setup

```curl
curl -X GET "https://api.zoom.us/v2/users/me" \
Expand All @@ -88,7 +88,7 @@ To use the `ballerinax/zoom.scheduler` connector in your Ballerina application,
Import the `zoom.scheduler` module.

```ballerina
import ballerinax/zoom.scheduler;
import ballerinax/zoom.scheduler as zoom;
```

### Step 2: Instantiate a new connector
Expand All @@ -110,7 +110,7 @@ configurable string clientSecret = ?;
configurable string refreshToken = ?;
configurable string userId = ?;

final scheduler:Client zoomClient = check new ({
final zoom:Client zoomClient = check new ({
auth: {
clientId,
clientSecret,
Expand All @@ -128,7 +128,7 @@ Now, utilize the available connector operations.

```ballerina
public function main() returns error? {
zoom.scheduler:InlineResponse2011 schedule = check zoom.scheduler->/schedules.post(
zoom:InlineResponse2011 schedule = check zoomClient->/schedules.post(
payload = {
summary: "Team Meeting",
description: "Weekly team sync",
Expand Down
Binary file modified docs/setup/resources/zoom-marketplace.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading