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
Copy file name to clipboardExpand all lines: graph/patterns/longRunningOperations.md
+46-2Lines changed: 46 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,6 +98,7 @@ heuristics:
98
98
prior to being purged from the system.
99
99
100
100
- Services that provides a new operation resource MUST support GET semantics on the operation.
101
+
- Services that returns a new operation MUST always return an LRO (even if the LRO is created in the completed state) that way API consumers don't have to deal with two different shapes of response.
101
102
102
103
103
104
@@ -118,19 +119,62 @@ POST https://graph.microsoft.com/v1.0/databases/
118
119
119
120
The API responds synchronously that the database has been created and indicates
120
121
that the provisioning operation is not fully completed by including the
121
-
Operation-Location header and status property in the response payload.
122
+
Content-Location header and status property in the response payload.
0 commit comments