Discover how to plan and model your own APIs, and explore the six REST design constraints that help guide your architecture.
Overview
Syllabus
Introduction
- Design a RESTful API for your organization
- Before you build an API
- Why good API design is important
- Approaches to adding an API
- Tips for modeling APIs
- Identifying participants
- Identifying activities and breaking them into steps
- Case study: Identifying participants and activities
- Creating and grouping API methods
- Mapping activities to verbs and actions
- Validating your API
- REST and HTML
- HTTP header and response codes
- REST APIs: Constraints
- REST APIs: Code on demand and uniform interfaces
- Authentication and authorization
- API versioning best practices
- Choosing media types and processing content
- Hypermedia approaches
- Advanced HTTP headers: Content negotiation and caching
- Documentation approaches
- SDK design considerations
- Next steps toward designing a RESTful API
Taught by
Keith Casey