A well-designed API is thoroughly documented in a way that's easy to understand.
When making an API assessment, two things can indicate bad design: Developers assume the code speaks for itself and don't take the time to explain their API.
Some people think great API code explains itself, but self-explanatory code is a myth. A developer should not assume the API design is so intuitive that documentation is unnecessary. If this assumption is made, organizations need to heed this red flag when making an API assessment.
If developers don't take the time to document the API they have created, then they probably haven't designed the API properly.
Great API design requires time and attention. The developer building the API needs to think about who will be using it and the different use cases.
A developer should take time to document and explain the API so its use becomes clear in an API assessment. The documentation should be an overview that encompasses the rationale behind the design, and it should include a reference guide that details the API's functions and the various edge cases it was built to handle.
The documentation should be the first thing to look at in an API assessment. If the documentation is easy to understand and explains how to use the API, that's the best sign for a great design. If the API is lacking documentation, it will be a red flag to potential poor API design.
Do you have a question for Tsahi Levent-Levi or any other experts? Ask your enterprise-specific questions today! (All questions are treated anonymously.)
API integrations require thorough planning
How to evaluate vendor APIs
An expert's advice for API design
Related Q&A from Tsahi Levent-Levi
Four security vulnerabilities should be top of mind as you move into real-time communication with APIs. Expert Tsahi Levent-Levi explains how to ... Continue Reading
Measuring API performance depends on whether the API is provided by a vendor or developed in-house. API expert Tsahi Levent-Levi offers steps to ... Continue Reading
Twilio Flex, a programmable contact center platform, reflects an emerging trend toward software products built on APIs, according to API expert Tsahi... Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.