Skip to content

Commit 7f4efde

Browse files
authored
Merge pull request #26036 from microsoftgraph/calendar-toc-updates
Added missing TOC entries for calendaring. General cleanup.
2 parents 7474ec8 + 6537e4a commit 7f4efde

File tree

19 files changed

+129
-123
lines changed

19 files changed

+129
-123
lines changed

api-reference/beta/resources/attachment.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ The following methods apply to any of the derived types of attachments (**fileAt
4242

4343
| Method | Return Type |Description|
4444
|:---------------|:--------|:----------|
45-
|[Get attachment](../api/attachment-get.md) | [attachment](attachment.md) |Read the properties, relationships, or raw contents of an attachment, attached to a user event, message, Outlook task, or post.|
45+
|[Get](../api/attachment-get.md) | [attachment](attachment.md) |Read the properties, relationships, or raw contents of an attachment, attached to a user event, message, Outlook task, or post.|
46+
|[Delete](../api/attachment-delete.md) | None |Delete an attachment on an event, message, Outlook task, or post. |
4647
|[Add attachment to a user event](../api/event-post-attachments.md) | [attachment](attachment.md) |Add a file, item, or link attachment to an event in a user calendar. This operation limits the size of the attachment you can add to under 3 MB.|
4748
|[Add attachment to a message](../api/message-post-attachments.md) | [attachment](attachment.md) |Add a file, item, or link attachment to a message. This operation limits the size of the attachment you can add to under 3 MB.|
4849
|[Create session to attach large file](../api/attachment-createuploadsession.md)| [uploadSession](uploadsession.md) | Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified **message** or **event**. The file size must be between 3 MB and 150 MB.|
@@ -52,7 +53,6 @@ The following methods apply to any of the derived types of attachments (**fileAt
5253
|[List attachments of a message](../api/message-list-attachments.md) | [attachment](attachment.md) collection | Get a list of attachments for a message. |
5354
|[List attachments of an Outlook task](../api/outlooktask-list-attachments.md) (deprecated) | [attachment](attachment.md) collection | Get a list of attachments for an Outlook task. |
5455
|[List attachments of a post](../api/post-list-attachments.md) | [attachment](attachment.md) collection | Get a list of attachments for a post. |
55-
|[Delete](../api/attachment-delete.md) | None |Delete an attachment on an event, message, Outlook task, or post. |
5656

5757
## Properties
5858

api-reference/beta/resources/calendargroup.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,14 @@ A group of user calendars.
2020

2121
| Method | Return Type | Description |
2222
| :---------------------------------------------------------- | :--------------------------------- | :------------------------------------------------------------ |
23-
| [List calendar groups](../api/user-list-calendargroups.md) | [Calendar](calendar.md) collection | Get the user's calendar groups. |
24-
| [Create calendar group](../api/user-post-calendargroups.md) | [Calendar](calendar.md) | Create a new calendar group. |
25-
| [Get calendar group](../api/calendargroup-get.md) | [calendarGroup](calendargroup.md) | Read properties and relationships of a calendar group object. |
26-
| [Update calendar group](../api/calendargroup-update.md) | [calendarGroup](calendargroup.md) | Update calendarGroup object. |
27-
| [Delete calendar group](../api/calendargroup-delete.md) | None | Delete calendarGroup object. |
23+
| [List](../api/user-list-calendargroups.md) | [Calendar](calendar.md) collection | Get the user's calendar groups. |
24+
| [Create](../api/user-post-calendargroups.md) | [Calendar](calendar.md) | Create a new calendar group. |
25+
| [Get](../api/calendargroup-get.md) | [calendarGroup](calendargroup.md) | Read properties and relationships of a calendar group object. |
26+
| [Update](../api/calendargroup-update.md) | [calendarGroup](calendargroup.md) | Update calendarGroup object. |
27+
| [Delete](../api/calendargroup-delete.md) | None | Delete calendarGroup object. |
2828
| [List calendars in calendar group](../api/calendargroup-list-calendars.md) | [Calendar](calendar.md) collection | List calendars in a calendar group. |
2929
| [Create calendar in calendar group](../api/calendargroup-post-calendars.md) | [Calendar](calendar.md) | Create a new Calendar in a calendar group. |
30+
| [Create calendar in calendar group](../api/calendargroup-post-calendars.md) | [Calendar](calendar.md) | Create a new Calendar in a calendar group. |
3031

3132
## Properties
3233

api-reference/beta/resources/fileattachment.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ Derived from [attachment](attachment.md).
3333

3434
| Method | Return Type |Description|
3535
|:---------------|:--------|:----------|
36-
|[Get attachment](../api/attachment-get.md) | [fileAttachment](fileattachment.md) |Read the properties, relationships, or raw contents of a **fileAttachment** object.|
37-
|[Delete attachment](../api/attachment-delete.md) | None |Delete a **fileAttachment** object. |
36+
|[Get](../api/attachment-get.md) | [fileAttachment](fileattachment.md) |Read the properties, relationships, or raw contents of a **fileAttachment** object.|
37+
|[Delete](../api/attachment-delete.md) | None |Delete a **fileAttachment** object. |
3838

3939
## Properties
4040
| Property | Type |Description|

api-reference/beta/resources/itemattachment.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@ Derived from [attachment](attachment.md).
2525

2626
| Method | Return Type |Description|
2727
|:---------------|:--------|:----------|
28-
|[Get attachment](../api/attachment-get.md) | [itemAttachment](itemattachment.md) |Read the properties, relationships, or raw contents of an itemAttachment object.|
29-
|[Delete attachment](../api/attachment-delete.md) | None |Delete itemAttachment object. |
28+
|[Get](../api/attachment-get.md) | [itemAttachment](itemattachment.md) |Read the properties, relationships, or raw contents of an itemAttachment object.|
29+
|[Delete](../api/attachment-delete.md) | None |Delete itemAttachment object. |
3030

3131
## Properties
3232
| Property | Type |Description|

api-reference/beta/resources/referenceattachment.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: "referenceAttachment resource type"
3-
description: "A link to a folder or file (such as a text file or Word document) on a OneDrive for Business cloud drive, or other supported storage locations, attached to "
3+
description: "A link to a folder or file (such as a text file or Word document) on a OneDrive for work or school cloud drive, or other supported storage locations, attached to "
44
ms.localizationpriority: medium
55
doc_type: resourcePageType
66
ms.subservice: "outlook"
@@ -14,7 +14,7 @@ Namespace: microsoft.graph
1414

1515
[!INCLUDE [beta-disclaimer](../../includes/beta-disclaimer.md)]
1616

17-
A link to a folder or file (such as a text file or Word document) on a OneDrive for Business cloud drive, or other supported storage locations, attached to
17+
A link to a folder or file (such as a text file or Word document) on a OneDrive for work or school cloud drive, or other supported storage locations, attached to
1818
an [event](../resources/event.md), [message](../resources/message.md), or [post](../resources/post.md) .
1919

2020
Derived from [attachment](attachment.md).
@@ -23,23 +23,23 @@ Derived from [attachment](attachment.md).
2323

2424
| Method | Return Type |Description|
2525
|:---------------|:--------|:----------|
26-
|[Get attachment](../api/attachment-get.md) | [referenceAttachment](referenceattachment.md) |Read properties and relationships of referenceAttachment object.|
27-
|[Delete attachment](../api/attachment-delete.md) | None |Delete referenceAttachment object. |
26+
|[Get](../api/attachment-get.md) | [referenceAttachment](referenceattachment.md) |Read properties and relationships of referenceAttachment object.|
27+
|[Delete](../api/attachment-delete.md) | None |Delete referenceAttachment object. |
2828

2929
## Properties
3030
| Property | Type |Description|
3131
|:---------------|:--------|:----------|
3232
|contentType|String|The content type of the attachment. Returned as `null` by default, when not set explicitly. Optional.|
33-
|id|String|The attachment ID. Read-only.|
34-
|isFolder|Boolean|Specifies whether the attachment is a link to a folder. Must set this to true if **sourceUrl** is a link to a folder. Optional.|
33+
|id|String|The attachment ID. Read-only.|
34+
|isFolder|Boolean|Specifies whether the attachment is a link to a folder. You must set this property to true if **sourceUrl** is a link to a folder. Optional.|
3535
|isInline|Boolean|Set to true if the attachment appears inline in the body of the embedding object. Optional.|
3636
|lastModifiedDateTime|DateTimeOffset|The date and time when the attachment was last modified. The Timestamp type represents date and time information using ISO 8601 format and is always in UTC time. For example, midnight UTC on Jan 1, 2014 is `2014-01-01T00:00:00Z`. Optional.|
37-
|name|String|The text that is displayed below the icon representing the embedded attachment. This does not need to be the actual file name. Required.|
37+
|name|String|The text that is displayed below the icon representing the embedded attachment. This value doesn't need to be the actual file name. Required.|
3838
|permission|referenceAttachmentPermission|Specifies the permissions granted for the attachment by the type of provider in **providerType**. Possible values are: `other`, `view`, `edit`, `anonymousView`, `anonymousEdit`, `organizationView`, `organizationEdit`. Optional.|
3939
|previewUrl|String|Applies to only a reference attachment of an image - URL to get a preview image. Use **thumbnailUrl** and **previewUrl** only when **sourceUrl** identifies an image file. Optional.|
4040
|providerType|referenceAttachmentProvider|The type of provider that supports an attachment of this contentType. Possible values are: `other`, `oneDriveBusiness`, `oneDriveConsumer`, `dropbox`. Optional.|
41-
|size|Int32|The size of the metadata in bytes that is stored on the message for the reference attachment. This value does not indicate the size of the actual file. Optional.|
42-
|sourceUrl|String|URL to get the attachment content. If this is a URL to a folder, then for the folder to be displayed correctly in Outlook or Outlook on the web, set **isFolder** to true. Required.|
41+
|size|Int32|The size of the metadata in bytes that is stored on the message for the reference attachment. This value doesn't indicate the size of the actual file. Optional.|
42+
|sourceUrl|String|URL to get the attachment content. If this value is a URL to a folder, then for the folder to be displayed correctly in Outlook or Outlook on the web, set **isFolder** to true. Required.|
4343
|thumbnailUrl|String|Applies to only a reference attachment of an image - URL to get a thumbnail image. Use **thumbnailUrl** and **previewUrl** only when **sourceUrl** identifies an image file. Optional.|
4444

4545
## Relationships

api-reference/beta/toc/calendars/toc.yml

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,10 @@ items:
152152
items:
153153
- name: Attachment
154154
href: ../../resources/attachment.md
155-
- name: Get attachment
155+
- name: Get
156156
href: ../../api/attachment-get.md
157+
- name: Delete
158+
href: ../../api/attachment-delete.md
157159
- name: Add attachment to a user event
158160
href: ../../api/event-post-attachments.md
159161
- name: Add attachment to a message
@@ -172,50 +174,50 @@ items:
172174
href: ../../api/outlooktask-list-attachments.md
173175
- name: List attachments of a post
174176
href: ../../api/post-list-attachments.md
175-
- name: Delete
176-
href: ../../api/attachment-delete.md
177177
- name: File attachment
178178
items:
179179
- name: File attachment
180180
href: ../../resources/fileattachment.md
181-
- name: Get attachment
181+
- name: Get
182182
href: ../../api/attachment-get.md
183-
- name: Delete attachment
183+
- name: Delete
184184
href: ../../api/attachment-delete.md
185185
- name: Item attachment
186186
items:
187187
- name: Item attachment
188188
href: ../../resources/itemattachment.md
189-
- name: Get attachment
189+
- name: Get
190190
href: ../../api/attachment-get.md
191-
- name: Delete attachment
191+
- name: Delete
192192
href: ../../api/attachment-delete.md
193193
- name: Reference attachment
194194
items:
195195
- name: Reference attachment
196196
href: ../../resources/referenceattachment.md
197-
- name: Get attachment
197+
- name: Get
198198
href: ../../api/attachment-get.md
199-
- name: Delete attachment
199+
- name: Delete
200200
href: ../../api/attachment-delete.md
201201
- name: Calendar group
202202
items:
203203
- name: Calendar group
204204
href: ../../resources/calendargroup.md
205-
- name: List calendar groups
205+
- name: List
206206
href: ../../api/user-list-calendargroups.md
207-
- name: Create calendar group
207+
- name: Create
208208
href: ../../api/user-post-calendargroups.md
209-
- name: Get calendar group
209+
- name: Get
210210
href: ../../api/calendargroup-get.md
211-
- name: Update calendar group
211+
- name: Update
212212
href: ../../api/calendargroup-update.md
213-
- name: Delete calendar group
213+
- name: Delete
214214
href: ../../api/calendargroup-delete.md
215215
- name: List calendars in calendar group
216216
href: ../../api/calendargroup-list-calendars.md
217217
- name: Create calendar in calendar group
218218
href: ../../api/calendargroup-post-calendars.md
219+
- name: Create calendar in calendar group
220+
href: ../../api/calendargroup-post-calendars.md
219221
- name: Calendar permission
220222
items:
221223
- name: Calendar permission

api-reference/beta/toc/mail/toc.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,10 @@ items:
7474
items:
7575
- name: Attachment
7676
href: ../../resources/attachment.md
77-
- name: Get attachment
77+
- name: Get
7878
href: ../../api/attachment-get.md
79+
- name: Delete
80+
href: ../../api/attachment-delete.md
7981
- name: Add attachment to a user event
8082
href: ../../api/event-post-attachments.md
8183
- name: Add attachment to a message
@@ -94,8 +96,6 @@ items:
9496
href: ../../api/outlooktask-list-attachments.md
9597
- name: List attachments of a post
9698
href: ../../api/post-list-attachments.md
97-
- name: Delete
98-
href: ../../api/attachment-delete.md
9999
- name: Outlook category (deprecated)
100100
items:
101101
- name: Outlook category (deprecated)

api-reference/v1.0/resources/attachment.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,15 +36,15 @@ The following methods apply to any of the derived types of attachments (**fileAt
3636

3737
| Method | Return Type |Description|
3838
|:---------------|:--------|:----------|
39-
|[Get attachment](../api/attachment-get.md) | [attachment](attachment.md) |Read the properties, relationships, or raw contents of an attachment, attached to a user event, message, or post.|
39+
|[Get](../api/attachment-get.md) | [attachment](attachment.md) |Read the properties, relationships, or raw contents of an attachment, attached to a user event, message, or post.|
40+
|[Delete](../api/attachment-delete.md) | None |Delete an attachment on an event, message, or post. |
4041
|[Add attachment to a user event](../api/event-post-attachments.md) | [attachment](attachment.md) |Add a file, item, or link attachment to an event in a user calendar. This operation limits the size of the attachment you can add to under 3 MB.|
4142
|[Add attachment to a message](../api/message-post-attachments.md) | [attachment](attachment.md) |Add a file, item, or link attachment to a message. This operation limits the size of the attachment you can add to under 3 MB.|
4243
|[Create session to attach large file](../api/attachment-createuploadsession.md)| [uploadSession](uploadsession.md) | Create an upload session that allows an app to iteratively upload ranges of a file, so as to attach the file to the specified **message** or **event**. The file size must be between 3 MB and 150 MB.|
4344
|[Add attachment to a post](../api/post-post-attachments.md) | [attachment](attachment.md) |Add a file, item, or link attachment to a post. This operation limits the size of the attachment you can add to under 3 MB.|
4445
|[List attachments of a user event](../api/event-list-attachments.md) | [attachment](attachment.md) collection | Get a list of attachments for an event in a user calendar. |
4546
|[List attachments of a message](../api/message-list-attachments.md) | [attachment](attachment.md) collection | Get a list of attachments for a message. |
4647
|[List attachments of a post](../api/post-list-attachments.md) | [attachment](attachment.md) collection | Get a list of attachments for a post. |
47-
|[Delete](../api/attachment-delete.md) | None |Delete an attachment on an event, message, or post. |
4848

4949
## Properties
5050

api-reference/v1.0/resources/calendar.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ Represents a container for [event](event.md) resources. It can be a calendar for
2424

2525
| Method | Return Type |Description|
2626
|:---------------|:--------|:----------|
27-
|[List calendars](../api/user-list-calendars.md)|[calendar](calendar.md) collection|Get all the user's calendars, or the calendars in the default or other specific calendar group.|
28-
|[Create calendar](../api/user-post-calendars.md) |[calendar](calendar.md)| Create a new calendar in the default calendar group or specified calendar group for a user.|
29-
|[Get calendar](../api/calendar-get.md) | [calendar](calendar.md) |Get the properties and relationships of a **calendar** object. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. |
30-
|[Update calendar](../api/calendar-update.md) | [calendar](calendar.md) |Update the properties of a **calendar** object. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. |
31-
|[Delete calendar](../api/calendar-delete.md) | None |Delete calendar object. |
27+
|[List](../api/user-list-calendars.md)|[calendar](calendar.md) collection|Get all the user's calendars, or the calendars in the default or other specific calendar group.|
28+
|[Create](../api/user-post-calendars.md) |[calendar](calendar.md)| Create a new calendar in the default calendar group or specified calendar group for a user.|
29+
|[Get](../api/calendar-get.md) | [calendar](calendar.md) |Get the properties and relationships of a **calendar** object. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. |
30+
|[Update](../api/calendar-update.md) | [calendar](calendar.md) |Update the properties of a **calendar** object. The calendar can be one for a user, or the default calendar of a Microsoft 365 group. |
31+
|[Delete](../api/calendar-delete.md) | None |Delete calendar object. |
3232
|[List calendar view](../api/calendar-list-calendarview.md) |[event](event.md) collection| Get the occurrences, exceptions, and single instances of events in a calendar view defined by a time range, from the user's primary calendar `(../me/calendarview)` or from a specified calendar.|
3333
|[List events](../api/calendar-list-events.md) |[event](event.md) collection| Retrieve a list of events in a calendar. The list contains single instance meetings and series masters.|
3434
|[Create Event](../api/calendar-post-events.md) |[event](event.md)| Create a new event in the default or specified calendar.|

0 commit comments

Comments
 (0)