SlideShare a Scribd company logo
1 of 15
Download to read offline
WSO2 Advantage Webinar

Extensible API Management
Nuwan Dias
Senior Software Engineer, WSO2
15/10/2013
About WSO2
• Providing the only complete open source componentized cloud
platform
–
–

Dedicated to removing all the stumbling blocks to enterprise agility
Enabling you to focus on business logic and business value

• Recognized by leading analyst firms as visionaries and leaders
–
–

Gartner cites WSO2 as visionaries in all 3 categories of
application infrastructure
Forrester places WSO2 in top 2 for API Management

• Global corporation with offices in USA, UK & Sri Lanka
–

200+ employees and growing

• Business model of selling comprehensive support &
maintenance for our products
150+ globally positioned support customers
Agenda
• Evolution of APIs
• Why should an API be extensible
• Designing an extensible API
• Real World Use Cases
Evolution of APIs
• Companies used phone, mail, advertising to reach customers.
• Then came websites, where companies advertised themselves.
• WAP versions of websites....... very limited success.
• Mobile web browsers did not live up to its potential
• Companies started building their own Apps (Applications)

• ** If you could reach your consumers through your Apps, how
much further can you reach through Apps developed by a
developer community.
What is Extensibility ?

• Hooks or plug-points to insert one's own programming routines
to the incoming and/or outgoing message flows.
Why should an API be extensible ?
• Helps you to reach the long tail...
• Longer lifetime of the API
• Enables your API to connect to other libraries or entire
Applications
• Helps you get over mistakes.
Designing an Extensible API.
• Always return a consistent wrapper Object
– Ex: A successful response for a database query.
<product>
<name>Swiss Watch</name>
<category>Watches</category>
<color>Black</color>
</product>

– When no data found

<error>No Data Found</error>

– A better approach would be
<response>
<errorCode>0</errorCode>
<product>
<name>Swiss Watch</name>
<category>Watches</category>
<color>Black</color>
</product>
</response>
Designing an Extensible API.....
• Support Multiple Formats
– Ex: XML/JSON

• Keep parameter count consistent
• Support API Versioning
• Keep response key types consistent
– Ex: If you have an API that returns <bookid type=”integer”>12831</bookid>
– Do not have another api which returns <bookid>

• Structure the API URL
– Ex: http://myproducts.com/{api}/{resource}
http://myproducts.com/products/product/1
http://myproducts.com/products/category/electronics
Designing an Extensible API.....
• Use OAuth
• Document your API religiously
Real World Use Cases
• Conversion from XML to JSON
Real World Use Cases
• Location Based Dispatching
Questions ?
Engage with WSO2
• Helping you get the most out of your deployments
• From project evaluation and inception to development
and going into production, WSO2 is your partner in
ensuring 100% project success
Engage with WSO2

More Related Content

What's hot

Quickbooks Integration with Salesforce - Tips from Certified Consultants
Quickbooks Integration with Salesforce - Tips from Certified ConsultantsQuickbooks Integration with Salesforce - Tips from Certified Consultants
Quickbooks Integration with Salesforce - Tips from Certified Consultants
Ajeet Singh
 
Agile Enterprise Publishing
Agile Enterprise PublishingAgile Enterprise Publishing
Agile Enterprise Publishing
WebWorks
 

What's hot (19)

Quickbooks Integration with Salesforce - Tips from Certified Consultants
Quickbooks Integration with Salesforce - Tips from Certified ConsultantsQuickbooks Integration with Salesforce - Tips from Certified Consultants
Quickbooks Integration with Salesforce - Tips from Certified Consultants
 
Agile Enterprise Publishing
Agile Enterprise PublishingAgile Enterprise Publishing
Agile Enterprise Publishing
 
Recipes for API Ninjas
Recipes for API NinjasRecipes for API Ninjas
Recipes for API Ninjas
 
Aws
Aws Aws
Aws
 
Aws
AwsAws
Aws
 
Aws
AwsAws
Aws
 
AEM & eCommerce integration
AEM & eCommerce integrationAEM & eCommerce integration
AEM & eCommerce integration
 
apidays LIVE New York 2021 - Designing embedded platforms: Lessons from indus...
apidays LIVE New York 2021 - Designing embedded platforms: Lessons from indus...apidays LIVE New York 2021 - Designing embedded platforms: Lessons from indus...
apidays LIVE New York 2021 - Designing embedded platforms: Lessons from indus...
 
