SlideShare a Scribd company logo
1 of 10
UNDISTURBED REST
A guide to designing the perfect API
1.WHAT IS AN API?
 API (Application Programming Interface) is a software
intermediary that allows two applications to talk to each other.
 There are many types of APIs.
 Web APIs: Simple Object Access Protocol (SOAP), Remote
Procedure Call (RPC), Representational StateTransfer (REST).
 …
1.WHAT IS AN API?
 1.1.Web APIs
 Web API (Web Service) provides an interface forWeb applications, or
applications that need to connect to each other via the Internet to
communicate.
 Since 2005, the use of web APIs has exploded exponentially, and
multipleWeb formats and standards have been created.
 Early on, one of the most popular enterprise formats for APIs was
SOAP.
 With the emergence of JavaScript Object Notation (JSON), REST
has grown in popularity and quickly become the de facto standard
for the generalWeb APIs today.
1.1WEB APIS
 1.1.1. SOAP
 It was designed to offer a new protocol and messaging framework.
 It relied on theWeb Service Definition Language (WSDL) & XML to
build and receive the different requests.
 1.1.2. XML-RPC (Remote Procedure Calls)
 It was the basic for SOAP.
 It was much quicker and easier to implement than SOAP.
 1.1.3. JSON-RPC
 The format was originally designed to take advantage of JavaScript’s
ability to act as a messaging system
 JSON was developed to provide a simple, concise format
1.1WEB APIS
 1.1.4. REST
 Provides an incredible layer of flexibility.
 Has ability to handle multiple types of calls, return different data
formats & even change structurally with the correct implementation
of hypermedia.
1.WHAT IS AN API?
 1.2. Understanding REST
 One of the most commonly missed constraints of REST is the
utilization of hypermedia as the engine of application state, or
HATEOAS
 There are six key constraints to REST:
 Client-Server
 Stateless
 Cache
 Uniform Interface
 Layered System
 Code on demand
1.2. UNDERSTANDING REST
 1.2.1. Client-server
 Operates on the concept that the client and the server should be
separate from each other and allowed to evolve individually.
 This creates a separation of concerns, letting each application grow
and scale independently of the other and allowing your organization
to grow quickly and efficiently.
 1.2.2. Stateless
 The calls can be made independently of one another, and each call
contains all of the data necessary to complete itself successfully.
 1.2.3. Cache
 When data is cacheable, the response should indicate that the data
can be stored up to a certain time.
1.2. UNDERSTANDING REST
 1.2.4. Uniform Interface
 The uniform interface lets the client talk to the server in a single
language, independent of the architectural backend of either.This
interface should provide an unchanging, standardized means of
communicating between the client and the server.
 1.2.5. Layered System
 Is a system comprised of layers, with each layer having a specific
functionality and responsibility.
 1.2.6. Code on demand
 Allows for code or applets to be transmitted via the API for use
within the application.
REFERENCE
 ebook-UndisturbedREST_v1.pdf
THE END!

More Related Content

What's hot

Deployment Automation with Microservices
Deployment Automation with MicroservicesDeployment Automation with Microservices
Deployment Automation with MicroservicesGanesh Ghag
 
Declarative User Interfaces Leveraging React, Redux and Apex Microservices
Declarative User Interfaces Leveraging  React, Redux and Apex MicroservicesDeclarative User Interfaces Leveraging  React, Redux and Apex Microservices
Declarative User Interfaces Leveraging React, Redux and Apex MicroservicesKenandy
 
Anypoint platform for API's glossary
Anypoint platform for API's glossaryAnypoint platform for API's glossary
Anypoint platform for API's glossaryAchyuta Lakshmi
 
Best practices for multi saa s integrations
Best practices for multi saa s integrationsBest practices for multi saa s integrations
Best practices for multi saa s integrationsD.Rajesh Kumar
 
