language This article has been translated in other language.
Reference : Use this article when creating or reviewing the JSON envelope of a Rainbow Extensions custo-manifest.
You can use this article to understand the JSON envelope of a Rainbow Extensions custo-manifest. You will see where extension points are declared, how actions are organized, and which root fields Rainbow expects.
JSON skeleton {
"version": "2",
"jsonType": "Rainbow-custo-manifest",
"extension-points": {
"<EXTENSION-POINT-KEY>": [
{
"name": "...",
"icon": "...",
"command": {
"url": "...",
"params": "...",
"commandType": "rest",
"method": "GET"
},
"responseType": "markdown"
}
]
}
}Global rules
version must be "2".
jsonType must be "Rainbow-custo-manifest". This is also how Rainbow identifies the manifest inside a ZIP archive.
Each key under extension-points is an array.
Each extension point supports up to 3 actions.
Each action must contain a valid command object. name and icon are mandatory depending on the extension point.
Variables can be used in supported fields such as command.url, command.params, REST body parameters and display content.
PBX event extension points
Extension point
When it fires
on-outgoing-pbx-call-actions
An outgoing call is started.
on-incoming-pbx-call-actions
An incoming call starts ringing.
on-answering-incoming-pbx-call-actions
An incoming call is answered.
on-releasing-incoming-pbx-call-actions
An incoming or outgoing call is released.
on-makecall-insert-correlator
A makecall is created and Rainbow inserts a correlator. OXE only.
Extension point
Button placement
on-incoming-pbx-call-button-actions
Incoming call pop-up.
on-call-log-list-actions
Each row of the call log.
on-contact-list-actions
Each row of the contact list.
on-contact-detail-actions
Contact detail panel.
on-communication-card-actions
Call manager bar.
on-bubble-actions
Bubble property menu.
on-bubble-conference-actions
Telephone conference menu.
on-user-menu-actions
User menu. Beta. Desktop / Web, not Teams.
Display and frame extension points
Extension point
Placement
on-incoming-pbx-call-display-actions
Incoming call pop-up display area.
on-contact-card-display-actions
Contact card display area.
on-main-widget-display-actions
Widget in the main Rainbow panel.
on-main-display-actions
Message in the Teams web app.
on-main-window-actions
Third-party application in the main Rainbow window or popup.