Skip to content

Conversation

@YadingFang
Copy link
Contributor

What type of PR is this?

Add one of the following kinds:

  • enhancement/feature

What this PR does / why we need it:

This PR adds ClickToDial call status change notifications using OpenAPI 3 callbacks under POST /calls, resolving the callback URL from the consumer-provided sink field ({$request.body#/sink}).

It also references the existing CALL_STATUS_CHANGED_EXAMPLE CloudEvents payload in the callback request body, addressing the Redocly lint warning about an unused example component.

This change formalizes the existing sink-based notification mechanism in the OpenAPI spec using callbacks.

Which issue(s) this PR fixes:

Fixes #62

@github-actions
Copy link

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ ACTION actionlint 2 0 0.0s
✅ API spectral 1 0 1.69s
✅ GHERKIN gherkin-lint 3 0 1.08s
✅ REPOSITORY git_diff yes no 0.02s
✅ REPOSITORY secretlint yes no 0.75s
✅ YAML yamllint 1 0 0.48s

See detailed report in MegaLinter reports

MegaLinter is graciously provided by OX Security

Copy link

@XunliYang XunliYang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@YadingFang YadingFang merged commit 6a09669 into main Dec 19, 2025
2 checks passed
Copy link

@Wojiaozhenghao Wojiaozhenghao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

approve

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add OpenAPI callbacks for sink-based status change events

4 participants