Anypoint platform security components
Anypoint platform security componentsAnypoint platform security components
Anypoint platform security componentsD.Rajesh Kumar
 
Web services in j2 ee
Web services in j2 eeWeb services in j2 ee
Web services in j2 eeNaresh Chinnu
 
Introduction To Adobe Flex And Semantic Resources
Introduction To Adobe Flex And Semantic ResourcesIntroduction To Adobe Flex And Semantic Resources
Introduction To Adobe Flex And Semantic Resourceskeith_sutton100
 
Rate Limiting - SLA Based Policy
Rate Limiting - SLA Based PolicyRate Limiting - SLA Based Policy
Rate Limiting - SLA Based PolicyVince Soliza
 
Flex Air Intro
Flex Air IntroFlex Air Intro
Flex Air IntroJUG Genova
 
Mulesoft Anypoint platform for APIs
Mulesoft Anypoint platform for APIsMulesoft Anypoint platform for APIs
Mulesoft Anypoint platform for APIskumar gaurav
 
WSO2Con EU 2016: Identity Management – A Cornerstone for the Connected Enter...
WSO2Con EU 2016: Identity Management –  A Cornerstone for the Connected Enter...WSO2Con EU 2016: Identity Management –  A Cornerstone for the Connected Enter...
WSO2Con EU 2016: Identity Management – A Cornerstone for the Connected Enter...WSO2
 

What's hot (19)

Anypoint b2 b
Anypoint b2 bAnypoint b2 b
Anypoint b2 b
 
Deployment Automation with Microservices
Deployment Automation with MicroservicesDeployment Automation with Microservices
Deployment Automation with Microservices
 
Authentication and single sign on (sso)
Authentication and single sign on (sso)Authentication and single sign on (sso)
Authentication and single sign on (sso)
 
Declarative User Interfaces Leveraging React, Redux and Apex Microservices
Declarative User Interfaces Leveraging  React, Redux and Apex MicroservicesDeclarative User Interfaces Leveraging  React, Redux and Apex Microservices
Declarative User Interfaces Leveraging React, Redux and Apex Microservices
 
Mule architecture
Mule architectureMule architecture
Mule architecture
 
Anypoint platform for API's glossary
Anypoint platform for API's glossaryAnypoint platform for API's glossary
Anypoint platform for API's glossary
 
Best practices for multi saa s integrations
Best practices for multi saa s integrationsBest practices for multi saa s integrations
Best practices for multi saa s integrations
 
Mule esb api layer
Mule esb api layerMule esb api layer
Mule esb api layer
 
Api Layer
Api LayerApi Layer
Api Layer
 
Anypoint platform security components
Anypoint platform security componentsAnypoint platform security components
Anypoint platform security components
 
Web services in j2 ee
Web services in j2 eeWeb services in j2 ee
Web services in j2 ee
 
Introduction To Adobe Flex And Semantic Resources
Introduction To Adobe Flex And Semantic ResourcesIntroduction To Adobe Flex And Semantic Resources
Introduction To Adobe Flex And Semantic Resources
 
Introduction To REST
Introduction To RESTIntroduction To REST
Introduction To REST
 
Rate Limiting - SLA Based Policy
Rate Limiting - SLA Based PolicyRate Limiting - SLA Based Policy
Rate Limiting - SLA Based Policy
 
Flex Air Intro
Flex Air IntroFlex Air Intro
Flex Air Intro
 
Mule esb stripe
Mule esb stripeMule esb stripe
Mule esb stripe
 
Mulesoft Anypoint platform for APIs
Mulesoft Anypoint platform for APIsMulesoft Anypoint platform for APIs
Mulesoft Anypoint platform for APIs
 
Mule esb
Mule esbMule esb
Mule esb
 
WSO2Con EU 2016: Identity Management – A Cornerstone for the Connected Enter...
WSO2Con EU 2016: Identity Management –  A Cornerstone for the Connected Enter...WSO2Con EU 2016: Identity Management –  A Cornerstone for the Connected Enter...
WSO2Con EU 2016: Identity Management – A Cornerstone for the Connected Enter...
 

