SlideShare a Scribd company logo
MANAGE AND
CONSUME THE API
By
Achyuta
Laxmi
Overview
 Introduction
 Apply Rate Limiting Policy
 Create SLA Tiers
 Add a Rate Limiting SLA-based Policy
 Create an API Portal
 Request Access for the API
 Conclusion
INTRODUCTION
The Anypoint API Manager is an API policy
management and governance tool that is integrated with
the API Gateway.It utilize the secure connection
between the API Gateway and API Manager to
configure policies that will allow us to manage security,
quality of service, and compliance policies for your APIs.
APPLY RATE LIMITING POLICY
To test policy management, you will add a Rate Limiting Policy to the API.
a. Go to the Mobile Experience API Administration page.
b. Click the Policies tab under the API definitions.
c. Click on Apply for the Rate Limiting Policy.
d. Enter a maximum requests of 3 per Minute as shown and click Apply.
e. You should see the Rate limiting policy now under Applied Policies.
f. Test the API using your browser or using ARC and access your
CloudHub URL
g. Wait for a few seconds (the API Gateway receives policy updates every
5 seconds by default).
h. Test it again by reloading the browser 4 times.
On the 4th invocation you will get a message indicating API Calls
Exceeded. This demonstrates your Rate Limiting policy has been applied.
i. Remove the Rate Limiting Policy after your test by clicking the
Remove button.
CREATE SLA TIERS
In the API Manager access can be based on SLA tiers set
by the API owner. However, this is optional. As we
demonstrated in the previous step, it is possible to provide
access without any SLA tiers. An API owner can establish
pre-defined SLA tiers that consumers can view and choose
from when they request access to the API. If no SLA tiers
are defined for an API, the application owner can request
access without an SLA tier.
a. Click the SLA Tiers tab on your API Version Details
page
b. Click Add SLA tier
ADD A RATE LIMITING SLA-
BASED POLICY
To enforce SLA tiers, you need to apply a rate-limiting or
throttling policy that is SLA-based. These policies require all
applications that consume your API to register for a specific tier.
Their client credentials will be required for each API call so that
the Anypoint Platform can properly enforce the contracted tier.
a. Click the Policies tab to view the list of available policies for
your organization. Select individual policies to read their
descriptions.
b. Click Apply on the Rate limiting - SLA based policy.
c. Click Apply to accept the default configuration for the Rate
limiting SLA based policy.
d. Expand the policy to see details about the policy. In this case
you see the policy requires Client ID and Client Secret. You
can see these properties are obtained from the
http.query.params.
CREATE AN API PORTAL
Now we are going to create a basic API portal. The portal will enable a
self-service API access registration process where consumers can request
access with an associated service level. A later lab will explore more
advanced API capabilities.
a. Scroll back up to the top of the API configuration page.
b. Click on the No Portal drop down and choose Create new portal. You
will be brought to a page to edit your new portal.
c. This will create a new API portal page. Now you can add the
components desired for your API.
d. Click the Add drop down to see a list of options that you have in your
API Portal for managing content. At this point, we will not be creating
anything. This is just to satisfy your curiosity about what can be
added.
e. Click on the ‘A’ to add text to the page
f. Add the following text to the page.
g. The Mobile Experience API provides API resources for Mythical
Corporation's Mobile Commerce application.
h. Click Save.
REQUEST ACCESS FOR THE API
You now have a portal page for the API that explains what it does and will
allow Developers to register to use it.
The live portal view will allow application owners to request a client_id to
access this or any other APIs published here.
In the top right corner of the portal, select Request API Access.
Click on New application.
Complete the new application dialog as shown above.
When finished, click Add.
Since we have tiers associated with our API we also need to select a tier.
Choose the Trial tier.
Click on the Request API Access button.
By default, all API requests will be approved for the Trial SLA tier. You’ll
see your Client ID and Client secret.
Record these values as you will use them in the next step to invoke the
API.
Go to your email
You should see the above registration email indicating you have been
auto-approved.
CONCLUSION
We saw the capabilities around managing APIs and applying
policies to enforce security and governance around your API
giving you better control. We easily applied rate limiting
policies and added SLA tiers giving you the ability to scale
with easier management and operations. We created a basic
API portal for providing easy access to your APIs and we
tested how to use consumer credentials to access your APIs
that were provisioned based on SLAs.
THANK YOU

