This video explains how API versioning helps us keep old clients compatible while it provides new clients with all the new features.
- [Narrator] In the previous video, we looked at…documentation tools for APIs; in this video,…we are going to take a look at API versioning…and why it is important; we will see how API versioning…can be done by modifying the URL.…Then, we wll look at API versioning using HTTP headers.…API versioning allows us to introduce…new features without breaking old clients.…It is important for many reasons.…No matter whether a software is successful or not,…requirements will always change.…API versioning makes it easier for us…to (mumbles) some of the future requirements.…
Software development takes time, so we cannot expect…that developers who use our API…to update their applications instantaneously.…API versioning allows us to give developers…of the deprecated API a grace period while giving…new developers all the cool features that we introduce.…Finally, API versioning gives us the freedom…to try new things; if we realize that old design…is complicated, we can start over by adding a new version.…Let's take a look at how API versioning is done in Express.…
This Node.js course gives you an overview of a RESTful API and the logical steps of creating one. It explores three different APIs, focusing on their similarities and differences and how to effectively implement one. Instructor Saleh Hamadeh starts off by defining APIs, showing how they can be built on top of HTTP and listing the properties that make an API RESTful. Learn how to develop Twitter Notes, a sample web application that lets users leave notes for their Twitter friends. Use Twitter's API to implement a login flow and then design a web API. Additionally, get a closer look at several other real-world APIs, and learn some best practices to keep APIs secure, maintainable, and efficient.
- Identifying REST resources
- Setting up the development environment
- Consuming a RESTful API
- Creating an OAuth login request
- Getting an access token
- Saving data in MongoDB
- Building a RESTful API
- Testing user-perceived performance
- Looking at APIs in the real world
- Best practices for building RESTful APIs