Previously, you’d need to define a resolver to use the requestConfluence
bridge method. With the release of Forge bridge version 2.0, custom UI and UI Kit can now use the method directly.
The requestConfluence
bridge method enables Forge apps to call the
Confluence Cloud platform REST API as the current user.
1 2 3 4
function requestConfluence( uri: string, options?: RequestInit, ): Promise<Response>
1 2import { requestConfluence } from '@forge/bridge'; const response = await requestConfluence('/wiki/rest/api/content'); console.log(await response.text());
Rate this page:
Our new navigation is here to guide you on your developer journey. Dive in and explore the refreshed Forge documentation!