Skip to content

Commit

Permalink
Merge pull request #2898 from juliemturner/version-4
Browse files Browse the repository at this point in the history
Merging in PR#2887
  • Loading branch information
juliemturner authored Jan 12, 2024
2 parents 07a7e39 + 69a5e71 commit 9928c2f
Show file tree
Hide file tree
Showing 21 changed files with 168 additions and 95 deletions.
6 changes: 5 additions & 1 deletion docs/graph/analytics.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@

The ability to get analytics for OneDrive and SharePoint drive items, SharePoint sites, and SharePoint list items.

## IInvitations
More information can be found in the official Graph documentation:

- [Analytics Resource Type](https://docs.microsoft.com/en-us/graph/api/itemanalytics-get?view=graph-rest-1.0)

## IAnalyticsOptions

[![Invokable Banner](https://img.shields.io/badge/Invokable-informational.svg)](../concepts/invokable.md) [![Selective Imports Banner](https://img.shields.io/badge/Selective%20Imports-informational.svg)](../concepts/selective-imports.md)

Expand Down
4 changes: 4 additions & 0 deletions docs/graph/appCatalog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

The ability to use Teams App Catalog

More information can be found in the official Graph documentation:

- [App Catalogs Resource Type](https://docs.microsoft.com/en-us/graph/api/resources/teamsapp?view=graph-rest-1.0)

## AppCatalog, IAppCatalog

[![Invokable Banner](https://img.shields.io/badge/Invokable-informational.svg)](../concepts/invokable.md) [![Selective Imports Banner](https://img.shields.io/badge/Selective%20Imports-informational.svg)](../concepts/selective-imports.md)
Expand Down
2 changes: 1 addition & 1 deletion docs/graph/bookings.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Represents the Bookings services available to a user.

You can learn more by reading the [Official Microsoft Graph Documentation](https://docs.microsoft.com/en-us/graph/api/resources/booking-api-overview?view=graph-rest-1.0).
You can learn more by reading the [Bookings Resource Type](https://docs.microsoft.com/en-us/graph/api/resources/booking-api-overview?view=graph-rest-1.0).

## IBookingCurrencies, IBookingCurrency, IBookingBusinesses, IBookingBusiness, IBookingAppointments, IBookingAppointment, IBookingCustomers, IBookingCustomer, IBookingServices, IBookingService, IBookingStaffMembers, IBookingStaffMember, IBookingCustomQuestions, IBookingCustomQuestion

Expand Down
2 changes: 1 addition & 1 deletion docs/graph/cloud-communications.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ The ability to retrieve information about a user's presence, including their ava

More information can be found in the official Graph documentation:

- [Presence Type](https://docs.microsoft.com/en-us/graph/api/resources/presence?view=graph-rest-1.0)
- [Cloud Communications Resource Type](https://docs.microsoft.com/en-us/graph/api/resources/presence?view=graph-rest-1.0)

## IPresence

Expand Down
4 changes: 4 additions & 0 deletions docs/graph/files.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
The ability to manage drives and drive items in Onedrive is a capability introduced in version 1.2.4 of @pnp/graph. Through the methods described
you can manage drives and drive items in Onedrive.

More information can be found in the official Graph documentation:

- [Drive/Files Resource Type](https://docs.microsoft.com/en-us/graph/api/resources/onedrive?view=graph-rest-1.0)

## IInvitations

[![Invokable Banner](https://img.shields.io/badge/Invokable-informational.svg)](../concepts/invokable.md) [![Selective Imports Banner](https://img.shields.io/badge/Selective%20Imports-informational.svg)](../concepts/selective-imports.md)
Expand Down
2 changes: 1 addition & 1 deletion docs/graph/groups.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Groups are collections of users and other principals who share access to resourc

Note: Groups can only be created through work or school accounts. Personal Microsoft accounts don't support groups.

You can learn more about Microsoft Graph Groups by reading the [Official Microsoft Graph Documentation](https://docs.microsoft.com/en-us/graph/api/resources/groups-overview).
You can learn more about Microsoft Graph Groups by reading the [Groups Resource Type](https://docs.microsoft.com/en-us/graph/api/resources/groups-overview).

## IGroup, IGroups

Expand Down
5 changes: 5 additions & 0 deletions docs/graph/insights.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

This module helps you get Insights in form of ***Trending***, ***Used*** and ***Shared***. The results are based on relationships calculated using advanced analytics and machine learning techniques.

More information can be found in the official Graph documentation:

- [Insights Resource Type](https://docs.microsoft.com/en-us/graph/api/resources/officegraphinsights?view=graph-rest-1.0)


## IInsights

[![Invokable Banner](https://img.shields.io/badge/Invokable-informational.svg)](../concepts/invokable.md) [![Selective Imports Banner](https://img.shields.io/badge/Selective%20Imports-informational.svg)](../concepts/selective-imports.md)
Expand Down
4 changes: 4 additions & 0 deletions docs/graph/invitations.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

The ability invite an external user via the invitation manager

More information can be found in the official Graph documentation:

- [Invitations Resource Type](https://docs.microsoft.com/en-us/graph/api/invitation-post?view=graph-rest-1.0)

## IInvitations

[![Invokable Banner](https://img.shields.io/badge/Invokable-informational.svg)](../concepts/invokable.md) [![Selective Imports Banner](https://img.shields.io/badge/Selective%20Imports-informational.svg)](../concepts/selective-imports.md)
Expand Down
5 changes: 5 additions & 0 deletions docs/graph/items.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# @pnp/graph/items

More information can be found in the official Graph documentation:

- [List Item Resource Type](https://docs.microsoft.com/en-us/graph/api/resources/listitem?view=graph-rest-1.0)

## IListItems, IListItem, IListItemAddResult, IDocumentSetVersion, IDocumentSetVersions IDocumentSetVersionAddResult,
[![Selective Imports Banner](https://img.shields.io/badge/Selective%20Imports-informational.svg)](../concepts/selective-imports.md)

### Get list items
Expand Down
1 change: 1 addition & 0 deletions docs/graph/lists.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ More information can be found in the official Graph documentation:

- [List Resource Type](https://docs.microsoft.com/en-us/graph/api/resources/list?view=graph-rest-1.0)

## IList, ILists, IListAddResult
[![Selective Imports Banner](https://img.shields.io/badge/Selective%20Imports-informational.svg)](../concepts/selective-imports.md)

## Get Lists
Expand Down
4 changes: 3 additions & 1 deletion docs/graph/mail-categories.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Graph Mail Categories

You can learn more by reading the [Official Microsoft Graph Documentation](https://docs.microsoft.com/en-us/graph/api/resources/outlookuser?view=graph-rest-1.0).
More information can be found in the official Graph documentation:

- [Outlook Resource Type](https://docs.microsoft.com/en-us/graph/api/resources/outlookuser?view=graph-rest-1.0)

## IUsers, IUser, IPeople

Expand Down
5 changes: 5 additions & 0 deletions docs/graph/operations.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

Provides capabilities related to rich long-running operations.

More information can be found in the official Graph documentation:

- [Operations Resource Type](https://docs.microsoft.com/en-us/graph/api/site-list-operations?view=graph-rest-1.0)


[![Selective Imports Banner](https://img.shields.io/badge/Selective%20Imports-informational.svg)](../concepts/selective-imports.md)

## list site operations
Expand Down
7 changes: 4 additions & 3 deletions docs/graph/photos.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@

A profile photo of a user, group or an Outlook contact accessed from Exchange Online or Azure Active Directory (AAD). It's binary data not encoded in base-64.

You can learn more about Microsoft Graph users by reading the [Official Microsoft Graph Documentation](https://docs.microsoft.com/en-us/graph/api/resources/user?view=graph-rest-1.0).
More information can be found in the official Graph documentation:

- [Photos Resource Type](https://docs.microsoft.com/en-us/graph/api/resources/profilephoto?view=graph-rest-1.0)
## IPhoto

[![Selective Imports Banner](https://img.shields.io/badge/Selective%20Imports-informational.svg)](../concepts/selective-imports.md)
Expand Down Expand Up @@ -60,12 +61,12 @@ await graph.me.photo.setContent(file);

```TypeScript
import { graphfi } from "@pnp/graph";
import "@pnp/graph/users";
import "@pnp/graph/groups";
import "@pnp/graph/photos";

const graph = graphfi(...);

const input = <HTMLInputElement>document.getElementById("thefileinput");
const file = input.files[0];
await graph.me.photo.setContent(file);
await graph.groups.getById("7d2b9355-0891-47d3-84c8-bf2cd9c62177").photo.setContent(file);
```
4 changes: 4 additions & 0 deletions docs/graph/planner.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
The ability to manage plans and tasks in Planner is a capability introduced in version 1.2.4 of @pnp/graph. Through the methods described
you can add, update and delete items in Planner.

More information can be found in the official Graph documentation:

- [Planner Resource Type](https://docs.microsoft.com/en-us/graph/api/resources/plannertask?view=graph-rest-1.0)

## IInvitations

[![Invokable Banner](https://img.shields.io/badge/Invokable-informational.svg)](../concepts/invokable.md) [![Selective Imports Banner](https://img.shields.io/badge/Selective%20Imports-informational.svg)](../concepts/selective-imports.md)
Expand Down
5 changes: 5 additions & 0 deletions docs/graph/search.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

The search module allows you to access the Microsoft Graph Search API. You can read full details of using the API, for library examples please see below.

More information can be found in the official Graph documentation:

- [Search Resource Type](https://docs.microsoft.com/en-us/graph/api/resources/search-api-overview?view=graph-rest-1.0)


[![Selective Imports Banner](https://img.shields.io/badge/Selective%20Imports-informational.svg)](../concepts/selective-imports.md)

## Call graph.query
Expand Down
4 changes: 4 additions & 0 deletions docs/graph/shares.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

The shares module allows you to access shared files, or any file in the tenant using encoded file urls.

More information can be found in the official Graph documentation:

- [Shares Resource Type](https://docs.microsoft.com/en-us/graph/api/shares-get?view=graph-rest-1.0)

[![Selective Imports Banner](https://img.shields.io/badge/Selective%20Imports-informational.svg)](../concepts/selective-imports.md)

## Access a Share by Id
Expand Down
4 changes: 4 additions & 0 deletions docs/graph/sites.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

The search module allows you to access the Microsoft Graph Sites API.

More information can be found in the official Graph documentation:

- [Sites Resource Type](https://docs.microsoft.com/en-us/graph/api/resources/site?view=graph-rest-1.0)

[![Selective Imports Banner](https://img.shields.io/badge/Selective%20Imports-informational.svg)](../concepts/selective-imports.md)

## sites
Expand Down
4 changes: 4 additions & 0 deletions docs/graph/subscriptions.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ The ability to manage subscriptions is a capability introduced in version 1.2.9
* Users and Groups from Azure Active Directory.
* Alerts from the Microsoft Graph Security API.

More information can be found in the official Graph documentation:

- [Subscriptions Resource Type](https://docs.microsoft.com/en-us/graph/api/resources/subscription?view=graph-rest-1.0)

## Get all of the Subscriptions

Using the subscriptions(). If successful this method returns a 200 OK response code and a list of subscription objects in the response body.
Expand Down
5 changes: 5 additions & 0 deletions docs/graph/teams.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
The ability to manage Team is a capability introduced in the 1.2.7 of @pnp/graph. Through the methods described
you can add, update and delete items in Teams.

More information can be found in the official Graph documentation:

- [Teams Resource Type](https://docs.microsoft.com/en-us/graph/api/resources/team?view=graph-rest-1.0)
- [Joined Teams Resource Type](https://docs.microsoft.com/en-us/graph/api/user-list-joinedteams?view=graph-rest-1.0)

## Teams

### Teams the user is a member of
Expand Down
4 changes: 3 additions & 1 deletion docs/graph/users.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@

Users are Azure Active Directory objects representing users in the organizations. They represent the single identity for a person across Microsoft 365 services.

You can learn more about Microsoft Graph users by reading the [Official Microsoft Graph Documentation](https://docs.microsoft.com/en-us/graph/api/resources/user?view=graph-rest-1.0).
More information can be found in the official Graph documentation:

- [Teams Resource Type](https://docs.microsoft.com/en-us/graph/api/resources/user?view=graph-rest-1.)

## IUsers, IUser, IPeople

Expand Down
Loading

0 comments on commit 9928c2f

Please sign in to comment.