Skip to content

peters-axon/msgraph-connector

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

msgraph-connector

CI Build

Read our docs:

Developer Guidelines

The Microsoft Graph universe is wide, if you use this connector and its demos as starting point for your custom graph based solution, you may appreciate the following developer help.

Explore

Microsoft's Graph-Explorer let's you fire requests against the Graph APIs with a simple convenient UI. This is a good starting point, to find relevant resources for your custom Graph API use-case. Here you can conveniently grant permissions to simulate a call, without actually configuring your Azure App.

A selection of frequent API calls can be gleaned from Microsoft's API-Reference.

API Slicing

The rest-client definition within the msgraph-connector project limits the OpenAPI support as close as possible to cover the shown demos. For the fact that:

  • the full client is slow to generate: ~17 MB OpenAPI spec (takes around 60 seconds)
  • the final client will be large too and causing delays: SCM, deployment, update, ...
  • inscription masks will be slow to use ... and validation too
  • small api-subset clients are much easier to use.

Ultimately, Microsoft recons that their APIs are huge: and offers a nice slicing Graph-api-explorer to get sub-sets of the API in a consistent state.

The API for the client can be reduced either with:

Unfortunately these reduce methods can not be combined. Which would often be handy to merge /me functions with specific read ops.

Sometimes slicing is still hard often the resulting client is still kind of large. Therefore you may consider introducing multiple rest-clients, e.g. one for each graph product you use.

However, once you got the selection of required resources, proceed by regenerating the rest-client with this OpenAPI spec URI.

About

Microsoft Graph API Connector

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 46.2%
  • Java 45.0%
  • CSS 8.7%
  • Dockerfile 0.1%