REST API Design, Development & Management
Learn the REST API Concepts, Design best practices, Security practices, Swagger 2.0/OAI, Hands on API Management
What you’ll learn
- Design and Develop RESTful API by applying the best practices & REST constraints
Create practices for API security, versioning, lifecycle management, documentation and other important aspects
Write specifications in Swagger2.0/OAI specifications in YAML format
- Create an API management strategy for your enterprise
- Leverage some of the common API management platforms for building API proxies (APIGEE, IBM API Connect, Mulesoft Anypoint)
- Any one modern programming language such as Java or Node JS or Go or PHP
- Familiarity with web application architecture
- Idea on XML or JSON formats
- Understanding of the concept of service
- This COURSE will NOT teach coding of REST API from scratch. Please do NOT enroll if that is your objective/Goal.
- Please check the audio of preview lectures before purchasing as some students have complained about low volume (fix is in works)
- Some students have complained about Low Volume in the past – please take a preview before enrolling
Today Enterprises are using REST APIs for not just building mobile applications but also for:
- Creating new channels for partnership
- Building new revenue streams & business models
- Promoting their brands
Just creating the API does not guarantee that the enterprise will be able to achieve the desired goals from API perspective. Adoption of API by developers depend on multiple aspects such as its utility, ease of use, performance, scalability, security. The API provider must apply best practices throughout the lifecycle of an API.
This course covers all the important aspects related to design, development and management of API. The best practices, challenges, suggestions & options discussed in this course are either:
- Created by analyzing how the popular API providers such as Facebook, Twitter, Capital One etc are building and managing their API
- Taken from personal experiences of the author
This course is suited for any technologist interested in learning REST API from end to end perspective not just from the coding perspective. Though this course uses NodeJS for demonstrating the design best practices, it does not require students to have any prior experience wth NodeJS.
To take this course the student is expected to know any one (or more) programming language; have understanding of web application architecture; to be familiar with the concept of services ; understands the data formats such as JSON or XML
Please note that this course will NOT teach how to code REST API in NodeJS.
Course is divided into 6 sections:
1. Setting the stage
Lectures in this section will provide the outline of the course, discuss a case study (ACME Travel) that will be used as an example through the course, provide a list of tools used in the course.
2. REST API Concepts
Lectures in this section will cover the foundational concepts such as the evolution of RESTful API and the 6 architectural constraints.
3. Designing the REST API
Focus in this section is on best practices for designing the REST API. The approach taken in this section is to show how some of the popular API providers (E.g., Twitter, Facebook, Twilio …) have designed their REST API. Some of the RESTful design aspect covered in this section are:
- Resources, CRUD implementation
- Error Handling, HTTP status codes
- Change management & Versioning
- Pagination, Partial responses
To demonstrate the implementation aspects, a set of NodeJS based API is also implemented for a fictitious enterprise ACME Travels.
4. Securing the REST API
Commonly used BasicAuth standard is not the best way to implement API security. In this section student will learn the commonly adopted Authentication and Authorization schemes used for REST API
- Tokens (Jason Web Tokens or JWT)
- OAuth 2.0 (Using Spotify implementation as a reference)
When an API is exposed by an enterprise to the public internet, it poses a risk to the enterprise as hackers may use the vulnerabilities in the API to launch attacks against the enterprise. There are multiple types of such Functional attacks that the API provider must consider. You will learn about the common attacks and the best practices for protecting the API.
5. Swagger 2.0 / Open API Initiative specifications
This section will begin with the description of Collaborative specifications development process & benefits of adopting contract first approach. Students will learn
- Swagger 2.0 specification standard
- How to create REST API specifications in YAML format
- Tools options for Swagger specs editing
- Benefits of Swagger 2.0
- Demonstration of how specifications are leveraged by common platforms such as Apigee, Mulesoft & IBM API Connect
As part of the lectures, a complete specification will be created for ACME Vacations. At the end of this section student will be able to write Swagger/OAI specifications for their own API.
6. API Management
API management is the process of publishing, documenting and overseeing application programming interfaces (APIs) in a secure, scalable environment. Lectures in this section cover the details of the following activities that an API provider carry out within the scope of API management.
- Lifecycle management
- Developer productivity
- Developer portal
- Traffic management
- Monetization (API Economy)
APIgee, IBM API Connect & Mulesoft platforms will be used for demonstrating the various API management aspects discussed in the lectures. Students are encouraged to try out these platforms on their own to get a good feel of what API management platforms bring to table. The three platforms offer a free trial version that can be used for testing.
- Technologists interested in learning where, when and how RESTful services should be used in application
- Developers of web, mobile, IoT applications looking to build RESTful services on the backend
- Solution architects interested in learning how they can leverage “API Management Platforms” such as Apigee/Mulesoft/IBM API Connect
- IT Leads aspiring to become architects
- This course will NOT teach the student how to code Node JS. Use of NodeJS is to demonstrate the implementation of concepts discussed in the lectures.
- This course is NOT for students looking to learn just the coding of REST API
Created by Rajeev Sakhuja
Last updated 4/2018
Size: 739.39 MB
Download here: Udemy – REST API Design, Development & Management