@@ -105,7 +105,7 @@ heuristics:
105
105
A client wants to provision a new database
106
106
107
107
```
108
- POST https://api.contoso .com/v1.0/databases/
108
+ POST https://graph.microsoft .com/v1.0/databases/
109
109
110
110
{
111
111
"id": "db1",
@@ -118,7 +118,7 @@ Operation-Location header and status property in the response payload.
118
118
119
119
```
120
120
HTTP/1.1 201 Created
121
- Content-Location: https://api.contoso .com/v1.0/databases/db1
121
+ Content-Location: https:////graph.microsoft .com/v1.0/databases/db1
122
122
123
123
{
124
124
"id": "db1",
@@ -130,7 +130,7 @@ Content-Location: https://api.contoso.com/v1.0/databases/db1
130
130
### Creating a new resource using Stepwise Operation:
131
131
132
132
```
133
- POST https://api.contoso .com/v1.0/databases/
133
+ POST https://graph.microsoft .com/v1.0/databases/
134
134
135
135
{
136
136
"id": "db1",
@@ -143,15 +143,15 @@ the Location header with an operation resource for further polling .
143
143
```
144
144
HTTP/1.1 202 Accepted
145
145
146
- Location: https://api.contoso .com/v1.0/operations/123
146
+ Location: https://graph.microsoft .com/v1.0/operations/123
147
147
148
148
```
149
149
150
150
### Polling on a Stepwise Operation:
151
151
152
152
```
153
153
154
- GET https://api.contoso .com/v1.0/operations/123
154
+ GET https://graph.microsoft .com/v1.0/operations/123
155
155
```
156
156
157
157
Server responds that results are still not ready and optionally provides a
@@ -170,7 +170,7 @@ Client waits the recommended 30 seconds and then invokes another request to get
170
170
the results of the operation.
171
171
172
172
```
173
- GET https://api.contoso .com/v1.0/operations/123
173
+ GET https://graph.microsoft .com/v1.0/operations/123
174
174
```
175
175
176
176
@@ -184,6 +184,6 @@ HTTP/1.1 200 OK
184
184
"createdDateTime": "2015-06-19T12-01-03.45Z",
185
185
"lastActionDateTime": "2015-06-19T12-06-03.0024Z",
186
186
"status": "succeeded",
187
- "resourceLocation": "https://api.contoso .com/v1.0/databases/db1"
187
+ "resourceLocation": "https://graph.microsoft .com/v1.0/databases/db1"
188
188
}
189
189
```
0 commit comments