🥥API Documentation Best Practices
What types of documentation?
Value Of Good Documentation:
Top 3 Reasons Documentation is Must-Have
Top 2 Reasons Documentation is Nice-to-Have
Who writes the docs anyways?
Quiz:
Question 1
What’s the difference between reference docs and concept docs?
Concept docs are for feelings, references docs are for memes
Reference docs are for brief, generic ideas whereas concept docs cover list of supported data types, API specs, etc.
Reference docs are a round up API specs, list of supported data types, system requirements, etc. whereas concept docs refer to generic ideas covered briefly
Correct answer.
Only technical writers use concept docs, all others use reference docs
Question 2
Whats a good example of a Task doc?
Documentation overviewing your house projects to-do list
Documentation showing what the API is good at doing
Correct answer.
Documentation explaining word definitions or industry jargon
None of the above
Question 3
Who benefits from good documentation?
3rd party partners
Developers
End consumers
All of the above
Correct answer.
Question 4
What are Zombie APIs?
Undocumented, unmaintained APIs that become unmonitored attack vectors
Correct answer.
APIs that you make during the month of October to Celebrate Halloween
APIs that never passed their security check
Fake APIs
Question 5
What does API sprawl refer to?
The ability of APIs to take over the world
API sprawl occurs when APIs are managed by different teams in the same org without visibility into what each team is working on
Correct answer.
Proliferation of APIs across every industry, making APIs an ‘everyone’ technology and not just a concept for technology companies
Y2K 2.0
Question 6
How can bad documentation or lack thereof cause security issues?
Bad, poorly maintained, and/or non-existent documentation is an increased risk for security exposures because you need solid documentation of your APIs to maintain standardization and expose inconsistencies
Correct answer.
No docs, less locks
Hackers hate documentation
Security team members will never want to work with the API Team if they don’t have things properly documented
Question 7
What does shared leverage refer to when it comes to good documentation?
If good documentation exists, it helps convince your community your API is worthwhile
Teams with visibility to existing and upcoming APIs, increase collaboration rather than duplicated functionality and wasted effort
Correct answer.
Automated options exist, but the only sure way is to establish a source of truth, is with the goal of good documentation: a definitive Developer Portal
If everyone splits up writing the documentation, they’ll all have shared leverage in how it’s used
Question 8
Who typically writes documentation?
Developers
Technical Writers
Product Managers
Some combination of the above
Correct answer.
Question 9
Why are developers NOT always the best documentation writers?
Developers won’t work with marketing to double check everything is brand complaint
Developers will focus too much on the nitty-gritty technical details
Developers are not always good at thinking like consumers
Correct answer.
Developers don’t know how to write, only code
Question 10
What is one pro of having a Product Manager write your documentation?
They provide a customer-centric perspective that can be effective in producing a more effective developer experience
Correct answer.
They understand the product best so they can probably explain it best
They’re super cool people
They’re more likely to be brand compliant