-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
.Net: More API Manifest plugin examples from Microsoft Graph (#5098)
### Motivation and Context These examples were previously blocked by issue #4991 ### Description - Adds three more API Manifest plugin examples. ### Contribution Checklist <!-- Before submitting this PR, please make sure: --> - [x] The code builds clean without any errors or warnings - [x] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [x] All unit tests pass, and I have added new tests where possible - [x] I didn't break anyone 😄 Co-authored-by: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com>
- Loading branch information
1 parent
f8e563a
commit 38349e9
Showing
4 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
...t/samples/KernelSyntaxExamples/Plugins/ApiManifestPlugins/CalendarPlugin/apimanifest.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"applicationName": "SemanticKernel", | ||
"publisher": { | ||
"name": "publisher-name", | ||
"contactEmail": "publisher-email@example.com" | ||
}, | ||
"apiDependencies": { | ||
"microsoft.graph": { | ||
"apiDescriptionUrl": "https://raw.githubusercontent.com/microsoftgraph/msgraph-metadata/master/openapi/v1.0/graphexplorer.yaml", | ||
"requests": [ | ||
{ | ||
"method": "Get", | ||
"uriTemplate": "/me/calendar/events" | ||
} | ||
] | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
...t/samples/KernelSyntaxExamples/Plugins/ApiManifestPlugins/ContactsPlugin/apimanifest.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"applicationName": "SemanticKernel", | ||
"publisher": { | ||
"name": "publisher-name", | ||
"contactEmail": "publisher-email@example.com" | ||
}, | ||
"apiDependencies": { | ||
"microsoft.graph": { | ||
"apiDescriptionUrl": "https://raw.githubusercontent.com/microsoftgraph/msgraph-metadata/master/openapi/v1.0/graphexplorer.yaml", | ||
"requests": [ | ||
{ | ||
"method": "Get", | ||
"uriTemplate": "/me/contacts" | ||
} | ||
] | ||
} | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
.../samples/KernelSyntaxExamples/Plugins/ApiManifestPlugins/DriveItemPlugin/apimanifest.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"applicationName": "SemanticKernel", | ||
"publisher": { | ||
"name": "publisher-name", | ||
"contactEmail": "publisher-email@example.com" | ||
}, | ||
"apiDependencies": { | ||
"microsoft.graph": { | ||
"apiDescriptionUrl": "https://raw.githubusercontent.com/microsoftgraph/msgraph-metadata/master/openapi/v1.0/graphexplorer.yaml", | ||
"requests": [ | ||
{ | ||
"method": "Get", | ||
"uriTemplate": "/drive/root/children/{driveItem-id}/content" | ||
} | ||
] | ||
} | ||
} | ||
} |