More Related Content

What's hot

Mulesoft Salesforce Connector - OAuth 2.0 JWT Bearer
Mulesoft Salesforce Connector -  OAuth 2.0 JWT BearerMulesoft Salesforce Connector -  OAuth 2.0 JWT Bearer
Mulesoft Salesforce Connector - OAuth 2.0 JWT Bearer
Vince Soliza
 
Query Operation in Microsoft SharePoint using Mule ESB
Query Operation in Microsoft SharePoint using Mule ESBQuery Operation in Microsoft SharePoint using Mule ESB
Query Operation in Microsoft SharePoint using Mule ESB
Sanjeet Pandey
 
Salesforce Integration using Mule ESB
Salesforce Integration using Mule ESBSalesforce Integration using Mule ESB
Salesforce Integration using Mule ESB
Sreekanth Kondapalli
 
Anypoint b2 b
Anypoint b2 bAnypoint b2 b
Anypoint b2 b
Achyuta Lakshmi
 
Integrate facebook using mule esb
Integrate facebook using mule esbIntegrate facebook using mule esb
Integrate facebook using mule esb
Sanjeet Pandey
 
Mule add contacts into salesforce
Mule add contacts into salesforceMule add contacts into salesforce
Mule add contacts into salesforce
D.Rajesh Kumar
 
Integrate with linked in
Integrate with linked inIntegrate with linked in
Integrate with linked in
Son Nguyen
 
Mulesoft intergrate for android app
Mulesoft intergrate for android appMulesoft intergrate for android app
Mulesoft intergrate for android app
Son Nguyen
 
Mule Salesforce Connector
Mule Salesforce ConnectorMule Salesforce Connector
Mule Salesforce Connector
Ankush Sharma
 
Mule esb stripe
Mule esb stripeMule esb stripe
Mule esb stripe
D.Rajesh Kumar
 
Anypoint platform for API's glossary
Anypoint platform for API's glossaryAnypoint platform for API's glossary
Anypoint platform for API's glossary
Achyuta Lakshmi
 
Mule roles
Mule rolesMule roles
Mule roles
Son Nguyen
 
Anypoint platform highlights
Anypoint platform highlightsAnypoint platform highlights
Anypoint platform highlights
himajareddys
 
Mule cloud hub console overview
Mule   cloud hub console overviewMule   cloud hub console overview
Mule cloud hub console overview
charan teja R
 
Integration with sales force
Integration with sales forceIntegration with sales force
Integration with sales force
Son Nguyen
 
Integration with Microsoft SharePoint using Mule ESB
Integration with Microsoft SharePoint using Mule ESBIntegration with Microsoft SharePoint using Mule ESB
Integration with Microsoft SharePoint using Mule ESB
Sanjeet Pandey
 

What's hot (16)

Mulesoft Salesforce Connector - OAuth 2.0 JWT Bearer
Mulesoft Salesforce Connector -  OAuth 2.0 JWT BearerMulesoft Salesforce Connector -  OAuth 2.0 JWT Bearer
Mulesoft Salesforce Connector - OAuth 2.0 JWT Bearer
 
Query Operation in Microsoft SharePoint using Mule ESB
Query Operation in Microsoft SharePoint using Mule ESBQuery Operation in Microsoft SharePoint using Mule ESB
Query Operation in Microsoft SharePoint using Mule ESB
 
Salesforce Integration using Mule ESB
Salesforce Integration using Mule ESBSalesforce Integration using Mule ESB
Salesforce Integration using Mule ESB
 
Anypoint b2 b
Anypoint b2 bAnypoint b2 b
Anypoint b2 b
 
Integrate facebook using mule esb
Integrate facebook using mule esbIntegrate facebook using mule esb
Integrate facebook using mule esb
 
Mule add contacts into salesforce
Mule add contacts into salesforceMule add contacts into salesforce
Mule add contacts into salesforce
 
Integrate with linked in
Integrate with linked inIntegrate with linked in
Integrate with linked in
 
Mulesoft intergrate for android app
Mulesoft intergrate for android appMulesoft intergrate for android app
Mulesoft intergrate for android app
 
Mule Salesforce Connector
Mule Salesforce ConnectorMule Salesforce Connector
Mule Salesforce Connector
 
Mule esb stripe
Mule esb stripeMule esb stripe
Mule esb stripe
 
