Workshop: Designing RESTful APIs

Learn everything that you need to know to design great RESTful APIs

6 May 2018, Bangalore

Abstract

REST is a simple architectural style based on the priniciples of HTTP for building modern web applications and APIs. This hands-on workshop takes you through everything that you need to know to design great RESTful APIs.

During the workshop, the participants will understand the key concepts behind RESTful APIs, critically examine some of the popular APIs, design an API from scratch and see how APIs evolve. We’ll also take couple of popular APIs, rip them apart and design a better version of them. Partipants will be divided into smaller groups to allow discussions and most of the time is spent in thinking about the APIs and discussions.

Links

Slides: https://www.slideshare.net/anandology/designing-restful-apis

Github: https://github.com/anandology/restful-apis

Outline:

  • Introduction to HTTP
    • Internet vs. World-Wide-Web
    • Key Concepts of Web
    • URL, HyperText, HTTP
  • Representational State Transfer (REST)
    • What is REST?
    • Thinking in Resources
    • HTTP Methods
    • Status Codes
    • Resource Representation
  • Examples of RESTful APIs
    • Good and bad examples of RESTful APIs
  • Designing an API
    • version 0 - Naive CRUD API for blog posts.
    • version 1 - blog api made RESTful
    • version 2 - add support for tags
    • version 3 - add support for comments
    • version 4 - add suport for authors
  • Authentication and Secutity
    • Introduction to authentication patterns
    • Study of Basic Auth, OAuth, access keys and JWT
    • Adding authentication to the blog API
  • Excercises

  • Best Practices
    • Pratical tips and tricks
    • Versioning APIs
    • Documenting APIs

Instructors


Anand Chitipothu

Co-Founder, Pipal Academy & rorodata.

Tickets

Loading...