Introduction to ERPNext (2015)
Introduction to ERPNext (2015)Introduction to ERPNext (2015)
Introduction to ERPNext (2015)
 
AMS Love sms
AMS Love smsAMS Love sms
AMS Love sms
 
Backand Presentation
Backand PresentationBackand Presentation
Backand Presentation
 
How to Choose an API Automation Tool for a Distributed Cloud-based App: To...
How to Choose an API Automation Tool for a Distributed Cloud-based App: To...How to Choose an API Automation Tool for a Distributed Cloud-based App: To...
How to Choose an API Automation Tool for a Distributed Cloud-based App: To...
 
Developer Experience as a Product
Developer Experience as a ProductDeveloper Experience as a Product
Developer Experience as a Product
 
Magento eCommerce And The Next Generation Of PHP
Magento eCommerce And The Next Generation Of PHPMagento eCommerce And The Next Generation Of PHP
Magento eCommerce And The Next Generation Of PHP
 
Engineer Stunning (API) documentation
Engineer Stunning (API) documentationEngineer Stunning (API) documentation
Engineer Stunning (API) documentation
 
EVOLVE'16 | Deploy | Varun Mitra | Introduction to AEM based e-commerce
EVOLVE'16 | Deploy | Varun Mitra | Introduction to AEM based e-commerceEVOLVE'16 | Deploy | Varun Mitra | Introduction to AEM based e-commerce
EVOLVE'16 | Deploy | Varun Mitra | Introduction to AEM based e-commerce
 
Mule Hyderabad Meetup (Mule 4)
Mule Hyderabad Meetup (Mule 4)Mule Hyderabad Meetup (Mule 4)
Mule Hyderabad Meetup (Mule 4)
 
The API BizDevportal
The API BizDevportalThe API BizDevportal
The API BizDevportal
 
Distributed Digital Manufacturing – How APIs are Powering the Next Industrial...
Distributed Digital Manufacturing – How APIs are Powering the Next Industrial...Distributed Digital Manufacturing – How APIs are Powering the Next Industrial...
Distributed Digital Manufacturing – How APIs are Powering the Next Industrial...
 

Viewers also liked

Orthodontic appliances
Orthodontic appliancesOrthodontic appliances
Orthodontic appliances
Mahmoud Fayed
 
My Communication Lab
My Communication LabMy Communication Lab
My Communication Lab
Corey Durward
 

Viewers also liked (20)

Drive Your Business' Bottom Line Using Natural Search in a 3-Step Program
Drive Your Business' Bottom Line Using Natural Search in a 3-Step ProgramDrive Your Business' Bottom Line Using Natural Search in a 3-Step Program
Drive Your Business' Bottom Line Using Natural Search in a 3-Step Program
 
Crafting an Engagement Strategy
Crafting an Engagement StrategyCrafting an Engagement Strategy
Crafting an Engagement Strategy
 
Why Data Virtualization? An Introduction by Denodo
Why Data Virtualization? An Introduction by DenodoWhy Data Virtualization? An Introduction by Denodo
Why Data Virtualization? An Introduction by Denodo
 
Orthodontic Brackets
Orthodontic Brackets Orthodontic Brackets
Orthodontic Brackets
 
The Top 5 Performance Management Tools
The Top 5 Performance Management ToolsThe Top 5 Performance Management Tools
The Top 5 Performance Management Tools
 
Orthodontic appliances
Orthodontic appliancesOrthodontic appliances
Orthodontic appliances
 
25 KPIs Every Manager Needs To Know
25 KPIs Every Manager Needs To Know25 KPIs Every Manager Needs To Know
25 KPIs Every Manager Needs To Know
 
10 DDoS Mitigation Techniques
10 DDoS Mitigation Techniques10 DDoS Mitigation Techniques
10 DDoS Mitigation Techniques
 
50 Customer Service Quotes You Need to Hang In Your Office
50 Customer Service Quotes You Need to Hang In Your Office50 Customer Service Quotes You Need to Hang In Your Office
50 Customer Service Quotes You Need to Hang In Your Office
 
Simplify your CSS with Stylus and Nib
Simplify your CSS with Stylus and NibSimplify your CSS with Stylus and Nib
Simplify your CSS with Stylus and Nib
 
My Communication Lab
My Communication LabMy Communication Lab
My Communication Lab
 
