Skip to content

Commit 943921a

Browse files
authored
Merge pull request #28007 from microsoftgraph/repo_sync_working_branch
Confirm merge from repo_sync_working_branch to main to sync with https://github.com/microsoftgraph/microsoft-graph-docs-contrib (branch main)
2 parents ce9ff79 + dee1088 commit 943921a

16 files changed

Lines changed: 73 additions & 73 deletions

api-reference/beta/api/range-delete.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ In the request body, provide a JSON object with the following parameters.
5050

5151
## Response
5252

53-
If successful, this method returns `200 OK` response code. It doesn't return anything in the response body.
53+
If successful, this method returns `204 No Content` response code. It doesn't return anything in the response body.
5454

5555
## Example
5656
Here is an example of how to call this API.
5757
##### Request
58-
The following example shows a request.
58+
This example shows how to delete a cell and shift the other cells up.
5959

6060
# [HTTP](#tab/http)
6161
<!-- {
@@ -67,7 +67,7 @@ POST https://graph.microsoft.com/beta/me/drive/items/{id}/workbook/names/{name}/
6767
Content-type: application/json
6868
6969
{
70-
"shift": "shift-value"
70+
"shift": "Up"
7171
}
7272
```
7373

@@ -103,7 +103,7 @@ The following example shows the response.
103103
"blockType": "response"
104104
} -->
105105
```http
106-
HTTP/1.1 200 OK
106+
HTTP/1.1 204 No Content
107107
```
108108

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

api-reference/beta/api/range-insert.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ If successful, this method returns `200 OK` response code and [workbookRange](..
5555
## Example
5656
Here is an example of how to call this API.
5757
##### Request
58-
The following example shows a request.
58+
This example shows how to insert a cell into the worksheet and shift the other cells down.
5959

6060
# [HTTP](#tab/http)
6161
<!-- {
@@ -67,7 +67,7 @@ POST https://graph.microsoft.com/beta/me/drive/items/{id}/workbook/names/{name}/
6767
Content-type: application/json
6868
6969
{
70-
"shift": "shift-value"
70+
"shift": "Down"
7171
}
7272
```
7373

api-reference/beta/api/workbook-list-worksheets.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,10 @@ Content-type: application/json
9999
{
100100
"value": [
101101
{
102-
"id": "id-value",
103-
"position": 99,
104-
"name": "name-value",
105-
"visibility": "visibility-value"
102+
"id": "{FC034FA8-F8CC-4D24-9C0A-02A81B7792A0}",
103+
"position": 0,
104+
"name": "Sheet1",
105+
"visibility": "Visible"
106106
}
107107
]
108108
}

api-reference/beta/api/worksheet-delete.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ DELETE /me/drive/root:/{item-path}:/workbook/worksheets/{id|name}
4141

4242
## Response
4343

44-
If successful, this method returns `200 OK` response code. It doesn't return anything in the response body.
44+
If successful, this method returns `204 No Content` response code. It doesn't return anything in the response body.
4545

4646
## Example
4747
Here is an example of how to call this API.
@@ -89,7 +89,7 @@ The following example shows the response.
8989
"blockType": "response"
9090
} -->
9191
```http
92-
HTTP/1.1 200 OK
92+
HTTP/1.1 204 No Content
9393
```
9494

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

api-reference/beta/api/worksheet-get.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,10 @@ HTTP/1.1 200 OK
9696
Content-type: application/json
9797
9898
{
99-
"id": "id-value",
100-
"position": 99,
101-
"name": "name-value",
102-
"visibility": "visibility-value"
99+
"id": "{FC034FA8-F8CC-4D24-9C0A-02A81B7792A0}",
100+
"position": 1,
101+
"name": "Sheet1",
102+
"visibility": "Visible"
103103
}
104104
```
105105

api-reference/beta/api/worksheet-list.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,10 @@ Content-type: application/json
9999
{
100100
"value": [
101101
{
102-
"id": "id-value",
103-
"position": 99,
104-
"name": "name-value",
105-
"visibility": "visibility-value"
102+
"id": "{FC034FA8-F8CC-4D24-9C0A-02A81B7792A0}",
103+
"position": 0,
104+
"name": "Sheet1",
105+
"visibility": "Visible"
106106
}
107107
]
108108
}

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

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ In the request body, supply the values for relevant fields that should be update
4141

4242
| Property | Type |Description|
4343
|:---------------|:--------|:----------|
44-
|name|string|The display name of the worksheet.|
45-
|position|int|The zero-based position of the worksheet within the workbook.|
46-
|visibility|string|The Visibility of the worksheet. The possible values are: `Visible`, `Hidden`, `VeryHidden`.|
44+
|name|string|The display name of the worksheet. Optional.|
45+
|position|int|The zero-based position of the worksheet within the workbook. Optional.|
46+
|visibility|string|The Visibility of the worksheet. Optional. The possible values are: `Visible`, `Hidden`, `VeryHidden`.|
4747

4848
## Response
4949

@@ -62,9 +62,9 @@ PATCH https://graph.microsoft.com/beta/me/drive/items/{id}/workbook/worksheets/{
6262
Content-type: application/json
6363
6464
{
65-
"position": 99,
66-
"name": "name-value",
67-
"visibility": "visibility-value"
65+
"position": 0,
66+
"name": "Sheet2",
67+
"visibility": "Hidden"
6868
}
6969
```
7070