Anypoint platform for API's glossary
Anypoint platform for API's glossaryAnypoint platform for API's glossary
Anypoint platform for API's glossary
 
Mule roles
Mule rolesMule roles
Mule roles
 
Anypoint platform highlights
Anypoint platform highlightsAnypoint platform highlights
Anypoint platform highlights
 
Mule cloud hub console overview
Mule   cloud hub console overviewMule   cloud hub console overview
Mule cloud hub console overview
 
Integration with sales force
Integration with sales forceIntegration with sales force
Integration with sales force
 
Integration with Microsoft SharePoint using Mule ESB
Integration with Microsoft SharePoint using Mule ESBIntegration with Microsoft SharePoint using Mule ESB
Integration with Microsoft SharePoint using Mule ESB
 

Viewers also liked

Content based routing tutorial in mule
Content based routing tutorial in muleContent based routing tutorial in mule
Content based routing tutorial in mule
Sindhu VL
 
Sap
SapSap
Mulesoft cloudhub
Mulesoft cloudhubMulesoft cloudhub
Mulesoft cloudhub
keshav Naidu
 
Mule Choice component
Mule Choice component Mule Choice component
Mule Choice component
AbdulImrankhan7
 
Error handling in mule
Error handling in muleError handling in mule
Error handling in mule
Sindhu VL
 
Mule esb anypoint studio Tour
Mule esb anypoint studio TourMule esb anypoint studio Tour
Mule esb anypoint studio Tour
veena naresh
 
Github plugin setup in anypoint studio
Github plugin setup in anypoint studio Github plugin setup in anypoint studio
Github plugin setup in anypoint studio
AbdulImrankhan7
 
Dataweavewithflowreflookup
DataweavewithflowreflookupDataweavewithflowreflookup
Dataweavewithflowreflookup
himajareddys
 
Using maven with mule
Using maven with muleUsing maven with mule
Using maven with mule
Sindhu VL
 
Mule JMS transport
Mule JMS transportMule JMS transport
Mule JMS transport
Ankush Sharma
 
Mule addcontactsintosalesforce
Mule addcontactsintosalesforceMule addcontactsintosalesforce
Mule addcontactsintosalesforce
himajareddys
 
Web service vm in mule
Web service vm in muleWeb service vm in mule
Web service vm in mule
Hasan Syed
 
Simple Java component in Mule
Simple Java component in MuleSimple Java component in Mule
Simple Java component in Mule
Christian Hipolito
 
Mule messages and transformers
Mule messages and transformersMule messages and transformers
Mule messages and transformers
Naresh Naidu
 
Mule expression language
Mule expression languageMule expression language
Mule expression language
krishashi
 
Choice router mule
Choice router   muleChoice router   mule
Choice router mule
Sindhu VL
 
Mule esb parts
Mule esb partsMule esb parts
Mule esb parts
Sindhu VL
 
Raml api designer
Raml   api designerRaml   api designer
Raml api designer
D.Rajesh Kumar
 
Cloudhub Mulesoft
Cloudhub MulesoftCloudhub Mulesoft
Cloudhub Mulesoft
Guilherme Baccas
 
Configuration patterns in mule
Configuration patterns in muleConfiguration patterns in mule
Configuration patterns in mule
Sindhu VL
 

Viewers also liked (20)

Content based routing tutorial in mule
Content based routing tutorial in muleContent based routing tutorial in mule
Content based routing tutorial in mule
 
Sap
SapSap
Sap
 
Mulesoft cloudhub
Mulesoft cloudhubMulesoft cloudhub
Mulesoft cloudhub
 
Mule Choice component
Mule Choice component Mule Choice component
Mule Choice component
 
Error handling in mule
Error handling in muleError handling in mule
Error handling in mule
 
Mule esb anypoint studio Tour
Mule esb anypoint studio TourMule esb anypoint studio Tour
Mule esb anypoint studio Tour
 
Github plugin setup in anypoint studio
Github plugin setup in anypoint studio Github plugin setup in anypoint studio
Github plugin setup in anypoint studio
 
Dataweavewithflowreflookup
DataweavewithflowreflookupDataweavewithflowreflookup
Dataweavewithflowreflookup
 
Using maven with mule
Using maven with muleUsing maven with mule
Using maven with mule
 
Mule JMS transport
Mule JMS transportMule JMS transport
Mule JMS transport
 
