You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Standardize If-Match header documentation across all section APIs
- All write operations now reference @microsoft.graph.sectionsVersion
from list sections response as the If-Match value
- If-None-Match in get section also references sectionsVersion
- Fix ETag format: use strongly-quoted unix timestamp ("1742515200")
instead of weak ETag (W/"123456")
- Consistent across all 8 section management API topics
| Authorization | Bearer {token}. Required. Learn more about [authentication and authorization](/graph/auth/auth-concepts). |
40
-
| If-Match | The ETag value of a previously retrieved **teamworkSection**. Required for optimistic concurrency control. |
40
+
| If-Match | The value of the **@microsoft.graph.sectionsVersion** property previously retrieved from [listing sections](userteamwork-list-sections.md). Required for optimistic concurrency control. |
41
41
42
42
## Request body
43
43
@@ -60,7 +60,7 @@ The following example shows a request.
Copy file name to clipboardExpand all lines: api-reference/beta/api/teamworksection-get.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ This method doesn't support [OData query parameters](/graph/query-parameters) to
41
41
| Header | Value |
42
42
|:-------|:------|
43
43
| Authorization | Bearer {token}. Required. Learn more about [authentication and authorization](/graph/auth/auth-concepts). |
44
-
| If-None-Match | The ETag value of a previously retrieved **teamworkSection**. If the resource didn't change, this header causes a `304 Not Modified` response. Optional. |
44
+
| If-None-Match | The value of the **@microsoft.graph.sectionsVersion** property previously retrieved from [listing sections](userteamwork-list-sections.md). If the section hierarchy didn't change, this header causes a `304 Not Modified` response. Optional. |
45
45
46
46
## Request body
47
47
@@ -80,11 +80,11 @@ The following example shows the response.
Copy file name to clipboardExpand all lines: api-reference/beta/api/teamworksection-post-items.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ POST /users/{user-id}/teamwork/sections/{teamworkSection-id}/items
38
38
|:-------|:------|
39
39
| Authorization | Bearer {token}. Required. Learn more about [authentication and authorization](/graph/auth/auth-concepts). |
40
40
| Content-Type | application/json. Required. |
41
-
| If-Match | The ETag value of a previously retrieved **teamworkSectionItem**. Required for optimistic concurrency control. |
41
+
| If-Match | The value of the **@microsoft.graph.sectionsVersion** property previously retrieved from [listing sections](userteamwork-list-sections.md). Required for optimistic concurrency control. |
42
42
43
43
## Request body
44
44
@@ -78,7 +78,7 @@ The following example shows a request to add a chat to a section.
78
78
```http
79
79
POST https://graph.microsoft.com/beta/users/10f8c3a6-3e2a-4e8b-9c7d-5a4b6c8d9e0f/teamwork/sections/a1b2c3d4-e5f6-7890-abcd-ef1234567890/items
| Authorization | Bearer {token}. Required. Learn more about [authentication and authorization](/graph/auth/auth-concepts). |
40
40
| Content-Type | application/json. Required. |
41
-
| If-Match | The ETag value of a previously retrieved **teamworkSection**. Required for optimistic concurrency control. |
41
+
| If-Match | The value of the **@microsoft.graph.sectionsVersion** property previously retrieved from [listing sections](userteamwork-list-sections.md). Required for optimistic concurrency control. |
42
42
43
43
## Request body
44
44
@@ -79,7 +79,7 @@ The following example shows a request.
| Authorization | Bearer {token}. Required. Learn more about [authentication and authorization](/graph/auth/auth-concepts). |
40
-
| If-Match | The ETag value of a previously retrieved **teamworkSectionItem**. Required for optimistic concurrency control. |
40
+
| If-Match | The value of the **@microsoft.graph.sectionsVersion** property previously retrieved from [listing sections](userteamwork-list-sections.md). Required for optimistic concurrency control. |
41
41
42
42
## Request body
43
43
@@ -60,7 +60,7 @@ The following example shows a request.
Copy file name to clipboardExpand all lines: api-reference/beta/api/teamworksectionitem-move.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ POST /users/{user-id}/teamwork/sections/{teamworkSection-id}/items/{teamworkSect
38
38
|:-------|:------|
39
39
| Authorization | Bearer {token}. Required. Learn more about [authentication and authorization](/graph/auth/auth-concepts). |
40
40
| Content-Type | application/json. Required. |
41
-
| If-Match | The ETag value of a previously retrieved **teamworkSectionItem**. Required for optimistic concurrency control. |
41
+
| If-Match | The value of the **@microsoft.graph.sectionsVersion** property previously retrieved from [listing sections](userteamwork-list-sections.md). Required for optimistic concurrency control. |
42
42
43
43
## Request body
44
44
@@ -68,7 +68,7 @@ The following example shows a request to move a chat from the "Favorites" sectio
68
68
```http
69
69
POST https://graph.microsoft.com/beta/users/10f8c3a6-3e2a-4e8b-9c7d-5a4b6c8d9e0f/teamwork/sections/a1b2c3d4-e5f6-7890-abcd-ef1234567890/items/19:d5b2c3a4-e6f7-8901-abcd-ef3456789012@thread.v2/move
Copy file name to clipboardExpand all lines: api-reference/beta/api/userteamwork-post-sections.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ POST /users/{user-id}/teamwork/sections
38
38
|:-------|:------|
39
39
| Authorization | Bearer {token}. Required. Learn more about [authentication and authorization](/graph/auth/auth-concepts). |
40
40
| Content-Type | application/json. Required. |
41
-
| If-Match | The ETag value of a previously retrieved **userTeamwork**resource. Required for optimistic concurrency control. |
41
+
| If-Match | The value of the **@microsoft.graph.sectionsVersion**property previously retrieved from [listing sections](userteamwork-list-sections.md). Required for optimistic concurrency control. |
42
42
43
43
## Request body
44
44
@@ -71,7 +71,7 @@ The following example shows a request.
71
71
```http
72
72
POST https://graph.microsoft.com/beta/users/10f8c3a6-3e2a-4e8b-9c7d-5a4b6c8d9e0f/teamwork/sections
0 commit comments