- Reference
- Concepts
- Tasks
Here are the short, clear, correct answers for your APIsec course documentation quiz:
-
What’s the difference between reference docs and concept docs? Answer: 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.
-
What’s a good example of a Task doc? Answer: Documentation showing what the API is good at doing.
-
Who benefits from good documentation? Answer: 3rd party partners, Developers, End consumers.
-
What are Zombie APIs? Answer: Undocumented, unmaintained APIs that become unmonitored attack vectors.
-
What does API sprawl refer to? Answer: API sprawl occurs when APIs are managed by different teams in the same org without visibility into what each team is working on.
-
How can bad documentation or lack thereof cause security issues? Answer: 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.
-
What does shared leverage refer to when it comes to good documentation? Answer: Teams with visibility to existing and upcoming APIs, increase collaboration rather than duplicated functionality and wasted effort.
-
Who typically writes documentation? Answer: Combination of Developers, Technical Writers, Product Managers.
-
Why are developers NOT always the best documentation writers? Answer: Developers are not always good at thinking like consumers.
-
What is one pro of having a Product Manager write your documentation? Answer: They provide a customer-centric perspective that can be effective in producing a more effective developer experience.
Security, Governance & Partnerships
Business Impact of API Documentation answers:
Here are the correct, concise answers for those questions:
-
Should you run your docs through a security review? Answer: Yes
-
Bad, poorly maintained, and/or non-existent documentation is an _____ for security exposures. Answer: increased risk
-
One weapon in your repository can be a security-style guide. This will help you: Answer: automate the enforcement of data formats or endpoint naming conventions utilize an enforceable security ruleset to dramatically fortify your defenses against data theft and resource exploits
-
What’s one resource you can use to help maintain consistency and standardization in your documentation? Answer: Style Guides
-
Why does good documentation matter to potential partners? Answer: It creates better brand affinity It helps scale your API It increases API adoption
-
When letting devs test your documentation, what are the two most important steps to keep in mind? Answer: Any friction points & auth issues
-
What’s another great tip to take advantage of when writing good documentation? Answer: Let your devs try it out before you publish it
-
What is the prerequisite to generating any meaningful documentation? Answer: An OpenAPI document
-
What companies were used as examples of great documentation in this module? Answer: Twilio and Stripe
-
What are the benefits of using a documentation generator? Answer: Increased accuracy and less time to market The ability to quickly create an initial reference to share The ability to update documentation easily when the API changes
Here are the correct answers for this set:
-
What is one pro of using a Spec-based method to documentation? Answer: Either Design-first minimizes duplicated effort or it creates earlier feedback loops
-
What are some documentation tools you can use to search for public documentation?
Answer: Stoplight
Swaggerhub
Readme
Redocly -
Which of these are techniques you can apply to your documentation writing? Answer: A code annotations approach A Spec-based approach A bespoke approach
Here are the correct answers for this set:
-
What are some ways you can improve your documentation in the future? Answer: Use inclusive language Incorporate multimedia in the docs Create interactive docs, not just static ones
-
How can you make your docs more accessible? Answer: Ensure your API documentation is usable by screen readers Ensure that colors, images, and tables also include labels and alt text Ensure that your documentation includes white space for easy scanning and navigation
-
Which is better: static or interactive docs Answer: Interactive, since try-it-now consoles, examples, and live sandboxes usually improve comprehension and adoption.
-
Are you ready to write amazing documentation? Answer: ABSOLUTELY