A one-day Write The Docs conference about all aspects of API documentation. Explore latest best practices, new trends, and strategies relevant to API documentation.
December 4th, 2017
Developer Experience designer, betta.io
Developer Experience is the journey between a first site visit and a successful API integration and is driven by tooling (like SDKs) and information (documentation around the tools).
The 7 sins
The 7 takeaways
Throughout his whole presentation, Cristiano provides us with real-life examples and lists solutions that companies like Braintree, GitHub and Amazon apply to tackle DX problems.
"Prevent cognitive overload
Only ask questions when needed
Present info with structure
Present info on time
Tell the best stories
Own the whole story"Some super developer experience protips from @cbetta at #apithedocs
— Jessica Ulyate (@JulyAte) December 4, 2017
Software engineer at Medium
Write to retain new users. Optimize your docs for novice users via beginner-friendly tutorials. But how can writers look at content they already know anew? In her talk, Alaina sums up 7 guidelines with loads of tips to follow and includes practical examples taken from companies like Clarifai, Twilio and GitHub.
Proofreading improves tutorial quality → quality tutorials lead to beginner retention → retention fosters a healthy community → community augments API user growth.
7 proofreading techniques to make better tutorials @alainakafkes #apithedocs
— Kristof Van Tomme (@kvantomme) December 4, 2017
Product Owner of Open Banking at ABN Amro
ABN AMRO recently launched their API developer portal Pronovix also worked on. We are all super proud of it!
Koen showed us what it takes in a large financial organization to get such an initiative supported and realized into a live platform, and how they see their future path as an aggregator of many sectors. Albeit his presentation is not to be published in its entirety, we got approval for this one slide.
#ABNAMRO sees #APIs as a way to make a huge contribution to creating secure, social and ground-breaking digital ecosystems. Let’s innovate finance! #OpenBanking #Partnering #FinTech #Accelerate
#BeyondBanking https://t.co/HTi1rkd1vd
— Koen Adolfs (@KoenAdolfs) November 21, 2017
Senior technical writer at MongoDB
Unclear documentation can lead to more adoption friction and often means that organizations with larger deployments face challenges with using your application at scale. At MongoDB, the API documentation was difficult to use. When trying to update that documentation, Anthony and colleagues discovered that how they managed those docs was unsustainable. In trying to help their users scale, they saw that they needed to help themselves scale the documentation:
"What we found researching API docs best practices is that there are no best practices" @atsansone #APIthedocs
— Kristof Van Tomme (@kvantomme) December 4, 2017
Developer at ABN Amro
ABN Amro uses the Splunk tool to turn raw data into searchable and visualizable information.
This enables the team to investigate:
Challenges remain. Next steps on the agenda include log data, before/after comparisons, machine learning opportunities.
Contact Emile directly (emile.bremmer@nl.abnamro.com) with your own feedback.
Developer and Product Manager
APIs need good documentation, and to keep your reference docs up-to-date you need to test them. Dredd is a program that tests API references in specification languages Swagger/OpenAPI Initiative and API Blueprint.
Jessica talks about how to use Dredd in practice and some of its perks, like:
Check out: Keeping documentation honest - an article recommended by Jessica.
Software Engineer, APIs.guru, ReDoc
Programmers often struggle writing API documentation that is free-form text based. There are several products on the market - like Hypermedia/Hateous, OpenAPI Initiative, and GraphQL - that allow for self-documented API references, but what exactly do they offer us? In his presentation, Roman provides us with several demos and examples, but also lists perks and insufficiencies.
The references are only part of the API documentation. As a whole, API documentation could be categorized into:
Conclusion: Establish API description formats as a middle ground (write concepts alongside code) and enable developers and tech writers to collaborate according to docs like code.
You can autogenerate the specification but not the conceptual docs. #apithedocs pic.twitter.com/66UtSiFuAz
— Kristof Van Tomme (@kvantomme) December 4, 2017
Technical writer at Cossack Labs
In her presentation, Karen talks about her job as a technical writer documenting cryptography APIs and the experience she gained, e.g.,
Karen describes what the technical team’s workflow looks like, what tools they use, which documentation types they provide, what challenges they face.
Takeaways from @krnswry's very entertaining talk #APItheDocs pic.twitter.com/D6LpaI0EUl
— Kristof Van Tomme (@kvantomme) December 4, 2017
Head of Developer Relations at Clever Cloud
Laurent demo-ed us how they use Swagger to generate a website for their APIs' documentation and specific clients for each language they support. Each time they update the spec they test it, update the website, build, test and deploy the new Clients libraries automatically. He showed us (live demo) how to set everything up from scratch thanks to Jenkins, Artifactory and Clever Cloud.
Laurent’s tips:
Awesome demo laden talk by @ldoguin from @clever_cloud
- Continuous Swagness for your APIs #APItheDocs pic.twitter.com/c2uymKtDLw— Kristof Van Tomme (@kvantomme) December 4, 2017
PhD student at the Vrije Universiteit Brussel
In web API specifications, constraints come along with parameters. You need to satisfy every constraint for a request to succeed. API specification languages (API Blueprint, RAML, Swagger) and their tools help to ease that process, but do not yet provide a solution to express constraints across parameters (inter-parameter constraints).
Nathalie researched popular web APIs (like Twitter, Google Maps, YouTube, Facebook) and found three types of inter-parameter constraints:
The speaker shows us how JSON Schema (Swagger/OpenAPI Initiative) features do not allow for an efficient description of inter-parameter constraints.
Nathalie started working on an extension of the OpenAPI Initiative specification language that support inter-parameter constraints. She also recommends the usage of a truth table.
Consequently, documentation tools should be extended:
To end, Nathalie provides us with a guide to recognize inter-parameter constraints in API documentation.
Excellent presentation by Nathalie Oostvogels from @VUBrussel about how most APIs have inter-parameter constraints, and how none of the current API specification formats have good support for these. pic.twitter.com/mhfDQwr2dZ
— Cristiano Betta (@cbetta) December 4, 2017
How to recognise inter-parameter constraints in the wild @noostvog #APItheDocs pic.twitter.com/hpL7Nn4xCt
— Kristof Van Tomme (@kvantomme) December 4, 2017
Technical writer at Adyen
Adyen’s rapid growth provides challenges concerning documentation. For their API references, they chose the Swagger tool (to implement the OpenAPI specification format - as Aleksei explains the semantic differences). The basic Swagger UI however, the speaker indicates, lacked an effective layout and provides problems with nested structures. How could Adyen go beyond?
Beyond the basic Swagger UI: Adyen API Explorer from Aleksei Akimov
The magic number #APItheDocs pic.twitter.com/GELVLLAGBh
— Marit van Dijk (@MaritvanDijk77) December 4, 2017
Technical Lead of Nexmo Developer
Adam talked about the open-source platform and tools they built when developing Nexmo Developer, for writing rich documentation collaboratively with ease. He talked about how they tackled problems concerning documentation requirements and met their goals.
Read Adam’s article on Extending Markdown with middleware.
DocOps Engineering Great Docs from labfoo
.@labfoo shared some of Nexmo's Markdown extensions (e.g., tooltips, tabbed containers) – these seem super accessible & effective for technical writers. #APItheDocs
— Alaina Kafkes ⛄️ (@alainakafkes) December 4, 2017
Original recording of the conference by Kristof Van Tomme, Creative Commons Attribution Share-Alike License v3.0
Articles on devportals, DX and API docs, event recaps, webinars, and more. Sign up to be up to date with the latest trends and best practices.