@@ -106,10 +106,10 @@ HTTP/1.1 200 OK
106106
Content-type: application/json
107107
108108
{
109-
"id": "id-value",
110-
"position": 99,
111-
"name": "name-value",
112-
"visibility": "visibility-value"
109+
"id": "{FC034FA8-F8CC-4D24-9C0A-02A81B7792A0}",
110+
"position": 0,
111+
"name": "Sheet2",
112+
"visibility": "Hidden"
113113
}
114114
```
115115

api-reference/beta/api/worksheetcollection-add.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ In the request body, provide a JSON object with the following parameters.
4646

4747
## Response
4848

49-
If successful, this method returns `200 OK` response code and [workbookWorksheet](../resources/workbookworksheet.md) object in the response body.
49+
If successful, this method returns `201 Created` response code and [workbookWorksheet](../resources/workbookworksheet.md) object in the response body.
5050

5151
## Examples
5252

@@ -63,7 +63,7 @@ POST https://graph.microsoft.com/beta/me/drive/items/{id}/workbook/worksheets/ad
6363
Content-type: application/json
6464
6565
{
66-
"name": "name-value"
66+
"name": "Sheet1"
6767
}
6868
```
6969

@@ -103,14 +103,14 @@ The following example shows the response.
103103
"@odata.type": "microsoft.graph.workbookWorksheet"
104104
} -->
105105
```http
106-
HTTP/1.1 200 OK
106+
HTTP/1.1 201 Created
107107
Content-type: application/json
108108
109109
{
110-
"id": "id-value",
111-
"position": 99,
112-
"name": "name-value",
113-
"visibility": "visibility-value"
110+
"id": "{FC034FA8-F8CC-4D24-9C0A-02A81B7792A0}",
111+
"position": 1,
112+
"name": "Sheet1",
113+
"visibility": "Visible"
114114
}
115115
```
116116

api-reference/v1.0/api/range-delete.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@ In the request body, provide a JSON object with the following parameters.
4848

4949
## Response
5050

51-
If successful, this method returns `200 OK` response code. It doesn't return anything in the response body.
51+
If successful, this method returns `204 No Content` response code. It doesn't return anything in the response body.
5252

5353
## Example
5454
Here is an example of how to call this API.
5555
##### Request
56-
The following example shows a request.
56+
This example shows how to delete a cell and shift the other cells up.
5757

5858
# [HTTP](#tab/http)
5959
<!-- {
@@ -65,7 +65,7 @@ POST https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/names/{name}/
6565
Content-type: application/json
6666
6767
{
68-
"shift": "shift-value"
68+
"shift": "Up"
6969
}
7070
```
7171

@@ -102,7 +102,7 @@ The following example shows the response.
102102
"truncated": true
103103
} -->
104104
```http
105-
HTTP/1.1 200 OK
105+
HTTP/1.1 204 No Content
106106
```
107107

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

api-reference/v1.0/api/range-insert.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ If successful, this method returns `200 OK` response code and [Range](../resourc
5353
## Example
5454
Here is an example of how to call this API.
5555
##### Request
56-
The following example shows a request.
56+
This example shows how to insert a cell into the worksheet and shift the other cells down.
5757

5858
# [HTTP](#tab/http)
5959
<!-- {
@@ -65,7 +65,7 @@ POST https://graph.microsoft.com/v1.0/me/drive/items/{id}/workbook/names/{name}/
6565
Content-type: application/json
6666
6767
{
68-
"shift": "shift-value"
68+
"shift": "Down"
6969
}
7070
```
7171

0 commit comments

Comments
 (0)