Download presentation
Presentation is loading. Please wait.
Published byElizabeth Förstner Modified over 6 years ago
1
Creating Integrated API Documentation Experiences for Users
Chris Smith Rob Woodgate @zxchris @agiledoc Companies House
2
A lot of APIs are created and documented by developers
4
Is the documentation written by developers…
Good? Useful? Easy to comprehend? Yes? Honestly? No?
5
You can be part of a better system!
6
Hooray!!!
7
How?
8
1. Understand the pitfalls
2. Recognise your goal 3. Get to your goal
9
Common API Pitfalls Designed at the keyboard
API specs produced from the code No standard structure No naming conventions No UX designer No content writer Specification and docs are separate deliverables Developer does everything
10
This leads to a disconnect…..
Formal API Spec Authored Docs
11
1. Understand the pitfalls
2. Recognise your goal
12
What is your goal?
13
To deliver a documented API that meets the customer need
14
What does this mean in reality?
15
Working together
16
It’s not about sitting next to each other
It’s not about sitting next to each other. It’s about sharing the same goal.
17
Your goal is to produce a useful, comprehensible deliverable
18
If the API specification is difficult to understand, you’ve already failed
19
You need to help your developer understand the user needs
20
If the API is easy to comprehend then it requires less documentation
21
You should be an integral part of the API design process
22
Get API developers & writers working together
23
This should be standard practise
24
It’s not easy
25
It’s not quick
26
Some people will RESIST
27
But, resistance….
28
…is futile
29
You need to be part of a collective
30
Get API developers & writers DESIGNING together
31
This approach avoids a lot of the common pitfalls
32
1. Understand the pitfalls
2. Recognise your goal 3. Get to your goal
33
How?
34
Spoiler: We don’t have all the answers
36
But we can help!
37
Let’s look at an example….
{ “name” : “string” “lfp” : “bool” “sent” : “datetime” “made_up_date” : “date” }
38
Let’s look at another example….
{ “financial_accounts_type” : “string” “has_late_filing_penalty” : “bool” “penalty_sent_at” : “datetime” “period_ends_on” : “date” }
39
“made_up_date” : “date” }
{ “name” : “string” “lfp” : “bool” “sent” : “datetime” “made_up_date” : “date” } { “financial_accounts_type” : “string” “has_late_filing_penalty” : “bool” “penalty_sent_at” : “datetime” “period_ends_on” : “date” }
40
Some suggestions to get you thinking:
1. Enumerations suffixed with _type 2. Dates suffixed with _on 3. Date-times suffixed with _at 4. Booleans prefixed with has_ (or is_)
41
Tactic 1: Consistency
42
Tactic 2: Comprehensibility
43
Tactic 3: Specs as UX/UI
44
Specification before code
Tactic 4: Specification before code
45
Tactic 5: Teamwork
46
Tactic 6: Single consumable
47
A single consumable?
48
We use this:
49
Why?
50
It combines specs with docs and graphics…
51
…in a single consumable…
52
…that devs and writers can work on together!
54
Time for a demo
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.