Mule addcontactsintosalesforce
Mule addcontactsintosalesforceMule addcontactsintosalesforce
Mule addcontactsintosalesforce
 
Web service vm in mule
Web service vm in muleWeb service vm in mule
Web service vm in mule
 
Simple Java component in Mule
Simple Java component in MuleSimple Java component in Mule
Simple Java component in Mule
 
Mule messages and transformers
Mule messages and transformersMule messages and transformers
Mule messages and transformers
 
Mule expression language
Mule expression languageMule expression language
Mule expression language
 
Choice router mule
Choice router   muleChoice router   mule
Choice router mule
 
Mule esb parts
Mule esb partsMule esb parts
Mule esb parts
 
Raml api designer
Raml   api designerRaml   api designer
Raml api designer
 
Cloudhub Mulesoft
Cloudhub MulesoftCloudhub Mulesoft
Cloudhub Mulesoft
 
Configuration patterns in mule
Configuration patterns in muleConfiguration patterns in mule
Configuration patterns in mule
 

Similar to Manage and consume the api

MuleSoft_Meetup__Official_August-2022.pptx
MuleSoft_Meetup__Official_August-2022.pptxMuleSoft_Meetup__Official_August-2022.pptx
MuleSoft_Meetup__Official_August-2022.pptx
Supriya Pawar
 
Connection flows
Connection flowsConnection flows
Connection flows
API2Cart
 
Integrating Third-Party APIs with WordPress Tips and Pitfalls
Integrating Third-Party APIs with WordPress Tips and PitfallsIntegrating Third-Party APIs with WordPress Tips and Pitfalls
Integrating Third-Party APIs with WordPress Tips and Pitfalls
Believ-In Technologies
 
A Practical Guide to Automating End-to-End API Testing
A Practical Guide to Automating End-to-End API TestingA Practical Guide to Automating End-to-End API Testing
A Practical Guide to Automating End-to-End API Testing
pCloudy
 
apidays LIVE JAKARTA - The modern digital with API Economy Ecosystems by Hari...
apidays LIVE JAKARTA - The modern digital with API Economy Ecosystems by Hari...apidays LIVE JAKARTA - The modern digital with API Economy Ecosystems by Hari...
apidays LIVE JAKARTA - The modern digital with API Economy Ecosystems by Hari...
apidays
 
Shopify App Developments RoadMap2024.pptx
Shopify App Developments RoadMap2024.pptxShopify App Developments RoadMap2024.pptx
Shopify App Developments RoadMap2024.pptx
Shahram Foroozan
 
Manage your ap is securely and easily ibm apim 4.0
Manage your ap is securely and easily ibm apim 4.0Manage your ap is securely and easily ibm apim 4.0
Manage your ap is securely and easily ibm apim 4.0
sflynn073
 
Api management introduction and product overview v1.0 2014.08.28
Api management introduction and product overview v1.0 2014.08.28Api management introduction and product overview v1.0 2014.08.28
Api management introduction and product overview v1.0 2014.08.28
floridawusergroup
 
Introduction to API
Introduction to APIIntroduction to API
Introduction to API
Amazon Associates UK
 
Your Journey with AWS as an APN partner and APN Resources to Help You
Your Journey with AWS as an APN partner and APN Resources to Help YouYour Journey with AWS as an APN partner and APN Resources to Help You
Your Journey with AWS as an APN partner and APN Resources to Help You
Amazon Web Services
 
What is API Testing_ .pdf
What is API Testing_ .pdfWhat is API Testing_ .pdf
What is API Testing_ .pdf
Domain News Tech
 
#APIOps- Agile API Development powered by API Connect
#APIOps- Agile API Development powered by API Connect#APIOps- Agile API Development powered by API Connect
#APIOps- Agile API Development powered by API Connect
pramodvallanur
 
Deploy Alexa for Business in Your Organization & Build Your First Private Ski...
Deploy Alexa for Business in Your Organization & Build Your First Private Ski...Deploy Alexa for Business in Your Organization & Build Your First Private Ski...
Deploy Alexa for Business in Your Organization & Build Your First Private Ski...
Amazon Web Services
 
How to Integrate Google Adwords API in Laravel App.pdf
How to Integrate Google Adwords API in Laravel App.pdfHow to Integrate Google Adwords API in Laravel App.pdf
How to Integrate Google Adwords API in Laravel App.pdf
Katy Slemon
 
