Skip to main content
Version: Next

MicrosoftGraphClient.requestApi()

Home > @backstage/plugin-catalog-backend-module-msgraph > MicrosoftGraphClient > requestApi

Abstract on top of MicrosoftGraphClient.requestRaw()

Signature:

requestApi(path: string, query?: ODataQuery, headers?: Record<string, string>): Promise<Response>;

Parameters

Parameter

Type

Description

path

string

Resource in Microsoft Graph

query

ODataQuery

(Optional) OData Query ODataQuery

headers

Record<string, string>

(Optional) optional HTTP headers

**Returns:**

Promise<Response>