Skip to content

Commit

Permalink
fix(lro): clarify protobuf response for no parallel requests
Browse files Browse the repository at this point in the history
For protobuf guidance, it was unclear response code should be.
  • Loading branch information
toumorokoshi committed Oct 19, 2024
1 parent 0982852 commit 86d92d0
Showing 1 changed file with 17 additions and 4 deletions.
21 changes: 17 additions & 4 deletions aep/general/0151/aep.md.j2
Original file line number Diff line number Diff line change
Expand Up @@ -75,10 +75,23 @@ but is not obligated to do so:

- Resources that accept multiple parallel requests **may** place them in a
queue rather than work on the requests simultaneously.
- Resource that does not permit multiple requests in parallel (denying any new
request until the one that is in progress finishes) **must** return
`409 Conflict` if a user attempts a parallel request, and include an error
message explaining the situation.

{% tab proto %}

- A Resource that does not permit multiple requests in parallel (denying any new
request until the one that is in progress finishes) **must** return `ABORTED`
if a user attempts a parallel request, and include an error message explaining
the situation.

{% tab oas %}

- A Resource that does not permit multiple requests in parallel (denying any new
request until the one that is in progress finishes) **must** return a `409
Conflict` if a user attempts a parallel request, and include an error message
explaining the situation.

{% endtabs %}


### Expiration

Expand Down

0 comments on commit 86d92d0

Please sign in to comment.