Learn API Documentation with JSON and XML
1h 19mIntermediate2017-01-30
Authors

Peter Gruenbaum
Computer Programmer, Technical Writer
Course details
Document the ins and outs of the data sent and received by web APIs so that developers can understand how to build applications that can successfully use that data. Programming and technical writing expert Peter Gruenbaum knows that APIs are becoming increasingly more important, which is why, in this course, he shows you how to document structured data using data-interchange formats to help you establish strong, foundational skills in web API documentation. Peter shares the benefits of creating good documentation, explains the differences between responses and requests, and discusses how to work with common data types and collections—from numbers and text to arrays and dictionaries. He then shows how to create and document structured data using JSON and then XML. He wraps up the course by examining the pros and cons of available documentation and collaboration tools like wikis and knowledge bases.
Learning objectives
The purpose of documentation
Data types
Structured data
Writing JSON and XML
Markdown
Documenting one-level JSON responses
Documenting nested JSON responses
XML attributes and examples
Documenting XML
Structuring data documentation
Learning objectives
The purpose of documentation
Data types
Structured data
Writing JSON and XML
Markdown
Documenting one-level JSON responses
Documenting nested JSON responses
XML attributes and examples
Documenting XML
Structuring data documentation
Skills covered
XMLJSONAPIsFront-End Web DevelopmentLearningWeb DevelopmentProgramming LanguagesOpen SourceSoftware Development
Concepts
Introduction to JSON and XML Documentation
- 01 - Welcome
- 02 - What you should know
- 03 - Using the exercise files
- 04 - Why document JSON and XML
- 05 - Data types and structured data
- 06 - Tools for writing JSON and XML
- 07 - Markdown
- 08 - Markdown challenge
- 09 - Markdown solution
1. JSON
- 10 - JSON basics
- 11 - JSON examples
- 12 - Create JSON challenge
- 13 - Create JSON solution
- 14 - Documenting one-level JSON responses
- 15 - Documenting nested JSON responses
- 16 - Documenting JSON requests
- 17 - Documenting JSON challenge
- 18 - Documenting JSON solution
2. XML
- 19 - XML basics
- 20 - XML attributes and examples
- 21 - Advanced XML
- 22 - XML challenge
- 23 - XML solution
- 24 - Documenting XML
- 25 - XML documentation challenge
- 26 - XML documentation solution
3. Tools
- 27 - Tools for structured data documentation
- 28 - Using structured data for documentation
Conclusion
- 29 - Next steps