Skip to content

Commit

Permalink
Move proto-specific guidance to a tab.
Browse files Browse the repository at this point in the history
  • Loading branch information
rofrankel committed May 31, 2024
1 parent b756cc0 commit a9edc9f
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions aep/general/0159/aep.md.j2
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ in a standard [`List`](./list) method:
GET /v1/publishers/-/books?filter=...
```

- The URI pattern **must** still be specified with `*` and permit the
collection to be specified; a URI pattern **must not** hard-code the `-`
character.
- The method **must** explicitly document that this behavior is supported.
- The resources provided in the response **must** use the canonical name of the
resource, with the actual parent collection identifiers (instead of `-`).
Expand All @@ -34,6 +31,14 @@ possibility of partial failures due to unreachable parents (such as when
listing across locations), the method **must** indicate this following the
guidance in [unreachable resources].

{% tab proto %}

- The URI pattern in the `google.api.http` annotation **must** still be
specified with `*` and permit the collection to be specified; a URI pattern
**must not** hard-code the `-` character.

{% endtabs %}

### Unique resource lookup

Sometimes, a resource within a sub-collection has an identifier that is unique
Expand Down

0 comments on commit a9edc9f

Please sign in to comment.