Do you know How to Effectively Test APIs.pdf
Do you know How to Effectively Test APIs.pdfDo you know How to Effectively Test APIs.pdf
Do you know How to Effectively Test APIs.pdf
AmeliaJonas2
 
Accelerating Software Product Development with API Testing
Accelerating Software Product Development with API TestingAccelerating Software Product Development with API Testing
Accelerating Software Product Development with API Testing
Mindfire LLC
 
Nader Dabit - Connecting Mobile & Web Applications to AWS AppSync.pdf
Nader Dabit -  Connecting Mobile & Web Applications to AWS AppSync.pdfNader Dabit -  Connecting Mobile & Web Applications to AWS AppSync.pdf
Nader Dabit - Connecting Mobile & Web Applications to AWS AppSync.pdf
Amazon Web Services
 
How to Integrate Google Adwords API in Laravel App.pdf
How to Integrate Google Adwords API in Laravel App.pdfHow to Integrate Google Adwords API in Laravel App.pdf
How to Integrate Google Adwords API in Laravel App.pdf
Katy Slemon
 
Gravitee API Management - Ahmet AYDIN
 Gravitee API Management  -  Ahmet AYDIN Gravitee API Management  -  Ahmet AYDIN
Gravitee API Management - Ahmet AYDIN
kloia
 
apidays LIVE Hong Kong 2021 - Headless API Management by Snehal Chakraborty, ...
apidays LIVE Hong Kong 2021 - Headless API Management by Snehal Chakraborty, ...apidays LIVE Hong Kong 2021 - Headless API Management by Snehal Chakraborty, ...
apidays LIVE Hong Kong 2021 - Headless API Management by Snehal Chakraborty, ...
apidays
 

Similar to Manage and consume the api (20)

MuleSoft_Meetup__Official_August-2022.pptx
MuleSoft_Meetup__Official_August-2022.pptxMuleSoft_Meetup__Official_August-2022.pptx
MuleSoft_Meetup__Official_August-2022.pptx
 
Connection flows
Connection flowsConnection flows
Connection flows
 
Integrating Third-Party APIs with WordPress Tips and Pitfalls
Integrating Third-Party APIs with WordPress Tips and PitfallsIntegrating Third-Party APIs with WordPress Tips and Pitfalls
Integrating Third-Party APIs with WordPress Tips and Pitfalls
 
A Practical Guide to Automating End-to-End API Testing
A Practical Guide to Automating End-to-End API TestingA Practical Guide to Automating End-to-End API Testing
A Practical Guide to Automating End-to-End API Testing
 
apidays LIVE JAKARTA - The modern digital with API Economy Ecosystems by Hari...
apidays LIVE JAKARTA - The modern digital with API Economy Ecosystems by Hari...apidays LIVE JAKARTA - The modern digital with API Economy Ecosystems by Hari...
apidays LIVE JAKARTA - The modern digital with API Economy Ecosystems by Hari...
 
Shopify App Developments RoadMap2024.pptx
Shopify App Developments RoadMap2024.pptxShopify App Developments RoadMap2024.pptx
Shopify App Developments RoadMap2024.pptx
 
Manage your ap is securely and easily ibm apim 4.0
Manage your ap is securely and easily ibm apim 4.0Manage your ap is securely and easily ibm apim 4.0
Manage your ap is securely and easily ibm apim 4.0
 
Api management introduction and product overview v1.0 2014.08.28
Api management introduction and product overview v1.0 2014.08.28Api management introduction and product overview v1.0 2014.08.28
Api management introduction and product overview v1.0 2014.08.28
 
Introduction to API
Introduction to APIIntroduction to API
Introduction to API
 
Your Journey with AWS as an APN partner and APN Resources to Help You
Your Journey with AWS as an APN partner and APN Resources to Help YouYour Journey with AWS as an APN partner and APN Resources to Help You
Your Journey with AWS as an APN partner and APN Resources to Help You
 
What is API Testing_ .pdf
What is API Testing_ .pdfWhat is API Testing_ .pdf
What is API Testing_ .pdf
 
#APIOps- Agile API Development powered by API Connect
#APIOps- Agile API Development powered by API Connect#APIOps- Agile API Development powered by API Connect
#APIOps- Agile API Development powered by API Connect
 
