SlideShare a Scribd company logo
1 of 13
Download to read offline
The	
  API-­‐Applica.on	
  
Seman.cs	
  Gap	
  
Steven	
  Willmo,	
  	
  	
  	
  	
  
3scale	
  Inc	
  
@3scale	
  -­‐	
  h,p://www.3scale.net	
  
On	
  Demand	
  API	
  Infrastructure:	
  	
  
h,p://3scale.net	
  h,p://www.apitools.com	
  
h,p://apistrat.com	
  	
  
@3scale	
  me:	
  @njyx	
  on	
  twi,er	
  
Powering	
  650	
  APIs	
  
Billions	
  API	
  Calls	
  /	
  Month	
  
REST	
  and	
  SemanOcs	
  
•  More	
  Shared	
  
SemanOcs	
  
•  More	
  ConvenOon	
  
v’s	
  ConfiguraOon	
  
•  More	
  Flexible	
  
Clients	
  
Key:	
  Explicit,	
  Shared,	
  Re-­‐usable	
  SemanOcs	
  
(Image:	
  MarOn	
  Fowler	
  /	
  Richardson	
  Model)	
  
 But	
  What	
  Type	
  of	
  SemanOcs	
  
ApplicaOon	
  SemanOcs	
  =	
  Chocolate	
  
REST-­‐1-­‐2-­‐3	
  
HTTP	
  
TCP/IP	
  
Domain	
  
Objects	
  
AcOons	
  
ObligaOons	
  
Rights…	
  
Implicit	
  v’s	
  Explicit	
  ApplicaOon	
  
SemanOcs	
  
Server	
   Client	
  
API	
  DefiniOon	
  
Data	
  Models	
  /	
  Ontology	
  
AcOon	
  DefiniOons	
  
(Mental)	
  State	
  
Today’s	
  REST	
  APIs	
  
Profile	
  
Message:	
  	
  
Object	
  
Encoding	
  
HTTP	
  Post	
  
Vocabulary	
  
Human	
  	
  
Readable	
  
Docs	
  
•  Implicit	
  and	
  Explicit	
  
SemanOcs	
  
•  Some	
  is	
  Machine	
  
Readable	
  
•  Message	
  Bodies	
  are	
  
limited	
  
•  HTTP	
  Verbs	
  touch	
  
ApplicaOon	
  SemanOcs	
  
So…	
  
“Agent”	
   There	
  are	
  Models:	
  e.g.	
  FIPA	
  Agent	
  
CommunicaOon	
  Model	
  