Ballast Water Treatment with VOS™ | N.E.I. Treatment Systems
Ballast Water Treatment with VOS™  | N.E.I. Treatment SystemsBallast Water Treatment with VOS™  | N.E.I. Treatment Systems
Ballast Water Treatment with VOS™ | N.E.I. Treatment Systems
 
KABLOSUZ PROB YARDIMIYLA GEOPHONE SİSTEMİ TASARIMI
KABLOSUZ PROB YARDIMIYLA GEOPHONE SİSTEMİ TASARIMIKABLOSUZ PROB YARDIMIYLA GEOPHONE SİSTEMİ TASARIMI
KABLOSUZ PROB YARDIMIYLA GEOPHONE SİSTEMİ TASARIMI
 
Qu’est-ce que la carte MasterCard prépayée paysafecard?
Qu’est-ce que la carte MasterCard prépayée paysafecard?Qu’est-ce que la carte MasterCard prépayée paysafecard?
Qu’est-ce que la carte MasterCard prépayée paysafecard?
 
Lotus Notes Migration
Lotus Notes MigrationLotus Notes Migration
Lotus Notes Migration
 
Tc basics
Tc basicsTc basics
Tc basics
 
Netezza vs teradata
Netezza vs teradataNetezza vs teradata
Netezza vs teradata
 
Immunohistochemistry (IHC)Staining Steps
Immunohistochemistry (IHC)Staining StepsImmunohistochemistry (IHC)Staining Steps
Immunohistochemistry (IHC)Staining Steps
 
MicroStrategy Design Challenges - Tips and Best Practices
MicroStrategy Design Challenges - Tips and Best PracticesMicroStrategy Design Challenges - Tips and Best Practices
MicroStrategy Design Challenges - Tips and Best Practices
 
OOW15 - Testing Oracle E-Business Suite Best Practices
OOW15 - Testing Oracle E-Business Suite Best PracticesOOW15 - Testing Oracle E-Business Suite Best Practices
OOW15 - Testing Oracle E-Business Suite Best Practices
 

Similar to Extensible API Management

[Social innovation challenge][pitching]
[Social innovation challenge][pitching][Social innovation challenge][pitching]
[Social innovation challenge][pitching]
Ann Lam
 
Adobe Air Development Consulting
Adobe Air Development ConsultingAdobe Air Development Consulting
Adobe Air Development Consulting
Imranahmed_19
 
WebWorks Corporate Overview - 2009
WebWorks Corporate Overview - 2009WebWorks Corporate Overview - 2009
WebWorks Corporate Overview - 2009
WebWorks
 
PSI Corporate Profile
PSI Corporate ProfilePSI Corporate Profile
PSI Corporate Profile
mike_vincent
 
Why should the WSO2 App Factory be your choice for Enterprise App Development
Why should the WSO2 App Factory be your choice for Enterprise App DevelopmentWhy should the WSO2 App Factory be your choice for Enterprise App Development
Why should the WSO2 App Factory be your choice for Enterprise App Development
WSO2
 

Similar to Extensible API Management (20)

Re-Inventing Enterprise IT Around APIs & Apps
Re-Inventing Enterprise IT Around APIs & AppsRe-Inventing Enterprise IT Around APIs & Apps
Re-Inventing Enterprise IT Around APIs & Apps
 
Semaphore cloud development webinar
Semaphore cloud development webinarSemaphore cloud development webinar
Semaphore cloud development webinar
 
2014-wso2 platform-v1.1.0
2014-wso2 platform-v1.1.02014-wso2 platform-v1.1.0
2014-wso2 platform-v1.1.0
 
INTERFACE, by apidays - Lessons learned from implementing our custom ‘Big Da...
INTERFACE, by apidays  - Lessons learned from implementing our custom ‘Big Da...INTERFACE, by apidays  - Lessons learned from implementing our custom ‘Big Da...
INTERFACE, by apidays - Lessons learned from implementing our custom ‘Big Da...
 
Understanding the WSO2 Platform
Understanding the WSO2 PlatformUnderstanding the WSO2 Platform
Understanding the WSO2 Platform
 
[Social innovation challenge][pitching]
[Social innovation challenge][pitching][Social innovation challenge][pitching]
[Social innovation challenge][pitching]
 
Confessions of-a-gadget-holic
Confessions of-a-gadget-holicConfessions of-a-gadget-holic
Confessions of-a-gadget-holic
 
