Skip to main content

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

ParameterTypeDescription
pathstringResource in Microsoft Graph
queryODataQuery(Optional) OData Query ODataQuery
headersRecord<string, string>(Optional) optional HTTP headers

Returns:

Promise<Response>