Deploy Alexa for Business in Your Organization & Build Your First Private Ski...
Deploy Alexa for Business in Your Organization & Build Your First Private Ski...Deploy Alexa for Business in Your Organization & Build Your First Private Ski...
Deploy Alexa for Business in Your Organization & Build Your First Private Ski...
 
How to Integrate Google Adwords API in Laravel App.pdf
How to Integrate Google Adwords API in Laravel App.pdfHow to Integrate Google Adwords API in Laravel App.pdf
How to Integrate Google Adwords API in Laravel App.pdf
 
Do you know How to Effectively Test APIs.pdf
Do you know How to Effectively Test APIs.pdfDo you know How to Effectively Test APIs.pdf
Do you know How to Effectively Test APIs.pdf
 
Accelerating Software Product Development with API Testing
Accelerating Software Product Development with API TestingAccelerating Software Product Development with API Testing
Accelerating Software Product Development with API Testing
 
Nader Dabit - Connecting Mobile & Web Applications to AWS AppSync.pdf
Nader Dabit -  Connecting Mobile & Web Applications to AWS AppSync.pdfNader Dabit -  Connecting Mobile & Web Applications to AWS AppSync.pdf
Nader Dabit - Connecting Mobile & Web Applications to AWS AppSync.pdf
 
How to Integrate Google Adwords API in Laravel App.pdf
How to Integrate Google Adwords API in Laravel App.pdfHow to Integrate Google Adwords API in Laravel App.pdf
How to Integrate Google Adwords API in Laravel App.pdf
 
Gravitee API Management - Ahmet AYDIN
 Gravitee API Management  -  Ahmet AYDIN Gravitee API Management  -  Ahmet AYDIN
Gravitee API Management - Ahmet AYDIN
 
apidays LIVE Hong Kong 2021 - Headless API Management by Snehal Chakraborty, ...
apidays LIVE Hong Kong 2021 - Headless API Management by Snehal Chakraborty, ...apidays LIVE Hong Kong 2021 - Headless API Management by Snehal Chakraborty, ...
apidays LIVE Hong Kong 2021 - Headless API Management by Snehal Chakraborty, ...
 

Recently uploaded

Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
Max Andersen
 
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
AMB-Review
 
GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
Globus
 
SOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBrokerSOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
XfilesPro
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
Juraj Vysvader
 
Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
NYGGS Automation Suite
 
A Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdfA Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdf
kalichargn70th171
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
Globus
 
Corporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMSCorporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMS
Tendenci - The Open Source AMS (Association Management Software)
 
Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdf
Ortus Solutions, Corp
 
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxTop Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
rickgrimesss22
 
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
informapgpstrackings
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
Google
 
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Globus
 
RISE with SAP and Journey to the Intelligent Enterprise
RISE with SAP and Journey to the Intelligent EnterpriseRISE with SAP and Journey to the Intelligent Enterprise
RISE with SAP and Journey to the Intelligent Enterprise
Srikant77
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
abdulrafaychaudhry
 
How Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptxHow Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptx
wottaspaceseo
 
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
Tier1 app
 

Recently uploaded (20)

Quarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden ExtensionsQuarkus Hidden and Forbidden Extensions
Quarkus Hidden and Forbidden Extensions
 
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
 
GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
 
SOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBrokerSOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBroker
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
 
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
In 2015, I used to write extensions for Joomla, WordPress, phpBB3, etc and I ...
 
Enterprise Resource Planning System in Telangana
Enterprise Resource Planning System in TelanganaEnterprise Resource Planning System in Telangana
Enterprise Resource Planning System in Telangana
 
A Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdfA Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdf
 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
 
Corporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMSCorporate Management | Session 3 of 3 | Tendenci AMS
Corporate Management | Session 3 of 3 | Tendenci AMS
 
Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdf
 
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptxTop Features to Include in Your Winzo Clone App for Business Growth (4).pptx
Top Features to Include in Your Winzo Clone App for Business Growth (4).pptx
 
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
 
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing SuiteAI Pilot Review: The World’s First Virtual Assistant Marketing Suite
AI Pilot Review: The World’s First Virtual Assistant Marketing Suite
 
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
 
RISE with SAP and Journey to the Intelligent Enterprise
RISE with SAP and Journey to the Intelligent EnterpriseRISE with SAP and Journey to the Intelligent Enterprise
RISE with SAP and Journey to the Intelligent Enterprise
 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
 
How Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptxHow Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptx
 
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
 

Manage and consume the api

  • 1. MANAGE AND CONSUME THE API By Achyuta Laxmi
  • 2. Overview  Introduction  Apply Rate Limiting Policy  Create SLA Tiers  Add a Rate Limiting SLA-based Policy  Create an API Portal  Request Access for the API  Conclusion
  • 3. INTRODUCTION The Anypoint API Manager is an API policy management and governance tool that is integrated with the API Gateway.It utilize the secure connection between the API Gateway and API Manager to configure policies that will allow us to manage security, quality of service, and compliance policies for your APIs.
  • 4.
  • 5. APPLY RATE LIMITING POLICY To test policy management, you will add a Rate Limiting Policy to the API. a. Go to the Mobile Experience API Administration page. b. Click the Policies tab under the API definitions. c. Click on Apply for the Rate Limiting Policy. d. Enter a maximum requests of 3 per Minute as shown and click Apply. e. You should see the Rate limiting policy now under Applied Policies. f. Test the API using your browser or using ARC and access your CloudHub URL g. Wait for a few seconds (the API Gateway receives policy updates every 5 seconds by default). h. Test it again by reloading the browser 4 times. On the 4th invocation you will get a message indicating API Calls Exceeded. This demonstrates your Rate Limiting policy has been applied. i. Remove the Rate Limiting Policy after your test by clicking the Remove button.
  • 6. CREATE SLA TIERS In the API Manager access can be based on SLA tiers set by the API owner. However, this is optional. As we demonstrated in the previous step, it is possible to provide access without any SLA tiers. An API owner can establish pre-defined SLA tiers that consumers can view and choose from when they request access to the API. If no SLA tiers are defined for an API, the application owner can request access without an SLA tier. a. Click the SLA Tiers tab on your API Version Details page b. Click Add SLA tier
  • 7. ADD A RATE LIMITING SLA- BASED POLICY To enforce SLA tiers, you need to apply a rate-limiting or throttling policy that is SLA-based. These policies require all applications that consume your API to register for a specific tier. Their client credentials will be required for each API call so that the Anypoint Platform can properly enforce the contracted tier. a. Click the Policies tab to view the list of available policies for your organization. Select individual policies to read their descriptions. b. Click Apply on the Rate limiting - SLA based policy. c. Click Apply to accept the default configuration for the Rate limiting SLA based policy. d. Expand the policy to see details about the policy. In this case you see the policy requires Client ID and Client Secret. You can see these properties are obtained from the http.query.params.
  • 8. CREATE AN API PORTAL Now we are going to create a basic API portal. The portal will enable a self-service API access registration process where consumers can request access with an associated service level. A later lab will explore more advanced API capabilities. a. Scroll back up to the top of the API configuration page. b. Click on the No Portal drop down and choose Create new portal. You will be brought to a page to edit your new portal. c. This will create a new API portal page. Now you can add the components desired for your API. d. Click the Add drop down to see a list of options that you have in your API Portal for managing content. At this point, we will not be creating anything. This is just to satisfy your curiosity about what can be added. e. Click on the ‘A’ to add text to the page f. Add the following text to the page. g. The Mobile Experience API provides API resources for Mythical Corporation's Mobile Commerce application. h. Click Save.
  • 9. REQUEST ACCESS FOR THE API You now have a portal page for the API that explains what it does and will allow Developers to register to use it. The live portal view will allow application owners to request a client_id to access this or any other APIs published here. In the top right corner of the portal, select Request API Access. Click on New application. Complete the new application dialog as shown above. When finished, click Add. Since we have tiers associated with our API we also need to select a tier. Choose the Trial tier. Click on the Request API Access button. By default, all API requests will be approved for the Trial SLA tier. You’ll see your Client ID and Client secret. Record these values as you will use them in the next step to invoke the API. Go to your email You should see the above registration email indicating you have been auto-approved.
  • 10. CONCLUSION We saw the capabilities around managing APIs and applying policies to enforce security and governance around your API giving you better control. We easily applied rate limiting policies and added SLA tiers giving you the ability to scale with easier management and operations. We created a basic API portal for providing easy access to your APIs and we tested how to use consumer credentials to access your APIs that were provisioned based on SLAs.