Deployment Automation for Hybrid Cloud and Multi-Platform Environments
Deployment Automation for Hybrid Cloud and Multi-Platform EnvironmentsDeployment Automation for Hybrid Cloud and Multi-Platform Environments
Deployment Automation for Hybrid Cloud and Multi-Platform Environments
 
How CAF aided in saving cost and signing a billion dollar contract for a BFS ...
How CAF aided in saving cost and signing a billion dollar contract for a BFS ...How CAF aided in saving cost and signing a billion dollar contract for a BFS ...
How CAF aided in saving cost and signing a billion dollar contract for a BFS ...
 
PortHand Overview August 2013
PortHand Overview August 2013PortHand Overview August 2013
PortHand Overview August 2013
 
Transformation through the API
Transformation through the APITransformation through the API
Transformation through the API
 
Adobe Air Development Consulting
Adobe Air Development ConsultingAdobe Air Development Consulting
Adobe Air Development Consulting
 
DevOps Tech Talk: Getting out of Operations Hell | AWS Public Sector Summit 2016
DevOps Tech Talk: Getting out of Operations Hell | AWS Public Sector Summit 2016DevOps Tech Talk: Getting out of Operations Hell | AWS Public Sector Summit 2016
DevOps Tech Talk: Getting out of Operations Hell | AWS Public Sector Summit 2016
 
Telliant-Pres-_9-2-22 (1).pdf
Telliant-Pres-_9-2-22 (1).pdfTelliant-Pres-_9-2-22 (1).pdf
Telliant-Pres-_9-2-22 (1).pdf
 
WebWorks Corporate Overview - 2009
WebWorks Corporate Overview - 2009WebWorks Corporate Overview - 2009
WebWorks Corporate Overview - 2009
 
[WSO2Con EU 2018] APIs - Technology That Can Transform Your Business Into a P...
[WSO2Con EU 2018] APIs - Technology That Can Transform Your Business Into a P...[WSO2Con EU 2018] APIs - Technology That Can Transform Your Business Into a P...
[WSO2Con EU 2018] APIs - Technology That Can Transform Your Business Into a P...
 
PSI Corporate Profile
PSI Corporate ProfilePSI Corporate Profile
PSI Corporate Profile
 
Offshore Software Development Company
Offshore Software Development CompanyOffshore Software Development Company
Offshore Software Development Company
 
Why should the WSO2 App Factory be your choice for Enterprise App Development
Why should the WSO2 App Factory be your choice for Enterprise App DevelopmentWhy should the WSO2 App Factory be your choice for Enterprise App Development
Why should the WSO2 App Factory be your choice for Enterprise App Development
 
Giri_WCS
Giri_WCSGiri_WCS
Giri_WCS
 

More from WSO2

More from WSO2 (20)

Driving Innovation: Scania's API Revolution with WSO2
Driving Innovation: Scania's API Revolution with WSO2Driving Innovation: Scania's API Revolution with WSO2
Driving Innovation: Scania's API Revolution with WSO2
 
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data PlatformLess Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
 
Modernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using BallerinaModernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using Ballerina
 
WSO2CON 2024 - Unlocking the Identity: Embracing CIAM 2.0 for a Competitive A...
WSO2CON 2024 - Unlocking the Identity: Embracing CIAM 2.0 for a Competitive A...WSO2CON 2024 - Unlocking the Identity: Embracing CIAM 2.0 for a Competitive A...
WSO2CON 2024 - Unlocking the Identity: Embracing CIAM 2.0 for a Competitive A...
 
WSO2CON 2024 Slides - Unlocking Value with AI
WSO2CON 2024 Slides - Unlocking Value with AIWSO2CON 2024 Slides - Unlocking Value with AI
WSO2CON 2024 Slides - Unlocking Value with AI
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Quantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation ComputingQuantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation Computing
 
WSO2CON 2024 - Elevating the Integration Game to the Cloud
WSO2CON 2024 - Elevating the Integration Game to the CloudWSO2CON 2024 - Elevating the Integration Game to the Cloud
WSO2CON 2024 - Elevating the Integration Game to the Cloud
 
WSO2CON 2024 - OSU & WSO2: A Decade Journey in Integration & Innovation
WSO2CON 2024 - OSU & WSO2: A Decade Journey in Integration & InnovationWSO2CON 2024 - OSU & WSO2: A Decade Journey in Integration & Innovation
WSO2CON 2024 - OSU & WSO2: A Decade Journey in Integration & Innovation
 
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
 
WSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaSWSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaS
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
 
WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...
WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...
WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...
 
WSO2CON 2024 - Architecting AI in the Enterprise: APIs and Applications
WSO2CON 2024 - Architecting AI in the Enterprise: APIs and ApplicationsWSO2CON 2024 - Architecting AI in the Enterprise: APIs and Applications
WSO2CON 2024 - Architecting AI in the Enterprise: APIs and Applications
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
 
WSO2CON 2024 - Software Engineering for Digital Businesses
WSO2CON 2024 - Software Engineering for Digital BusinessesWSO2CON 2024 - Software Engineering for Digital Businesses
WSO2CON 2024 - Software Engineering for Digital Businesses
 
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
 
WSO2CON 2024 - Designing Event-Driven Enterprises: Stories of Transformation
WSO2CON 2024 - Designing Event-Driven Enterprises: Stories of TransformationWSO2CON 2024 - Designing Event-Driven Enterprises: Stories of Transformation
WSO2CON 2024 - Designing Event-Driven Enterprises: Stories of Transformation
 
WSO2CON 2024 - Not Just Microservices: Rightsize Your Services!
WSO2CON 2024 - Not Just Microservices: Rightsize Your Services!WSO2CON 2024 - Not Just Microservices: Rightsize Your Services!
WSO2CON 2024 - Not Just Microservices: Rightsize Your Services!
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
 

Recently uploaded

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Recently uploaded (20)

Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu SubbuApidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
Apidays Singapore 2024 - Modernizing Securities Finance by Madhu Subbu
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
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...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 

Extensible API Management

  • 1. WSO2 Advantage Webinar Extensible API Management Nuwan Dias Senior Software Engineer, WSO2 15/10/2013
  • 2. About WSO2 • Providing the only complete open source componentized cloud platform – – Dedicated to removing all the stumbling blocks to enterprise agility Enabling you to focus on business logic and business value • Recognized by leading analyst firms as visionaries and leaders – – Gartner cites WSO2 as visionaries in all 3 categories of application infrastructure Forrester places WSO2 in top 2 for API Management • Global corporation with offices in USA, UK & Sri Lanka – 200+ employees and growing • Business model of selling comprehensive support & maintenance for our products
  • 3. 150+ globally positioned support customers
  • 4. Agenda • Evolution of APIs • Why should an API be extensible • Designing an extensible API • Real World Use Cases
  • 5. Evolution of APIs • Companies used phone, mail, advertising to reach customers. • Then came websites, where companies advertised themselves. • WAP versions of websites....... very limited success. • Mobile web browsers did not live up to its potential • Companies started building their own Apps (Applications) • ** If you could reach your consumers through your Apps, how much further can you reach through Apps developed by a developer community.
  • 6. What is Extensibility ? • Hooks or plug-points to insert one's own programming routines to the incoming and/or outgoing message flows.
  • 7. Why should an API be extensible ? • Helps you to reach the long tail... • Longer lifetime of the API • Enables your API to connect to other libraries or entire Applications • Helps you get over mistakes.
  • 8. Designing an Extensible API. • Always return a consistent wrapper Object – Ex: A successful response for a database query. <product> <name>Swiss Watch</name> <category>Watches</category> <color>Black</color> </product> – When no data found <error>No Data Found</error> – A better approach would be <response> <errorCode>0</errorCode> <product> <name>Swiss Watch</name> <category>Watches</category> <color>Black</color> </product> </response>
  • 9. Designing an Extensible API..... • Support Multiple Formats – Ex: XML/JSON • Keep parameter count consistent • Support API Versioning • Keep response key types consistent – Ex: If you have an API that returns <bookid type=”integer”>12831</bookid> – Do not have another api which returns <bookid> • Structure the API URL – Ex: http://myproducts.com/{api}/{resource} http://myproducts.com/products/product/1 http://myproducts.com/products/category/electronics
  • 10. Designing an Extensible API..... • Use OAuth • Document your API religiously
  • 11. Real World Use Cases • Conversion from XML to JSON
  • 12. Real World Use Cases • Location Based Dispatching
  • 14. Engage with WSO2 • Helping you get the most out of your deployments • From project evaluation and inception to development and going into production, WSO2 is your partner in ensuring 100% project success