Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions aep/general/0231/aep.md.j2
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ APIs **may** support batch get to retrieve a consistent set of resources.
- The method's name **must** begin with `BatchGet`. The remainder of the method
name **must** be the plural form of the resource being retrieved.
- The HTTP verb **must** be `GET`.
- The HTTP URI **must** end with `:batchGet`.
- The HTTP URI **must** end with `:batch-get`.
- The URI path **must** represent the collection for the resource, matching the
collection used for simple CRUD operations. If the operation spans parents, a
[wilcard](./reading-across-collections) **may** be accepted.
Expand Down Expand Up @@ -45,7 +45,7 @@ pattern:
```proto
rpc BatchGetBooks(BatchGetBooksRequest) returns (BatchGetBooksResponse) {
option (google.api.http) = {
get: "/v1/{parent=publishers/*}/books:batchGet"
get: "/v1/{parent=publishers/*}/books:batch-get"
};
}

Expand Down Expand Up @@ -121,7 +121,7 @@ message BatchGetBooksResponse {

{% tab oas %}

{% sample 'batchget.oas.yaml', '$.paths./publishers/{publisherId}/books:BatchGet' %}
{% sample 'batchget.oas.yaml', '$.paths./publishers/{publisherId}/books:batch-get' %}

Example response body:

Expand Down
2 changes: 1 addition & 1 deletion aep/general/0231/batchget.oas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ info:
title: Library
version: 1.0.0
paths:
/publishers/{publisherId}/books:BatchGet:
/publishers/{publisherId}/books:batch-get:
parameters:
- name: publisherId
in: path
Expand Down
Loading