By Catherine Heath on Writing docs from October 13, 2021
This is a summary of a talk given at Write the Docs Prague 2021.
Fabrizio majored in psychology in university and lives in Barcelona. He's a senior staff technical writer at Splunk, and previously worked as a technical writer at other organizations.
He says that tech writers can improve anything built with words. It can shape your career if you strongly believe in it. This can include UI text, tech docs, metadata, code and copy. Anything that is written can be improved by the writer.
Words happen everywhere, especially in technical products. In the backend you might have code comments, APIs, UIs and workflows.
Words also happen to be design. APIs and UIs both have writing. The words you use to describe your API enable conversations between software and people. Technical writers are very suited to help technical teams with API design.
What makes APIs special? API designs are made of words. Responses such as error responses or success responses carry a message that is sent to users. Everywhere you look are words we can improve.
Code is run and a response is sent back to the client, which is a conversation using words.
Designing an API is about choosing the right words to enable systems to converse. API design allows systems to talk to each other in an effective way. It also depends on how you build APIs.
It can be API First or Code First. Documentation comes first in API First. Code First starts with the code, and documentation comes later.
The problem with Code First APIs is that several teams may end up designing API conversations that are at odds with each other and may not match customer expectations. You end up with lots of inconsistencies.
An API First workflow starts with a user story. You draft your API design and create initial docs between several teams who can coordinate together.
API design is a shared responsibility, not just one person. It can be shared between an Engineering Manager, API architect, API technical writer, API Developers, and QA engineers.
API designers and technical writers have lots of overlap, both using their primary tool of words to get the job done.
Documenting a bad API takes more time and generates less satisfaction, and the end result is bad documentation. Since API design is a shared responsibility, but no one officially takes care of it, technical writers should step in and take some ownership.
How can you get into API design? Start with a simple question: “How can I help?” He reached out to the API team and offered to support them.
Fabrizio has some tips for assisting in API design as a technical writer.
Pitch API First design internally, and find allies in engineering and product management. Draft API First workflows and procedures based on your tech stack, then pitch them or ask for feedback. You can still do API First AND generate API specs from the code.
Guidelines make things more likely to happen. Make it collaborative (it’s not about building something from your ivory tower), gather feedback and be open to changes. Create an API Design template based on the guidelines, which can be as simple as a word document.
Design and docs guidelines partially overlap. Cover how contributors should write descriptions. Think about the terminology of your API/platform.
Documentation entities in API specification formats are technical writing strongholds, and you should own them. Embed yourself in the design process so that you can be the editor of all documentation fields. Make it easy for stakeholders to request reviews. Don’t go for an overly complicated workflow.
As a writer, you can provide naming expertise. Naming is a key aspect of API design, since resources and parameters are also resources that require careful naming decisions. Start by suggesting alternatives and/or raising concerns. Naming issues can be a symptom of something bigger, such as product decisions or terminology issues in the industry.
API design reviews are for approving design decisions, and getting everyone in the same room/chat is the key goal. Keep the rules simple and always set an agenda.
These are often overlooked but API consumers see tons of errors every day. Error codes should make sense semantically, and be clear and useful. Tech writers are often the first API consumers, so as soon as you see them make sure you get your feedback to the right place.
Internal API viewers are the town squares of API design. Build a simple solution to load in progress API specs, which can be a prelude to the client-facing dev portal.
Overall, follow Fabrizio’s tips for implementing API First design in your organization. Technical writers can improve anything to do with words, and there are lots of opportunities to do this within APIs. Put yourself forward and offer your expertise to the developers.
General posts useful to all documentarians about writing documentation, editing and publishing workflows, and more.
Your flight plan for how to get the most out of KnowledgeOwl features and integrate them into your workflows.
Major KnowledgeOwl company announcements.
Learn how others are using KnowledgeOwl & get pro tips on how to make the most of KO!
Find out more about who we are and what we value.
We believe good support is the foundation of good business. Learn about support tools and methodology.
Learn more about tools to solve various documentarian issues, within and beyond KnowledgeOwl.
Not sure what category you need? Browse all the posts on our blog.
Watch a 5-minute video and schedule time to speak with one of our owls.