Skip to content

Commit 666d7b4

Browse files
authored
Merge pull request #9766 from MartinM85/fix/status-codes
Fixes status codes
2 parents d11db6a + c3ab12f commit 666d7b4

24 files changed

Lines changed: 45 additions & 45 deletions

api-reference/beta/api/accesspackageassignmentrequest-cancel.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,5 +114,5 @@ The following example shows the response.
114114
} -->
115115

116116
```http
117-
HTTP/1.1 200 Status OK
117+
HTTP/1.1 200 OK
118118
```

api-reference/beta/api/accessreview-update.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ The following table shows the properties that can be supplied when you update an
5454

5555

5656
## Response
57-
If successful, this method returns a `204 Accepted` response code and an [accessReview](../resources/accessreview.md) object in the response body.
57+
If successful, this method returns a `202 Accepted` response code and an [accessReview](../resources/accessreview.md) object in the response body.
5858

5959
## Example
6060

@@ -116,7 +116,7 @@ Content-type: application/json
116116
"@odata.type": "microsoft.graph.accessReview"
117117
} -->
118118
```http
119-
HTTP/1.1 204 Accepted
119+
HTTP/1.1 202 Accepted
120120
Content-type: application/json
121121
122122
{

api-reference/beta/api/accessreviewinstancedecisionitem-update.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ Content-Type: application/json
124124
"blockType": "response"
125125
} -->
126126
```http
127-
HTTP/1.1 204 Accepted
127+
HTTP/1.1 202 Accepted
128128
```
129129

130130

@@ -183,7 +183,7 @@ Content-Type: application/json
183183
"blockType": "response"
184184
} -->
185185
```http
186-
HTTP/1.1 204 Accepted
186+
HTTP/1.1 202 Accepted
187187
```
188188

189189
### Example 3: Update a applyResult on an accessReviewInstance
@@ -246,7 +246,7 @@ Content-Type: application/json
246246
"blockType": "response"
247247
} -->
248248
```http
249-
HTTP/1.1 204 Accepted
249+
HTTP/1.1 202 Accepted
250250
```
251251

252252
<!--

api-reference/beta/api/channel-list-tabs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ The following example shows the response.
116116
-->
117117

118118
```http
119-
HTTP/1.1 200 Success
119+
HTTP/1.1 200 OK
120120
Content-type: application/json
121121
122122
{
@@ -213,7 +213,7 @@ The following example shows the response.
213213
-->
214214

215215
```http
216-
HTTP/1.1 200 Success
216+
HTTP/1.1 200 OK
217217
Content-type: application/json
218218
219219
{

api-reference/beta/api/chat-list-operations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ GET https://graph.microsoft.com/beta/chats/19:c253a29b5f694b55a6baad8e83510af7@t
108108
}
109109
-->
110110
``` http
111-
HTTP/1.1 202 OK
111+
HTTP/1.1 200 OK
112112
Content-Type: application/json
113113
114114
{

api-reference/beta/api/chat-list-tabs.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ The following example shows the response.
113113
-->
114114

115115
```http
116-
HTTP/1.1 200 Success
116+
HTTP/1.1 200 OK
117117
Content-type: application/json
118118
119119
{
@@ -240,7 +240,7 @@ The following example shows the response.
240240
-->
241241

242242
```http
243-
HTTP/1.1 200 Success
243+
HTTP/1.1 200 OK
244244
Content-type: application/json
245245
246246
{

api-reference/beta/api/connectedorganization-update.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ The following table shows the properties that can be supplied when you update th
5555

5656
## Response
5757

58-
If successful, this method returns a `204 Accepted` response code and a [connectedOrganization](../resources/connectedorganization.md) object in the response body.
58+
If successful, this method returns a `202 Accepted` response code and a [connectedOrganization](../resources/connectedorganization.md) object in the response body.
5959

6060
## Examples
6161

@@ -117,7 +117,7 @@ Content-Type: application/json
117117
}
118118
-->
119119
``` http
120-
HTTP/1.1 204 Accepted
120+
HTTP/1.1 202 Accepted
121121
Content-type: application/json
122122
123123
{

api-reference/beta/api/educationclass-post-module.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ POST /education/classes/{id}/modules
4242
In the request body, supply a JSON representation of an [educationModule](../resources/educationmodule.md) object.
4343

4444
## Response
45-
If successful, this method returns a `201 OK` response code and an [educationModule](../resources/educationmodule.md) object in the request body.
45+
If successful, this method returns a `201 Created` response code and an [educationModule](../resources/educationmodule.md) object in the request body.
4646

4747
## Example
4848

@@ -106,7 +106,7 @@ The following example shows the response.
106106
"@odata.type": "microsoft.graph.educationModule"
107107
} -->
108108
```http
109-
HTTP/1.1 201 OK
109+
HTTP/1.1 201 Created
110110
Content-type: application/json
111111
112112
{

api-reference/beta/api/filestoragecontainer-post-customproperty.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ You can specify the following properties when you create a custom property.
5353

5454
## Response
5555

56-
If successful, this method returns a `200 Created` response code.
56+
If successful, this method returns a `201 Created` response code.
5757

5858
## Examples
5959

@@ -92,7 +92,7 @@ The following example shows the response. By default, the property isn't searcha
9292
}
9393
-->
9494
```http
95-
HTTP/1.1 200 Created
95+
HTTP/1.1 201 Created
9696
```
9797
### Example 2: Create a custom searchable property
9898

@@ -130,7 +130,7 @@ The following example shows the response.
130130
}
131131
-->
132132
```http
133-
HTTP/1.1 200 Created
133+
HTTP/1.1 201 Created
134134
```
135135

136136

api-reference/beta/api/post-post-attachments.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ The following example shows the response.
129129
"name": "create_file_attachment_with_post"
130130
} -->
131131
```http
132-
HTTP/1.1 202 Accpted
132+
HTTP/1.1 202 Accepted
133133
```
134134

135135
### Example 2: Include an item attachment
@@ -289,7 +289,7 @@ The following example shows the response.
289289
"name": "create_reference_attachment_with_post"
290290
} -->
291291
```http
292-
HTTP/1.1 202 Accpted
292+
HTTP/1.1 202 Accepted
293293
```
294294

295295
<!-- uuid: 8fcb5dbc-d5aa-4681-8e31-b001d5168d79

0 commit comments

Comments
 (0)