REST API Design from Scratch

API | REST API | REST Framework | API Design | Python Flask Essentials

  • 0.0 (0 Reviews)
  • 0 Students
  • 104 Lessons
  • Praveenkumar Bouna

Course Overview

The usage of API has dramatically increased in recent times, especially for cloud-native applications. Microservices have become mainstream and expose their services through API endpoints. You will learn how to design an API based on the requirements through a step-by-step approach. I've also included the companion sheets you can use whenever you need to create an API at your work.


Instructor Bio:

I am a software engineer with over 15 years of experience in the industry. I have worked on various projects and gained a wealth of knowledge and expertise in cloud computing. I am an experienced online course instructor who has trained many students on various software development topics, including API, .NET, Docker, Kubernetes, and Azure.


Topics Covered In This Course:

  • Overview of RESTful APIs and their benefits.

  • Understand the structure of a professionally written API.

  • Step-by-step instructions for designing a RESTful API.

  • Design RESTful API resources and associations between them.

  • Design RESTful API operations.

  • Design API requests and responses for each of the standard HTTP operations.

  • Design for filtering, pagination, and sorting.

  • Design API versioning methods that you can employ to track the changes you make to the APIs.

  • Lots of Downloadable PDFs: Designing RESTful API Quick Guide, HTTP Status Codes Cheat Sheet, etc

  • Practice assignments to apply what you learned.


By The End Of This Course:

  • You will know how to design a RESTful API from scratch.

  • You can design and write down each API element clearly and professionally.


Enroll now and start your journey for a successful API and cloud computing career.

See more

FAQ

FAQ area empty

Course curriculum

12 chương 104 bài học 5 giờ 7 phút 7 bài học thử miễn phí
Chương 1 Course Introduction
Chương 2 Getting Started with Designing REST APIs
Chương 3 Overview of RESTful APIs
  • Introduction 1:46
  • How HTTP Works? 3:19
  • Parts of a HTTP Request 7:16
  • Demo: Parts of a HTTP Request 4:49
  • What is REST? 4:12
  • Demo: API in Postman 8:18
  • URL vs URI 3:22
  • Step 3: Identify the Server Base URL 3:06
  • Overview of RESTful APIs
  • Summary 2:50
Chương 4 Designing API Resources
  • Introduction 1:46
  • Resources should be Nouns 3:31
  • Step 4: Identify the Resources 1:44
  • Resources should be Collections 4:03
  • Step 5: Have the Resources as Plural 2:04
  • Step 6: Define the Resource Models 2:50
  • Use Unique Identifiers 1:51
  • Step 7: Select the Identifier for Each Resource 2:04
  • Non-resource Data should be Query Parameters 2:51
  • Designing API Resources
  • Summary 2:20
Chương 5 Designing Associations between Resources
  • Introduction 1:30
  • Defining Relationships between Resources 5:07
  • Step 8: Identify the Association for Each Resource 3:37
  • URL Shouldn’t be Complex 4:42
  • Step 9: Check for the URL Complexity 3:09
  • Combine Related Resources 4:05
  • Designing Associations between Resources
  • Summary 2:35
Chương 6 Designing API Operations
  • Introduction 1:20
  • Overview of HTTP Operations 3:04
  • Common HTTP Operations 7:51
  • Selecting Operations based on Individual Item or Collection 6:14
  • Idempotent Methods 4:05
  • Differences between POST, PUT, and PATCH 3:26
  • Step 10: Identify the Operations for Each Resource 3:35
  • Designing API Operations
  • Summary 1:50
Chương 7 Designing API Requests
  • Introduction 1:19
  • Designing Request Parameters 3:59
  • Step 11: Identify the Parameters Required for the Operation 4:46
  • Designing Request Content 3:10
  • Step 12: Identify the Content Type of Request for the Operation 0:44
  • Step 13: Identify the Request Body for the Operation 9:50
  • Designing API Requests
  • Summary 2:21
Chương 8 Designing API Responses
  • Introduction 2:40
  • HTTP Status Codes 7:11
  • Designing Status Codes in Responses 5:01
  • Step 14: Identify the HTTP Status Codes for the Operation 9:31
  • Choosing the Format of Responses 3:46
  • Step 15: Identify the Content Type of Response for the Operation 2:48
  • Designing Response Body 3:24
  • Step 16: Identify the Response Body for the Operation 17:16
  • Designing Error Handling 7:36
  • Step 17: Handle Errors for the Operation 1:29
  • Designing API Responses
  • Summary 3:10
Chương 9 Design for Filtering, Pagination, and Sorting
  • Introduction 1:52
  • Support for Filtering Data 3:00
  • Step 18: Identify the Need for Filtering and Add If Needed 3:48
  • Support for Pagination of Data 4:05
  • Step 19: Identify the Need for Pagination and Add If Needed 4:00
  • Support for Sorting Data 3:13
  • Step 20: Identify the Need for Sorting and Add If Needed 3:09
  • Summary 2:09
Chương 10 Designing API Versions
  • Introduction 1:53
  • Why you Should Version APIs? 3:59
  • Ways to Version APIs 1:28
  • Approach 1: No versioning 4:20
  • Approach 2: URL Versioning 8:52
  • Approach 3: Query String Versioning 7:40
  • Approach 4: Header Versioning 5:18
  • Approach 5: Media Type Versioning 2:34
  • Which Versioning Approach to Use? 3:04
  • Step 21: Identify the API Versioning Scheme and Set the API Version 2:51
  • Navigating API Versioning Strategy for Partner Integration
  • Summary 4:42
Chương 11 ASSIGNMENT: Working with Students
  • Activity: Getting Started with Designing APIs
  • Activity: Overview of RESTful APIs
  • Activity: Designing API Resources
  • Activity: Designing Associations between Resources
  • Activity: Designing API Operations
  • Activity: Designing API Requests
  • Activity: Designing API Responses
  • Activity: Design for Filtering, Pagination, and Sorting
  • Activity: Designing API Versions
Chương 12 Course Conclusion
  • Download: Course Slides
  • Bonus Lecture: Recommended Resources

Requirment

  • Basic knowledge of APIs will be helpful.

Outcomes

  • Overview of RESTful APIs and its benefits. You will learn about RESTful API from scratch. You will know why you need to design an API.

  • Understanding the structure of a professionally written API. You will grasp the structure of it and become an expert in designing an API.

  • Step-by-step instructions for designing a RESTful API. You will learn to design a new API from scratch.

  • Design API resources and associations between them. Know how to design the resource including naming convention, relationship between APIs, etc.

  • Designing API operations. Master the ideal usage of HTTP GET, POST, PUT, DELETE, and PATCH operations.

  • Design the API requests and responses for each of the common HTTP operations. Includes designing error message formats to follow in your projects.

  • Designing for filtering, pagination, and sorting.

  • Design API versioning methods that you can employ to track the changes you make to the APIs.

  • Lots of Downloadable PDFs: Designing RESTful API Quick Guide, HTTP Status Codes Cheat Sheet.

  • Practice assignments to apply your learning from this course. You will feel comfortable starting working on real-life projects.

Instructor

...
Praveenkumar Bouna

0.0

  • ... 0 Student
  • ... 3 Courses
  • ... 0 review

View Details

Reviews

Rate this course :

Remove all