Skip to content

Sitemap

SitemapSDK

SitemapSDK = object

Utilities to interact with the Sitemap page.

Properties

addRequestEditorExtension()

addRequestEditorExtension: (extension: Extension) => void

Add an extension to the request editor.

Parameters
ParameterTypeDescription
extensionExtensionThe extension to add.
Returns

void

addRequestViewMode()

addRequestViewMode: (options: RequestViewModeOptions) => void

Add a custom request view mode.

Parameters
ParameterTypeDescription
optionsRequestViewModeOptionsThe view mode options.
Returns

void

getScopeId()

getScopeId: () => ID | undefined

Get the current scope ID.

Returns

ID | undefined

The current scope ID.

setScope()

setScope: (id: ID | undefined) => void

Set the current scope.

Parameters
ParameterTypeDescription
idID | undefinedThe ID of the scope to set.
Returns

void