Is there a standard anywhere for official REST API terms?
It seems like the OpenAPI specification helps further consensus around terms. And yet, there are some terms that are still ambiguous, despite the specification.
With the Swagger Petstore, what would you call the following:
- /pet
- /pet/findByStatus
- /pet/findByTags
It seems the Swagger UI calls them "operations." Other terms I've seen include APIs, methods, objects, resources, or no name at all.
The terms I like are resources, methods, and endpoints. You have a pet "resource." This resource has a variety of "endpoints" available. Each endpoint uses a specific "method."
For each endpoint, there a specific "parameters" you can pass. The types of parameters include "body parameters," "header parameters," and "query string parameters."
The endpoints usually have a sample "request" and a sample "response."
Do these terms represent the norm? I wish the OpenAPI spec didn't use "paths" and "operations," since these terms seem less common.