Viewers also liked

Viewers also liked (14)

Mídia kit - Gigante Paleztra
Mídia kit - Gigante PaleztraMídia kit - Gigante Paleztra
Mídia kit - Gigante Paleztra
 
Seminario de Economía 2do A 008 - Dabove - Scolari - Lombardi
Seminario de Economía   2do A 008 - Dabove - Scolari - LombardiSeminario de Economía   2do A 008 - Dabove - Scolari - Lombardi
Seminario de Economía 2do A 008 - Dabove - Scolari - Lombardi
 
Historia Del Computador
Historia Del ComputadorHistoria Del Computador
Historia Del Computador
 
HIPERVINCULOS POWER POINT
HIPERVINCULOS POWER POINT HIPERVINCULOS POWER POINT
HIPERVINCULOS POWER POINT
 
El internet de las cosas
El internet de las cosasEl internet de las cosas
El internet de las cosas
 
R_ActCH03_ARQD_12Mar2015
R_ActCH03_ARQD_12Mar2015R_ActCH03_ARQD_12Mar2015
R_ActCH03_ARQD_12Mar2015
 
la historia del computador
 la historia del computador la historia del computador
la historia del computador
 
Rest api
Rest apiRest api
Rest api
 
Macarena llanos 8°b
Macarena llanos 8°bMacarena llanos 8°b
Macarena llanos 8°b
 
Alexandre Basa CV16
Alexandre Basa CV16Alexandre Basa CV16
Alexandre Basa CV16
 
Tecnología Scolari - Lombardi - Dabove
Tecnología Scolari - Lombardi - DaboveTecnología Scolari - Lombardi - Dabove
Tecnología Scolari - Lombardi - Dabove
 
Animales En Peligro de Extinción.
Animales En Peligro de Extinción. Animales En Peligro de Extinción.
Animales En Peligro de Extinción.
 
El internet de las cosas
El internet de las cosasEl internet de las cosas
El internet de las cosas
 
Songuuliin tuhai huuli
Songuuliin tuhai huuliSonguuliin tuhai huuli
Songuuliin tuhai huuli
 

Similar to Undisturbed rest chapter01

Weekly Tech Session
Weekly Tech SessionWeekly Tech Session
Weekly Tech SessionPravin Vaja
 
What is the difference between an api and web services
What is the difference between an api and web servicesWhat is the difference between an api and web services
What is the difference between an api and web servicesAparna Sharma
 
Oracle Integration Cloud_3rd_10042021.pptx
Oracle Integration Cloud_3rd_10042021.pptxOracle Integration Cloud_3rd_10042021.pptx
Oracle Integration Cloud_3rd_10042021.pptxssuser77e9de
 
Oracle Integration Cloud_3rd_10042021.pptx
Oracle Integration Cloud_3rd_10042021.pptxOracle Integration Cloud_3rd_10042021.pptx
Oracle Integration Cloud_3rd_10042021.pptxssuser77e9de
 
Getting started with dotnet core Web APIs
Getting started with dotnet core Web APIsGetting started with dotnet core Web APIs
Getting started with dotnet core Web APIsKnoldus Inc.
 
Secc tutorials development and deployment of rest web services in java_v2.0
Secc tutorials development and deployment of rest web services in java_v2.0Secc tutorials development and deployment of rest web services in java_v2.0
Secc tutorials development and deployment of rest web services in java_v2.0Aravindharamanan S
 
Best practices and advantages of REST APIs
Best practices and advantages of REST APIsBest practices and advantages of REST APIs
Best practices and advantages of REST APIsAparna Sharma
 
What are restful web services?
What are restful web services?What are restful web services?
What are restful web services?Aparna Sharma
 
