Session 7 - API Management
Session 7 - API Management
Session 7
Section 1
Overview of API Management
What is API Management ?
Most common definition
API management is the process of publishing, documenting and supervising
Application Programming Interfaces in a secure & scalable environment.
But under the cover there are multiple activities that are covered under API management.
APIs itself are Products and like any other Product Lifecycle management, API
also needs to be managed.
API Management Activities
Traffic
API Lifecycle Security Management
Productivity Analytics
Productize Monetize
Common API management platforms
API Management Platforms
API Management Model
1. Agent Based
2. Proxy Based
Agent Based Model
Enterprise Network
Policies
Security
Gateway
Client Application
Proxy Based Model
Enterprise Network
Policies
Client Application
Dev
Portal
App Developer
API Gateway vs API Proxy
An API proxy acts as a gateway between
your developers and backend services.
Developer
Portal
API Management Platform Support
● Design & Development
○ Specification based tooling
○ Utilities & Tools
● Policy based implementation
○ XML
○ JSON
● Support for extensions
○ Javascript
○ Java
○ Groovy
Section 3
API Developer Portal
Developer Portal
API Documentation
Self service
Support
API Documentation
● Manage in Swagger
Try it Now
Provide SDK
Demo : https://editor.swagger.io/
Sample API developer portal
API Proxies can maintain a series of Caches to store Responses of frequently used Requests.
On HTTP, GET requests are cached by default, POST request are not.
2 main HTTP response headers that we can use to control caching behavior :
● Expires :
○ Expires: Fri, 20 May 2016 19:20:49 IST
○ Beyond this date the API responses are considered stale ; Needs refresh
● Cache-Control :
○ Cache-Control: max-age=3600
○ How long the response is cacheable
API Caching >> Benefits
Optimizing the network using caching improves the overall quality-of-service in the
following ways:
● Reduce bandwidth
● Reduce latency
● Reduce load on servers
● Hide network failures
Section 6
API Analytics
Why API Analytics ?
4 major purpose Analytics of API is needed
● Service improvement
● Catch Errors
● Understand threats/attacks
● Business support
2 perspectives of Analytics
VISIBILITY USAGE
TRANSACTION
Analytics >> Metrics
Usage Transactions
Product is a system that is offered in a market that might solve certain need or
want of the customer.
Business
Research Create Marketing Sales Service
Case
DIRECT
S7 API Management