Clarify method naming#1498
Conversation
Names for resource-base and collection-based methods can be a verb only.
|
The examples |
|
Hi @kaibolay thanks for the proposed change. Can I ask for the context of the proposed change? The existing guidance is by design, not a mistake needing clarification, so it would be great to understand the motivation for the change. Thanks! |
Apologies, I opened this prior to your PR comment with an example, and didn't refresh before hitting send. |
Right, ok, so I think see where things are confusing, and totally see how we got here. The following guidance:
Is referring to the
The examples you've mentioned are referring to the HTTP "custom method suffix" that AIP-136 standardized for differentiating a custom method from a standard method on the same Resource path. This is covered by the following existing guidance:
and for stateless methods:
Does that clarify things? |
Yes, definitely. Thanks! |
Names for resource-base and collection-based methods can be a verb only.