When documenting is designing: How to assist API design as a technical writer
Write the Docs Prague 2021
Fabrizio Ferri Benedetti
About me
When documenting is designing: How to assist API design as a technical writer :: Write the Docs Prague 2021
2
King�
Ohpen
New Relic�
Ohpen
Splunk�
<< Dark ages
Tech writer
API Writer
Product writer
Tech writer
Tech writer
Core assumption
(Tech) writers can improve anything built with words.
When documenting is designing: How to assist API design as a technical writer :: Write the Docs Prague 2021
3
Pretty much anything
When documenting is designing: How to assist API design as a technical writer :: Write the Docs Prague 2021
4
UI Text
Tech docs
Metadata
Code
Copy
Spells and charms
Words happen everywhere
When documenting is designing: How to assist API design as a technical writer :: Write the Docs Prague 2021
5
Backend
APIs
UIs
Workflows
Code comments
API docs
Embedded docs
User docs
Words also happen to be design
When documenting is designing: How to assist API design as a technical writer :: Write the Docs Prague 2021
6
APIs
UIs
API design
UX writing
What’s with APIs?
API designs are made of words
When documenting is designing: How to assist API design as a technical writer :: Write the Docs Prague 2021
8
Because APIs enable conversations
When documenting is designing: How to assist API design as a technical writer :: Write the Docs Prague 2021
9
REST API
GET /resource
Response
Stuff you don’t need to be concerned about
Client
Data
So, what is API Design?
API design refers to the process of developing application programming interfaces (APIs) that expose data and application functionality for use by developers and users.
-Red Hat
When documenting is designing: How to assist API design as a technical writer :: Write the Docs Prague 2021
10
When documenting is designing: How to assist API design as a technical writer :: Write the Docs Prague 2021
11
POST /dance
200 OK
API design is about choosing the right words to enable systems to converse
Help the robbies talk!
API design depends on how you build APIs
API First
Code First
When documenting is designing: How to assist API design as a technical writer :: Write the Docs Prague 2021
12
The problem with code first APIs
When documenting is designing: How to assist API design as a technical writer :: Write the Docs Prague 2021
13
Pieter Bruegel the Elder - The Tower of Babel
API First workflow
When documenting is designing: How to assist API design as a technical writer :: Write the Docs Prague 2021
14
User story
Refinement
Draft API design
Initial docs
Mock API
Publish specs
Incorporate feedback
Implement and verify
API description formats enable API First
When documenting is designing: How to assist API design as a technical writer :: Write the Docs Prague 2021
15
API Design is nobody’s a shared responsibility
When documenting is designing: How to assist API design as a technical writer :: Write the Docs Prague 2021
16
API PM/PO
API Technical Writer
API Developers
QA Engineers
Engineering Manager
API Architect
API Designer?
The API designer <> Technical writer overlap
API Designer
Technical writer
When documenting is designing: How to assist API design as a technical writer :: Write the Docs Prague 2021
17
Why tech writers should bother
When documenting is designing: How to assist API design as a technical writer :: Write the Docs Prague 2021
18
Documenting a bad API takes more time and generates less satisfaction
”Let’s document error responses...”
When documenting is designing: How to assist API design as a technical writer :: Write the Docs Prague 2021
19
From “RESTful API Design: 13 Best Practices to Make Your Users Happy” (Florimond Manca, 2018)
Start with this simple question
When documenting is designing: How to assist API design as a technical writer :: Write the Docs Prague 2021
20
©2021 NBCUniversal Media, LLC
1. Advocate for API First
When documenting is designing: How to assist API design as a technical writer :: Write the Docs Prague 2021
21
2. Push for API Design Guidelines
When documenting is designing: How to assist API design as a technical writer :: Write the Docs Prague 2021
22
3. Create an API Style Guide for Docs
When documenting is designing: How to assist API design as a technical writer :: Write the Docs Prague 2021
23
4. Own summaries and descriptions
When documenting is designing: How to assist API design as a technical writer :: Write the Docs Prague 2021
24
5. Provide naming expertise
When documenting is designing: How to assist API design as a technical writer :: Write the Docs Prague 2021
25
6. Join or set up API design reviews
When documenting is designing: How to assist API design as a technical writer :: Write the Docs Prague 2021
26
7. Fight for meaningful error messages
When documenting is designing: How to assist API design as a technical writer :: Write the Docs Prague 2021
27
7. Build an internal API Viewer
When documenting is designing: How to assist API design as a technical writer :: Write the Docs Prague 2021
28
Ingredients for a simple API viewer
When documenting is designing: How to assist API design as a technical writer :: Write the Docs Prague 2021
29
Resources
When documenting is designing: How to assist API design as a technical writer :: Write the Docs Prague 2021
30
POST /thanks�GET /talks/{talkId}/questions
418 I’m a Teapot
https://passo.uno
When documenting is designing: How to assist API design as a technical writer :: Write the Docs Prague 2021
31