zendframework2 restful
zendframework2 restfulzendframework2 restful
zendframework2 restfultom_li
 
REST and the Hypermedia Constraint
REST and the Hypermedia ConstraintREST and the Hypermedia Constraint
REST and the Hypermedia ConstraintInviqa
 
Ebook undisturbed rest-v1 [res_tful apis]
Ebook undisturbed rest-v1 [res_tful apis]Ebook undisturbed rest-v1 [res_tful apis]
Ebook undisturbed rest-v1 [res_tful apis]johnkbutcher
 
Restful web services by Sreeni Inturi
Restful web services by Sreeni InturiRestful web services by Sreeni Inturi
Restful web services by Sreeni InturiSreeni I
 
Overview of Rest Service and ASP.NET WEB API
Overview of Rest Service and ASP.NET WEB APIOverview of Rest Service and ASP.NET WEB API
Overview of Rest Service and ASP.NET WEB APIPankaj Bajaj
 
Monolithic and Microservice architecture, Feature of Node JS 10, HTTP2
Monolithic and Microservice architecture, Feature of Node JS 10, HTTP2Monolithic and Microservice architecture, Feature of Node JS 10, HTTP2
Monolithic and Microservice architecture, Feature of Node JS 10, HTTP2Atharva Jawalkar
 
IRJET- Rest API for E-Commerce Site
IRJET- Rest API for E-Commerce SiteIRJET- Rest API for E-Commerce Site
IRJET- Rest API for E-Commerce SiteIRJET Journal
 
LAJUG Napster REST API
LAJUG Napster REST APILAJUG Napster REST API
LAJUG Napster REST APIstephenbhadran
 

Similar to Undisturbed rest chapter01 (20)

Weekly Tech Session
Weekly Tech SessionWeekly Tech Session
Weekly Tech Session
 
What is the difference between an api and web services
What is the difference between an api and web servicesWhat is the difference between an api and web services
What is the difference between an api and web services
 
Oracle Integration Cloud_3rd_10042021.pptx
Oracle Integration Cloud_3rd_10042021.pptxOracle Integration Cloud_3rd_10042021.pptx
Oracle Integration Cloud_3rd_10042021.pptx
 
Oracle Integration Cloud_3rd_10042021.pptx
Oracle Integration Cloud_3rd_10042021.pptxOracle Integration Cloud_3rd_10042021.pptx
Oracle Integration Cloud_3rd_10042021.pptx
 
Getting started with dotnet core Web APIs
Getting started with dotnet core Web APIsGetting started with dotnet core Web APIs
Getting started with dotnet core Web APIs
 
Secc tutorials development and deployment of rest web services in java_v2.0
Secc tutorials development and deployment of rest web services in java_v2.0Secc tutorials development and deployment of rest web services in java_v2.0
Secc tutorials development and deployment of rest web services in java_v2.0
 
Best practices and advantages of REST APIs
Best practices and advantages of REST APIsBest practices and advantages of REST APIs
Best practices and advantages of REST APIs
 
Day03 api
Day03   apiDay03   api
Day03 api
 
What are restful web services?
What are restful web services?What are restful web services?
What are restful web services?
 
zendframework2 restful
zendframework2 restfulzendframework2 restful
zendframework2 restful
 
REST and the Hypermedia Constraint
REST and the Hypermedia ConstraintREST and the Hypermedia Constraint
REST and the Hypermedia Constraint
 
Ebook undisturbed rest-v1 [res_tful apis]
Ebook undisturbed rest-v1 [res_tful apis]Ebook undisturbed rest-v1 [res_tful apis]
Ebook undisturbed rest-v1 [res_tful apis]
 
Restful web services by Sreeni Inturi
Restful web services by Sreeni InturiRestful web services by Sreeni Inturi
Restful web services by Sreeni Inturi
 