(Speech Act: Inform
:sender
:receiver 
:content “(equal A B)”
:language
:ontology)
	
  
(Protocol:	
  Info-­‐Exchange…	
  
(Context:	
  	
  
	
  -­‐	
  Ontologies	
  
	
  -­‐	
  Protocols	
  
	
  -­‐	
  Logical	
  Frameworks	
  
	
  -­‐	
  Rights,	
  Roles,	
  IdenOOes…	
  
h,p://fipa.org/repository/index.html	
  
A	
  lot	
  more	
  is	
  
possible:	
  
•  Ontologies	
  
•  PerformaOves	
  
•  Protocols	
  
•  Content	
  Logics:	
  
DL,	
  FOL,	
  Temporal,	
  
Constraint	
  
•  Mental	
  Models	
  
•  P2P	
  v’s	
  Client/
Server	
  	
  
Full	
  Stack	
  ApplicaOon	
  SemanOcs	
  
Level	
   Example	
  
Context	
   Ontology,	
  
IdenOty,	
  	
  
Protocol	
   Request	
  
Protocol	
  
Actude	
   Request,	
  
Agree,	
  Cancel,	
  
Reject,	
  Inform,	
  
…	
  
AcOon	
   “(Donald	
  eats	
  
apple)”	
  
Objects	
   “Apple”,	
  
“Person”	
  
A	
  lot	
  more	
  is	
  possible:	
  
•  Ontologies	
  
•  PerformaOves	
  
•  Protocols	
  
•  Content	
  Logics:	
  DL,	
  
FOL,	
  Temporal,	
  
Constraint	
  Logic	
  
•  Mental	
  Models	
  
•  P2P	
  v’s	
  Client/Server	
  	
  
Progress	
  From	
  Mike’s	
  Talk…	
  
•  Pass	
  Messages,	
  Not	
  Objects	
  
–  J	
  …	
  although	
  is	
  REST	
  pure	
  message	
  passing?	
  
•  Share	
  Vocabularies,	
  Not	
  Models	
  
–  Share	
  (External)	
  Vocabularies,	
  Not	
  (internal)	
  Models	
  
•  Use	
  Profiles	
  
–  J	
  …	
  add	
  more	
  to	
  them	
  
•  (from	
  James’)	
  AcOvity	
  Streams	
  Ontology	
  
–  J	
  …	
  helps	
  define	
  context	
  
•  =>	
  on	
  the	
  right	
  path	
  
Two	
  Paths	
  to	
  Progress	
  
•  More	
  Formats,	
  More	
  Reasoning	
  
	
  
Shared	
  Explicit	
  SemanOcs	
  FTW!	
  
apicommons.org	
  
Experimental	
  Work…	
  
Reasoning	
  	
  
Clients	
  
•  More	
  Share	
  formats	
  
	
  
References	
  
•  References:	
  
– h,p://fipa.org/repository/index.html	
  
– h,p://www.swagger.io	
  
– h,p://alps.io	
  	
  
•  Images:	
  
– Dancing	
  with	
  Happiness	
  –	
  Yarn	
  
– Nestle	
  –	
  KitKat	
  
steve@3scale.net	
  
@njyx,	
  @3scale	
  
	
  
We	
  make	
  awesome	
  API	
  management	
  tools:	
  
h,p://www.3scale.net/	
  
	
  

More Related Content

What's hot

Introduction to The 6 Insights of API Practice (Bill Doerrfeld)
Introduction to The 6 Insights of API Practice (Bill Doerrfeld)Introduction to The 6 Insights of API Practice (Bill Doerrfeld)
Introduction to The 6 Insights of API Practice (Bill Doerrfeld)
Nordic APIs
 

What's hot (20)

Visbility at the Edge - Deep Insights from Your API
 Visbility at the Edge - Deep Insights from Your API Visbility at the Edge - Deep Insights from Your API
Visbility at the Edge - Deep Insights from Your API
 
Pain Points In API Development? They’re Everywhere
Pain Points In API Development? They’re EverywherePain Points In API Development? They’re Everywhere
Pain Points In API Development? They’re Everywhere
 
Scala & Swagger at Wordnik
Scala & Swagger at WordnikScala & Swagger at Wordnik
Scala & Swagger at Wordnik
 
Api Design
Api DesignApi Design
Api Design
 
What is an API
What is an APIWhat is an API
What is an API
 
Rest in practice
Rest in practiceRest in practice
Rest in practice
 
Applying Domain-Driven Design to APIs and Microservices - Austin API Meetup
Applying Domain-Driven Design to APIs and Microservices  - Austin API MeetupApplying Domain-Driven Design to APIs and Microservices  - Austin API Meetup
Applying Domain-Driven Design to APIs and Microservices - Austin API Meetup
 
apidays LIVE New York 2021 - Service API design validation by Uchit Vyas, KPMG
apidays LIVE New York 2021 - Service API design validation by Uchit Vyas, KPMGapidays LIVE New York 2021 - Service API design validation by Uchit Vyas, KPMG
apidays LIVE New York 2021 - Service API design validation by Uchit Vyas, KPMG
 
Dependency Down, Flexibility Up – The Benefits of API-First Development
Dependency Down, Flexibility Up – The Benefits of API-First DevelopmentDependency Down, Flexibility Up – The Benefits of API-First Development
Dependency Down, Flexibility Up – The Benefits of API-First Development
 
Mocking APIs Collaboratively with Postman
Mocking APIs Collaboratively with PostmanMocking APIs Collaboratively with Postman
Mocking APIs Collaboratively with Postman
 
A Tasty deep-dive into Open API Specification Links
A Tasty deep-dive into Open API Specification LinksA Tasty deep-dive into Open API Specification Links
A Tasty deep-dive into Open API Specification Links
 
apidays LIVE Paris - Exploring an API with Blocks by Larry Kluger
apidays LIVE Paris - Exploring an API with Blocks by Larry Klugerapidays LIVE Paris - Exploring an API with Blocks by Larry Kluger
apidays LIVE Paris - Exploring an API with Blocks by Larry Kluger
 
What is a Data Liberator
What is a Data LiberatorWhat is a Data Liberator
What is a Data Liberator
 
Building APIs That Last for Decades - Irakli Nadareishvili, Director of API S...
Building APIs That Last for Decades - Irakli Nadareishvili, Director of API S...Building APIs That Last for Decades - Irakli Nadareishvili, Director of API S...
Building APIs That Last for Decades - Irakli Nadareishvili, Director of API S...
 
Wrapping and Securing REST APIs with GraphQL
Wrapping and Securing REST APIs with GraphQLWrapping and Securing REST APIs with GraphQL
Wrapping and Securing REST APIs with GraphQL
 
Operational API design anti-patterns (Jason Harmon)
Operational API design anti-patterns (Jason Harmon)Operational API design anti-patterns (Jason Harmon)
Operational API design anti-patterns (Jason Harmon)
 
REST vs. GraphQL: Critical Look
REST vs. GraphQL: Critical LookREST vs. GraphQL: Critical Look
REST vs. GraphQL: Critical Look
 
Introduction to The 6 Insights of API Practice (Bill Doerrfeld)
Introduction to The 6 Insights of API Practice (Bill Doerrfeld)Introduction to The 6 Insights of API Practice (Bill Doerrfeld)
Introduction to The 6 Insights of API Practice (Bill Doerrfeld)
 
Do's and Don'ts of APIs
Do's and Don'ts of APIsDo's and Don'ts of APIs
Do's and Don'ts of APIs
 
Open Event API
Open Event APIOpen Event API
Open Event API
 

Viewers also liked

API Management architect presentation
API Management architect presentationAPI Management architect presentation
API Management architect presentation
sflynn073
 

Viewers also liked (9)

XebiCon'16 : GraphQL et Falcor, un nouveau regard sur les architectures REST ...
XebiCon'16 : GraphQL et Falcor, un nouveau regard sur les architectures REST ...XebiCon'16 : GraphQL et Falcor, un nouveau regard sur les architectures REST ...
XebiCon'16 : GraphQL et Falcor, un nouveau regard sur les architectures REST ...
 
API Management architect presentation
API Management architect presentationAPI Management architect presentation
API Management architect presentation
 
Integrating, exposing and managing distributed data with RESTful APIs and op...
Integrating, exposing and managing distributed data with RESTful APIs and op...Integrating, exposing and managing distributed data with RESTful APIs and op...
Integrating, exposing and managing distributed data with RESTful APIs and op...
 
APIS for Startups - Running your Business Inside Out
APIS for Startups - Running your Business Inside OutAPIS for Startups - Running your Business Inside Out
APIS for Startups - Running your Business Inside Out
 
How to use Donuts and Onions for Scaling API Programs
How to use Donuts and Onions for Scaling API ProgramsHow to use Donuts and Onions for Scaling API Programs
How to use Donuts and Onions for Scaling API Programs
 
Oracle api gateway overview
Oracle api gateway overviewOracle api gateway overview
Oracle api gateway overview
 
Take Control of your APIs in a Microservice Architecture
Take Control of your APIs in a Microservice ArchitectureTake Control of your APIs in a Microservice Architecture
Take Control of your APIs in a Microservice Architecture
 
The Fundamentals of Platform Strategy: Creating Genuine Value with APIs
The Fundamentals of Platform Strategy: Creating Genuine Value with APIsThe Fundamentals of Platform Strategy: Creating Genuine Value with APIs
The Fundamentals of Platform Strategy: Creating Genuine Value with APIs
 
Test and Protect Your API
Test and Protect Your APITest and Protect Your API
Test and Protect Your API
 

Similar to The API-Application Semantic Gap

A Conversation About REST - Extended Version
A Conversation About REST - Extended VersionA Conversation About REST - Extended Version
A Conversation About REST - Extended Version
Jeremy Brown
 

Similar to The API-Application Semantic Gap (20)

Building A Great API - Evan Cooke, Cloudstock, December 2010
Building A Great API - Evan Cooke, Cloudstock, December 2010Building A Great API - Evan Cooke, Cloudstock, December 2010
Building A Great API - Evan Cooke, Cloudstock, December 2010
 
Building a Great Web API - Evan Cooke - QCON 2011
Building a Great Web API - Evan Cooke - QCON 2011Building a Great Web API - Evan Cooke - QCON 2011
Building a Great Web API - Evan Cooke - QCON 2011
 
REST APIs, Girls Who Code
REST APIs, Girls Who CodeREST APIs, Girls Who Code
REST APIs, Girls Who Code
 
CMIS: An Open API for Managing Content
CMIS: An Open API for Managing ContentCMIS: An Open API for Managing Content
CMIS: An Open API for Managing Content
 
Phalcon 2 High Performance APIs - DevWeekPOA 2015
Phalcon 2 High Performance APIs - DevWeekPOA 2015Phalcon 2 High Performance APIs - DevWeekPOA 2015
Phalcon 2 High Performance APIs - DevWeekPOA 2015
 
Drupal & Summon: Keeping Article Discovery in the Library
Drupal & Summon: Keeping Article Discovery in the LibraryDrupal & Summon: Keeping Article Discovery in the Library
Drupal & Summon: Keeping Article Discovery in the Library
 
Decoupled cms sunshinephp 2014
Decoupled cms sunshinephp 2014Decoupled cms sunshinephp 2014
Decoupled cms sunshinephp 2014
 
REST Presentation
REST PresentationREST Presentation
REST Presentation
 
From Watson to Ontology Repositories - Ontolog OOR panel
From Watson to Ontology Repositories - Ontolog OOR panelFrom Watson to Ontology Repositories - Ontolog OOR panel
From Watson to Ontology Repositories - Ontolog OOR panel
 
LAJUG Napster REST API
LAJUG Napster REST APILAJUG Napster REST API
LAJUG Napster REST API
 
Salesforce Integration
Salesforce IntegrationSalesforce Integration
Salesforce Integration
 
Semantic Web: introduction & overview
Semantic Web: introduction & overviewSemantic Web: introduction & overview
Semantic Web: introduction & overview
 
Nom Nom: Consuming REST APIs
Nom Nom: Consuming REST APIsNom Nom: Consuming REST APIs
Nom Nom: Consuming REST APIs
 
Modified REST Presentation
Modified REST PresentationModified REST Presentation
Modified REST Presentation
 
Mind The Gap - Mapping a domain model to a RESTful API - OReilly SACon 2018, ...
Mind The Gap - Mapping a domain model to a RESTful API - OReilly SACon 2018, ...Mind The Gap - Mapping a domain model to a RESTful API - OReilly SACon 2018, ...
Mind The Gap - Mapping a domain model to a RESTful API - OReilly SACon 2018, ...
 
Building Content-Rich Java Apps in the Cloud with the Alfresco API
Building Content-Rich Java Apps in the Cloud with the Alfresco APIBuilding Content-Rich Java Apps in the Cloud with the Alfresco API
Building Content-Rich Java Apps in the Cloud with the Alfresco API
 
A Conversation About REST - Extended Version
A Conversation About REST - Extended VersionA Conversation About REST - Extended Version
A Conversation About REST - Extended Version
 
Django in enterprise world
Django in enterprise worldDjango in enterprise world
Django in enterprise world
 
Nom Nom: Consuming REST APIs
Nom Nom: Consuming REST APIsNom Nom: Consuming REST APIs
Nom Nom: Consuming REST APIs
 
Soap and Rest
Soap and RestSoap and Rest
Soap and Rest
 

More from 3scale

Kill the fail whale for your API
Kill the fail whale for your APIKill the fail whale for your API
Kill the fail whale for your API
3scale
 

More from 3scale (20)

APISTRAT KEYNOTE: Surfing the Wave between Chaos and Innovation
APISTRAT KEYNOTE:  Surfing the Wave between Chaos and InnovationAPISTRAT KEYNOTE:  Surfing the Wave between Chaos and Innovation
APISTRAT KEYNOTE: Surfing the Wave between Chaos and Innovation
 
A Connector, A Container and an API Walk into a Bar… Microservices Edition
A Connector, A Container and an API Walk into a Bar… Microservices EditionA Connector, A Container and an API Walk into a Bar… Microservices Edition
A Connector, A Container and an API Walk into a Bar… Microservices Edition
 
A Connector, A Container and an API Walk Into a Bar: The Programmable World
A Connector, A Container and an API Walk Into a Bar: The Programmable World A Connector, A Container and an API Walk Into a Bar: The Programmable World
A Connector, A Container and an API Walk Into a Bar: The Programmable World
 
How to Survive the API Copyright Apocalypse
How to Survive the API Copyright ApocalypseHow to Survive the API Copyright Apocalypse
How to Survive the API Copyright Apocalypse
 
Inside mind of a successful platform architect / Gartner APPS 2016
Inside mind of a successful platform architect / Gartner APPS 2016 Inside mind of a successful platform architect / Gartner APPS 2016
Inside mind of a successful platform architect / Gartner APPS 2016
 
Build and Manage Serverless APIs (APIDays Nordic, May 19th 2016)
Build and Manage Serverless APIs (APIDays Nordic, May 19th 2016)Build and Manage Serverless APIs (APIDays Nordic, May 19th 2016)
Build and Manage Serverless APIs (APIDays Nordic, May 19th 2016)
 
APIs and the Bot Revolution (APIDays Nordic, May 18)
APIs and the Bot Revolution (APIDays Nordic, May 18)APIs and the Bot Revolution (APIDays Nordic, May 18)
APIs and the Bot Revolution (APIDays Nordic, May 18)
 
API workshop by AWS and 3scale
API workshop by AWS and 3scaleAPI workshop by AWS and 3scale
API workshop by AWS and 3scale
 
The Swagger Format becomes the Open API Specification: Standardizing descript...
The Swagger Format becomes the Open API Specification: Standardizing descript...The Swagger Format becomes the Open API Specification: Standardizing descript...
The Swagger Format becomes the Open API Specification: Standardizing descript...
 
Entering the Platform Age: How to create genuine value for internal and exter...
Entering the Platform Age: How to create genuine value for internal and exter...Entering the Platform Age: How to create genuine value for internal and exter...
Entering the Platform Age: How to create genuine value for internal and exter...
 
APIs and the Creation of Wealth in the Digital Economy - APIDays Paris 2015 K...
APIs and the Creation of Wealth in the Digital Economy - APIDays Paris 2015 K...APIs and the Creation of Wealth in the Digital Economy - APIDays Paris 2015 K...
APIs and the Creation of Wealth in the Digital Economy - APIDays Paris 2015 K...
 
API Model Canvas for successful API strategies and programs
API Model Canvas for successful API strategies and programsAPI Model Canvas for successful API strategies and programs
API Model Canvas for successful API strategies and programs
 
Microservices in action: How to actually build them
Microservices in action: How to actually build themMicroservices in action: How to actually build them
Microservices in action: How to actually build them
 
APIs.JSON: Bootstrapping The Web of APIs
APIs.JSON: Bootstrapping The Web of APIsAPIs.JSON: Bootstrapping The Web of APIs
APIs.JSON: Bootstrapping The Web of APIs
 
API Model Canvas (APIDays Mediterranea 2015)
API Model Canvas (APIDays Mediterranea 2015)API Model Canvas (APIDays Mediterranea 2015)
API Model Canvas (APIDays Mediterranea 2015)
 
APIsBerlin 3scale Data for a Web of APIs
APIsBerlin 3scale Data for a Web of APIs APIsBerlin 3scale Data for a Web of APIs
APIsBerlin 3scale Data for a Web of APIs
 
Kill the fail whale for your API
Kill the fail whale for your APIKill the fail whale for your API
Kill the fail whale for your API
 
API as a Growth Tool
API as a Growth ToolAPI as a Growth Tool
API as a Growth Tool
 
Enhance Mobile Dev with APItools
Enhance Mobile Dev with APItoolsEnhance Mobile Dev with APItools
Enhance Mobile Dev with APItools
 
APIs for your Business + Stages of the API Lifecycle
APIs for your Business + Stages of the API LifecycleAPIs for your Business + Stages of the API Lifecycle
APIs for your Business + Stages of the API Lifecycle
 

Recently uploaded

Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRLLucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
imonikaupta
 
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
soniya singh
 
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
soniya singh
 
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
SofiyaSharma5
 
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
Call Girls In Delhi Whatsup 9873940964 Enjoy Unlimited Pleasure
 
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
shivangimorya083
 

Recently uploaded (20)

Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRLLucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
Lucknow ❤CALL GIRL 88759*99948 ❤CALL GIRLS IN Lucknow ESCORT SERVICE❤CALL GIRL
 
✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663
✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663
✂️ 👅 Independent Andheri Escorts With Room Vashi Call Girls 💃 9004004663
 
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night StandHot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
Hot Call Girls |Delhi |Hauz Khas ☎ 9711199171 Book Your One night Stand
 
Russian Call Girls in %(+971524965298 )# Call Girls in Dubai
Russian Call Girls in %(+971524965298  )#  Call Girls in DubaiRussian Call Girls in %(+971524965298  )#  Call Girls in Dubai
Russian Call Girls in %(+971524965298 )# Call Girls in Dubai
 
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersMoving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
 
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call GirlVIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
 
(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
(INDIRA) Call Girl Pune Call Now 8250077686 Pune Escorts 24x7
 
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Ashram Chowk Delhi 💯Call Us 🔝8264348440🔝
 
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
 
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
Low Rate Young Call Girls in Sector 63 Mamura Noida ✔️☆9289244007✔️☆ Female E...
 
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Shahpur Jat Escort Service Delhi N.C.R.
 
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
 
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Green Park Escort Service Delhi N.C.R.
 
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
 
Networking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOGNetworking in the Penumbra presented by Geoff Huston at NZNOG
Networking in the Penumbra presented by Geoff Huston at NZNOG
 
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
DDoS In Oceania and the Pacific, presented by Dave Phelan at NZNOG 2024
 
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
 
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Rohini 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
Call Now ☎ 8264348440 !! Call Girls in Sarai Rohilla Escort Service Delhi N.C.R.
 
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort ServiceEnjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
 

The API-Application Semantic Gap

  • 1. The  API-­‐Applica.on   Seman.cs  Gap   Steven  Willmo,           3scale  Inc   @3scale  -­‐  h,p://www.3scale.net  
  • 2. On  Demand  API  Infrastructure:     h,p://3scale.net  h,p://www.apitools.com   h,p://apistrat.com     @3scale  me:  @njyx  on  twi,er   Powering  650  APIs   Billions  API  Calls  /  Month  
  • 3. REST  and  SemanOcs   •  More  Shared   SemanOcs   •  More  ConvenOon   v’s  ConfiguraOon   •  More  Flexible   Clients   Key:  Explicit,  Shared,  Re-­‐usable  SemanOcs   (Image:  MarOn  Fowler  /  Richardson  Model)  
  • 4.  But  What  Type  of  SemanOcs   ApplicaOon  SemanOcs  =  Chocolate   REST-­‐1-­‐2-­‐3   HTTP   TCP/IP   Domain   Objects   AcOons   ObligaOons   Rights…  
  • 5. Implicit  v’s  Explicit  ApplicaOon   SemanOcs   Server   Client   API  DefiniOon   Data  Models  /  Ontology   AcOon  DefiniOons   (Mental)  State  
  • 6. Today’s  REST  APIs   Profile   Message:     Object   Encoding   HTTP  Post   Vocabulary   Human     Readable   Docs   •  Implicit  and  Explicit   SemanOcs   •  Some  is  Machine   Readable   •  Message  Bodies  are   limited   •  HTTP  Verbs  touch   ApplicaOon  SemanOcs  
  • 8. “Agent”   There  are  Models:  e.g.  FIPA  Agent   CommunicaOon  Model   (Speech Act: Inform :sender :receiver :content “(equal A B)” :language :ontology)   (Protocol:  Info-­‐Exchange…   (Context:      -­‐  Ontologies    -­‐  Protocols    -­‐  Logical  Frameworks    -­‐  Rights,  Roles,  IdenOOes…   h,p://fipa.org/repository/index.html   A  lot  more  is   possible:   •  Ontologies   •  PerformaOves   •  Protocols   •  Content  Logics:   DL,  FOL,  Temporal,   Constraint   •  Mental  Models   •  P2P  v’s  Client/ Server    
  • 9. Full  Stack  ApplicaOon  SemanOcs   Level   Example   Context   Ontology,   IdenOty,     Protocol   Request   Protocol   Actude   Request,   Agree,  Cancel,   Reject,  Inform,   …   AcOon   “(Donald  eats   apple)”   Objects   “Apple”,   “Person”   A  lot  more  is  possible:   •  Ontologies   •  PerformaOves   •  Protocols   •  Content  Logics:  DL,   FOL,  Temporal,   Constraint  Logic   •  Mental  Models   •  P2P  v’s  Client/Server    
  • 10. Progress  From  Mike’s  Talk…   •  Pass  Messages,  Not  Objects   –  J  …  although  is  REST  pure  message  passing?   •  Share  Vocabularies,  Not  Models   –  Share  (External)  Vocabularies,  Not  (internal)  Models   •  Use  Profiles   –  J  …  add  more  to  them   •  (from  James’)  AcOvity  Streams  Ontology   –  J  …  helps  define  context   •  =>  on  the  right  path  
  • 11. Two  Paths  to  Progress   •  More  Formats,  More  Reasoning     Shared  Explicit  SemanOcs  FTW!   apicommons.org   Experimental  Work…   Reasoning     Clients   •  More  Share  formats    
  • 12. References   •  References:   – h,p://fipa.org/repository/index.html   – h,p://www.swagger.io   – h,p://alps.io     •  Images:   – Dancing  with  Happiness  –  Yarn   – Nestle  –  KitKat  
  • 13. steve@3scale.net   @njyx,  @3scale     We  make  awesome  API  management  tools:   h,p://www.3scale.net/