@@ -110,7 +110,7 @@ heuristics:
110
110
A client wants to provision a new database
111
111
112
112
```
113
- POST https://graph.microsoft.com/v1.0/databases/
113
+ POST https://graph.microsoft.com/v1.0/storage/ databases/
114
114
115
115
{
116
116
"id": "db1",
@@ -123,7 +123,7 @@ Content-Location header and status property in the response payload.
123
123
124
124
```
125
125
HTTP/1.1 201 Created
126
- Content-Location: https://graph.microsoft.com/v1.0/databases/db1
126
+ Content-Location: https://graph.microsoft.com/v1.0/storage/ databases/db1
127
127
128
128
{
129
129
"id": "db1",
@@ -134,7 +134,7 @@ Content-Location: https://graph.microsoft.com/v1.0/databases/db1
134
134
The client waits for a period of time then invokes another request to try to get the database status.
135
135
136
136
```
137
- GET https://graph.microsoft.com/v1.0/databases/db1
137
+ GET https://graph.microsoft.com/v1.0/storage/ databases/db1
138
138
139
139
HTTP/1.1 200 Ok
140
140
{
@@ -150,7 +150,7 @@ HTTP/1.1 200 Ok
150
150
A client wants to cancel provisioning of a new database
151
151
152
152
```
153
- DELETE https://graph.microsoft.com/v1.0/databases/db1
153
+ DELETE https://graph.microsoft.com/v1.0/storage/ databases/db1
154
154
155
155
```
156
156
@@ -160,7 +160,7 @@ Content-Location header and status property in the response payload.
160
160
161
161
```
162
162
HTTP/1.1 202 Accepted
163
- Content-Location: https://graph.microsoft.com/v1.0/databases/db1
163
+ Content-Location: https://graph.microsoft.com/v1.0/storage/ databases/db1
164
164
165
165
{
166
166
"id": "db1",
@@ -171,14 +171,14 @@ Content-Location: https://graph.microsoft.com/v1.0/databases/db1
171
171
The client waits for a period of time then invokes another request to try to get the deletion status.
172
172
173
173
```
174
- GET https://graph.microsoft.com/v1.0/databases /db1
174
+ GET https://graph.microsoft.com/v1.0/storage /db1
175
175
176
176
HTTP/1.1 404 Not Found
177
177
```
178
178
### Create a new resource using the Stepwise Operation
179
179
180
180
```
181
- POST https://graph.microsoft.com/v1.0/databases/
181
+ POST https://graph.microsoft.com/v1.0/storage/ databases/
182
182
183
183
{
184
184
"id": "db1",
@@ -191,15 +191,15 @@ the Location header with an operation resource for further polling.
191
191
```
192
192
HTTP/1.1 202 Accepted
193
193
194
- Location: https://graph.microsoft.com/v1.0/databases /operations/123
194
+ Location: https://graph.microsoft.com/v1.0/storage /operations/123
195
195
196
196
```
197
197
198
198
### Poll on a Stepwise Operation
199
199
200
200
```
201
201
202
- GET https://graph.microsoft.com/v1.0/operations/123
202
+ GET https://graph.microsoft.com/v1.0/storage/ operations/123
203
203
```
204
204
205
205
The server responds that results are still not ready and optionally provides a
@@ -218,7 +218,7 @@ The client waits the recommended 30 seconds and then invokes another request to
218
218
the results of the operation.
219
219
220
220
```
221
- GET https://graph.microsoft.com/v1.0/operations/123
221
+ GET https://graph.microsoft.com/v1.0/storage/ operations/123
222
222
```
223
223
224
224
@@ -232,6 +232,6 @@ HTTP/1.1 200 OK
232
232
"createdDateTime": "2015-06-19T12-01-03.45Z",
233
233
"lastActionDateTime": "2015-06-19T12-06-03.0024Z",
234
234
"status": "succeeded",
235
- "resourceLocation": "https://graph.microsoft.com/v1.0/databases/db1"
235
+ "resourceLocation": "https://graph.microsoft.com/v1.0/storage/ databases/db1"
236
236
}
237
237
```
0 commit comments