1. Google Cloud API Design Guide
Naming Conventions: This guide
which informs Apigee's philosophy
states
"To provide a consistent developer experience across a large number of APIs and over a long period of time
all names used by an API should be: simple
intuitive
consistent." It further emphasizes
"Within a given API
names must be used consistently." This highlights consistency as a mandatory rule.
Source: Google Cloud. (n.d.). API Design Guide: Naming Conventions. Retrieved from https://cloud.google.com/apis/design/namingconvention
2. Apigee
Web API Design: The Missing Link (e-book): This official Apigee publication lists "Strive for Consistency" as a core design principle. It explains
"Consistency in your API design will make it easier for developers to learn and use. ... Be consistent in your use of name casing (camelCase or underscores)." This directly supports the mandate for consistency presented in the correct answer.
Source: Marsh
D. (2016). Web API Design: The Missing Link. Apigee. (Specifically
the chapter on "Design Principles").
3. Stanford University
CS193P - Developing Apps for iOS: Course materials on API design frequently emphasize the "Principle of Least Astonishment
" where consistency is a key component. An API should not have surprising or unpredictable behavior
which includes consistent naming for similar concepts.
Source: Stanford University. (2021). CS193p - Developing Apps for iOS. Lecture materials on API Design. (General principle taught in software engineering and API design modules).