Overview of Rest Service and ASP.NET WEB API
Overview of Rest Service and ASP.NET WEB APIOverview of Rest Service and ASP.NET WEB API
Overview of Rest Service and ASP.NET WEB API
 
Monolithic and Microservice architecture, Feature of Node JS 10, HTTP2
Monolithic and Microservice architecture, Feature of Node JS 10, HTTP2Monolithic and Microservice architecture, Feature of Node JS 10, HTTP2
Monolithic and Microservice architecture, Feature of Node JS 10, HTTP2
 
Apitesting.pptx
Apitesting.pptxApitesting.pptx
Apitesting.pptx
 
IRJET- Rest API for E-Commerce Site
IRJET- Rest API for E-Commerce SiteIRJET- Rest API for E-Commerce Site
IRJET- Rest API for E-Commerce Site
 
Rest web service
Rest web serviceRest web service
Rest web service
 
REST full API Design
REST full API DesignREST full API Design
REST full API Design
 
LAJUG Napster REST API
LAJUG Napster REST APILAJUG Napster REST API
LAJUG Napster REST API
 

Recently uploaded

From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 

Recently uploaded (20)

From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 

Undisturbed rest chapter01

  • 1. UNDISTURBED REST A guide to designing the perfect API
  • 2. 1.WHAT IS AN API?  API (Application Programming Interface) is a software intermediary that allows two applications to talk to each other.  There are many types of APIs.  Web APIs: Simple Object Access Protocol (SOAP), Remote Procedure Call (RPC), Representational StateTransfer (REST).  …
  • 3. 1.WHAT IS AN API?  1.1.Web APIs  Web API (Web Service) provides an interface forWeb applications, or applications that need to connect to each other via the Internet to communicate.  Since 2005, the use of web APIs has exploded exponentially, and multipleWeb formats and standards have been created.  Early on, one of the most popular enterprise formats for APIs was SOAP.  With the emergence of JavaScript Object Notation (JSON), REST has grown in popularity and quickly become the de facto standard for the generalWeb APIs today.
  • 4. 1.1WEB APIS  1.1.1. SOAP  It was designed to offer a new protocol and messaging framework.  It relied on theWeb Service Definition Language (WSDL) & XML to build and receive the different requests.  1.1.2. XML-RPC (Remote Procedure Calls)  It was the basic for SOAP.  It was much quicker and easier to implement than SOAP.  1.1.3. JSON-RPC  The format was originally designed to take advantage of JavaScript’s ability to act as a messaging system  JSON was developed to provide a simple, concise format
  • 5. 1.1WEB APIS  1.1.4. REST  Provides an incredible layer of flexibility.  Has ability to handle multiple types of calls, return different data formats & even change structurally with the correct implementation of hypermedia.
  • 6. 1.WHAT IS AN API?  1.2. Understanding REST  One of the most commonly missed constraints of REST is the utilization of hypermedia as the engine of application state, or HATEOAS  There are six key constraints to REST:  Client-Server  Stateless  Cache  Uniform Interface  Layered System  Code on demand
  • 7. 1.2. UNDERSTANDING REST  1.2.1. Client-server  Operates on the concept that the client and the server should be separate from each other and allowed to evolve individually.  This creates a separation of concerns, letting each application grow and scale independently of the other and allowing your organization to grow quickly and efficiently.  1.2.2. Stateless  The calls can be made independently of one another, and each call contains all of the data necessary to complete itself successfully.  1.2.3. Cache  When data is cacheable, the response should indicate that the data can be stored up to a certain time.
  • 8. 1.2. UNDERSTANDING REST  1.2.4. Uniform Interface  The uniform interface lets the client talk to the server in a single language, independent of the architectural backend of either.This interface should provide an unchanging, standardized means of communicating between the client and the server.  1.2.5. Layered System  Is a system comprised of layers, with each layer having a specific functionality and responsibility.  1.2.6. Code on demand  Allows for code or applets to be transmitted via the API for use within the application.