SlideShare a Scribd company logo
1 of 19
WT3 Designing APIS
Agenda
In this walkthrough, you create an API definition with RAML using API designer.
● Define resources and nested resources.
● Define get and post methods.
● Specify query parameters.
● Interact with an API using the API console.
WT 3-1: Use API designer to define an API with RAML
2
3
4
1
american-flights-api.raml
WT 3-2: Use the mocking service to test an API
1
2
Turn on mocking
service
Anypoint platform automatically
create a URL for client app to test
WT 3-2: Use the mocking service to test an API
1
2
3
4
Click GET method
for test
Response body contains
empty json because you do
not define the response
WT 3-3: Add request and response details
1
3
5
6
Add dependency
which is already in
Exchange
Mulesoft create the
data type for the
training
You have two
dependencies
Mulesoft create the
sample data for the
training
2
4
WT 3-3: Add request and response details
1
2
3
Imported data type
Define AmericanFlight type
AmericanFlightDataType.raml
american-flights-api.raml
WT 3-3: Add request and response details
1
2
3
Copy path to
AmericanFlightsExa
mple.raml
Paste the link to
AmericanFlightsExample.raml
Define response
body using imported
data type
american-flights-api.raml
american-flights-api.raml
WT 3-3: Add request and response details
1
2
Response body contains
AmericanFlightsExample.raml
WT 3-3: Add request and response details
1
2
4
Create
AmericamFlightExa
mple.raml with text
editor
american-flights-api.raml
3
WT 3-3: Add request and response details
1
2
3
You can see
response body as
same as the raml
file
Return response
body by mocking
service
american-flights-api.raml
WT 3-3: Add request and response details
1
2
3
4
5
Create example for
post method
Copy
AmericanFlightExam
ple.raml
Delete ID row
because of post
example
american-flights-api.raml
WT 3-3: Add request and response details
3
1
2
AmericanFLightNoID
Example.raml is
shown
Response body
WT 3-4: Add an API to Anypoint Exchange
Disable mocking
service
To share API spec
3
1
2
WT 3-4: Add an API to Anypoint Exchange
1
2
Version is
automatically added
Go to Exchange
american-flights-api.raml
4
3
API Spec published
by you
WT 3-4: Add an API to Anypoint Exchange
WT 3-4: Add an API to Anypoint Exchange
3
4
5
Add delete and put
methods
2
1
Version is 1.0.1
WT 3-4: Add an API to Anypoint Exchange
1 2
WT 3-5: Share an API

More Related Content

What's hot

The anypoint platform for API's
The anypoint platform for API'sThe anypoint platform for API's
The anypoint platform for API'sAchyuta Lakshmi
 
Github plugin setup in anypointstudio
Github plugin setup in anypointstudioGithub plugin setup in anypointstudio
Github plugin setup in anypointstudioRajkattamuri
 
Making design decisions in React-based ClojureScript web applications
Making design decisions in React-based ClojureScript web applicationsMaking design decisions in React-based ClojureScript web applications
Making design decisions in React-based ClojureScript web applicationsFalko Riemenschneider
 
How to submit sitemap by Ravi
How to submit sitemap by RaviHow to submit sitemap by Ravi
How to submit sitemap by RaviNeha Nayak
 
Mockoon - Create mock APIs in seconds
Mockoon - Create mock APIs in secondsMockoon - Create mock APIs in seconds
Mockoon - Create mock APIs in secondsMockoon
 
Konstantinos Sidiropoulos - Testing microservices a real example
Konstantinos Sidiropoulos - Testing microservices a real exampleKonstantinos Sidiropoulos - Testing microservices a real example
Konstantinos Sidiropoulos - Testing microservices a real examplePetrosPlakogiannis
 
Introduction to API Design: REST and Java
Introduction to API Design: REST and JavaIntroduction to API Design: REST and Java
Introduction to API Design: REST and JavaPhilip Johnson
 
Go ci implementation at caplin systems1
Go ci implementation at caplin systems1Go ci implementation at caplin systems1
Go ci implementation at caplin systems1jamesbetteley
 
Real-time Automation Result in Slack Channel
Real-time Automation Result in Slack ChannelReal-time Automation Result in Slack Channel
Real-time Automation Result in Slack ChannelRapidValue
 
It meet up 1 0 лебедева, лоханов
It meet up 1 0 лебедева, лохановIt meet up 1 0 лебедева, лоханов
It meet up 1 0 лебедева, лохановVictoria Astapenko
 
Dependency track v3.3 - What's New
Dependency track v3.3 - What's NewDependency track v3.3 - What's New
Dependency track v3.3 - What's NewSteve Springett
 
Sane Plugin Updates - WordCamp New York City, 2014
Sane Plugin Updates - WordCamp New York City, 2014Sane Plugin Updates - WordCamp New York City, 2014
Sane Plugin Updates - WordCamp New York City, 2014Pippin Williamson
 
Anypoint runtime manager v1
Anypoint runtime manager v1Anypoint runtime manager v1
Anypoint runtime manager v1Son Nguyen
 
Announcing asp.net core updates in .net 5 preview 8
Announcing asp.net core updates in .net 5 preview 8Announcing asp.net core updates in .net 5 preview 8
Announcing asp.net core updates in .net 5 preview 8Concetto Labs
 

What's hot (20)

The anypoint platform for API's
The anypoint platform for API'sThe anypoint platform for API's
The anypoint platform for API's
 
Github plugin setup in anypointstudio
Github plugin setup in anypointstudioGithub plugin setup in anypointstudio
Github plugin setup in anypointstudio
 
Making design decisions in React-based ClojureScript web applications
Making design decisions in React-based ClojureScript web applicationsMaking design decisions in React-based ClojureScript web applications
Making design decisions in React-based ClojureScript web applications
 
Raml api designer
Raml   api designerRaml   api designer
Raml api designer
 
Anypoint lessons
Anypoint lessonsAnypoint lessons
Anypoint lessons
 
How to submit sitemap by Ravi
How to submit sitemap by RaviHow to submit sitemap by Ravi
How to submit sitemap by Ravi
 
Mockoon - Create mock APIs in seconds
Mockoon - Create mock APIs in secondsMockoon - Create mock APIs in seconds
Mockoon - Create mock APIs in seconds
 
Api Testing
Api TestingApi Testing
Api Testing
 
Konstantinos Sidiropoulos - Testing microservices a real example
Konstantinos Sidiropoulos - Testing microservices a real exampleKonstantinos Sidiropoulos - Testing microservices a real example
Konstantinos Sidiropoulos - Testing microservices a real example
 
Introduction to API Design: REST and Java
Introduction to API Design: REST and JavaIntroduction to API Design: REST and Java
Introduction to API Design: REST and Java
 
Go ci implementation at caplin systems1
Go ci implementation at caplin systems1Go ci implementation at caplin systems1
Go ci implementation at caplin systems1
 
Real-time Automation Result in Slack Channel
Real-time Automation Result in Slack ChannelReal-time Automation Result in Slack Channel
Real-time Automation Result in Slack Channel
 
It meet up 1 0 лебедева, лоханов
It meet up 1 0 лебедева, лохановIt meet up 1 0 лебедева, лоханов
It meet up 1 0 лебедева, лоханов
 
Dependency track v3.3 - What's New
Dependency track v3.3 - What's NewDependency track v3.3 - What's New
Dependency track v3.3 - What's New
 
Sane Plugin Updates - WordCamp New York City, 2014
Sane Plugin Updates - WordCamp New York City, 2014Sane Plugin Updates - WordCamp New York City, 2014
Sane Plugin Updates - WordCamp New York City, 2014
 
Testing microservices
Testing microservicesTesting microservices
Testing microservices
 
Anypoint runtime manager v1
Anypoint runtime manager v1Anypoint runtime manager v1
Anypoint runtime manager v1
 
Mule with facebook
Mule with facebookMule with facebook
Mule with facebook
 
Ftp operation
Ftp operationFtp operation
Ftp operation
 
Announcing asp.net core updates in .net 5 preview 8
Announcing asp.net core updates in .net 5 preview 8Announcing asp.net core updates in .net 5 preview 8
Announcing asp.net core updates in .net 5 preview 8
 

Similar to Wt3 designing apis

The ultimate api checklist by Blendr.io
The ultimate api checklist by Blendr.ioThe ultimate api checklist by Blendr.io
The ultimate api checklist by Blendr.ioBlendr.io
 
API_Testing_with_Postman
API_Testing_with_PostmanAPI_Testing_with_Postman
API_Testing_with_PostmanMithilesh Singh
 
Web Service Platform Repository
Web Service Platform RepositoryWeb Service Platform Repository
Web Service Platform Repositoryapidd
 
How_to_create_modular_microservice_test_projects.pdf
How_to_create_modular_microservice_test_projects.pdfHow_to_create_modular_microservice_test_projects.pdf
How_to_create_modular_microservice_test_projects.pdfskimorod
 
Kimono sharing
Kimono sharingKimono sharing
Kimono sharing承翰 蔡
 
WordCamp Raleigh 2016 - WP API, What is it good for? Absolutely Everything!
WordCamp Raleigh 2016 - WP API, What is it good for? Absolutely Everything!WordCamp Raleigh 2016 - WP API, What is it good for? Absolutely Everything!
WordCamp Raleigh 2016 - WP API, What is it good for? Absolutely Everything!Evan Mullins
 
Kochi Mulesoft Meetup #6
Kochi Mulesoft Meetup #6Kochi Mulesoft Meetup #6
Kochi Mulesoft Meetup #6sumitahuja94
 
MuleSoft Surat Virtual Meetup#21 - MuleSoft API and RAML Design Best Practice...
MuleSoft Surat Virtual Meetup#21 - MuleSoft API and RAML Design Best Practice...MuleSoft Surat Virtual Meetup#21 - MuleSoft API and RAML Design Best Practice...
MuleSoft Surat Virtual Meetup#21 - MuleSoft API and RAML Design Best Practice...Jitendra Bafna
 
Open sap ui51_week_2_unit_3_acdt_exercises
Open sap ui51_week_2_unit_3_acdt_exercisesOpen sap ui51_week_2_unit_3_acdt_exercises
Open sap ui51_week_2_unit_3_acdt_exercisesvikram sukumar
 
Postman 101 for Students
Postman 101 for StudentsPostman 101 for Students
Postman 101 for StudentsPostman
 
Documenting REST APIs
Documenting REST APIsDocumenting REST APIs
Documenting REST APIsTom Johnson
 
Microsoft AZ-204 Exam Dumps
Microsoft AZ-204 Exam DumpsMicrosoft AZ-204 Exam Dumps
Microsoft AZ-204 Exam DumpsStudy Material
 
(ATS6-PLAT04) Query service
(ATS6-PLAT04) Query service (ATS6-PLAT04) Query service
(ATS6-PLAT04) Query service BIOVIA
 
Adding you API to ApiDD
Adding you API to ApiDDAdding you API to ApiDD
Adding you API to ApiDDapidd
 
Api testing bible using postman
Api testing bible using postmanApi testing bible using postman
Api testing bible using postmanAbhishek Saxena
 
MuleSoft Certified Platform Architect Exam Dumps 2023.pdf
MuleSoft Certified Platform Architect Exam Dumps 2023.pdfMuleSoft Certified Platform Architect Exam Dumps 2023.pdf
MuleSoft Certified Platform Architect Exam Dumps 2023.pdfSkillCertProExams
 
Why your next serverless project should use AWS AppSync
Why your next serverless project should use AWS AppSyncWhy your next serverless project should use AWS AppSync
Why your next serverless project should use AWS AppSyncYan Cui
 

Similar to Wt3 designing apis (20)

The ultimate api checklist by Blendr.io
The ultimate api checklist by Blendr.ioThe ultimate api checklist by Blendr.io
The ultimate api checklist by Blendr.io
 
API_Testing_with_Postman
API_Testing_with_PostmanAPI_Testing_with_Postman
API_Testing_with_Postman
 
flask.pptx
flask.pptxflask.pptx
flask.pptx
 
API Design- Best Practices
API Design-   Best PracticesAPI Design-   Best Practices
API Design- Best Practices
 
Anypoint Data Graphs
Anypoint Data GraphsAnypoint Data Graphs
Anypoint Data Graphs
 
Web Service Platform Repository
Web Service Platform RepositoryWeb Service Platform Repository
Web Service Platform Repository
 
How_to_create_modular_microservice_test_projects.pdf
How_to_create_modular_microservice_test_projects.pdfHow_to_create_modular_microservice_test_projects.pdf
How_to_create_modular_microservice_test_projects.pdf
 
Kimono sharing
Kimono sharingKimono sharing
Kimono sharing
 
WordCamp Raleigh 2016 - WP API, What is it good for? Absolutely Everything!
WordCamp Raleigh 2016 - WP API, What is it good for? Absolutely Everything!WordCamp Raleigh 2016 - WP API, What is it good for? Absolutely Everything!
WordCamp Raleigh 2016 - WP API, What is it good for? Absolutely Everything!
 
Kochi Mulesoft Meetup #6
Kochi Mulesoft Meetup #6Kochi Mulesoft Meetup #6
Kochi Mulesoft Meetup #6
 
MuleSoft Surat Virtual Meetup#21 - MuleSoft API and RAML Design Best Practice...
MuleSoft Surat Virtual Meetup#21 - MuleSoft API and RAML Design Best Practice...MuleSoft Surat Virtual Meetup#21 - MuleSoft API and RAML Design Best Practice...
MuleSoft Surat Virtual Meetup#21 - MuleSoft API and RAML Design Best Practice...
 
Open sap ui51_week_2_unit_3_acdt_exercises
Open sap ui51_week_2_unit_3_acdt_exercisesOpen sap ui51_week_2_unit_3_acdt_exercises
Open sap ui51_week_2_unit_3_acdt_exercises
 
Postman 101 for Students
Postman 101 for StudentsPostman 101 for Students
Postman 101 for Students
 
Documenting REST APIs
Documenting REST APIsDocumenting REST APIs
Documenting REST APIs
 
Microsoft AZ-204 Exam Dumps
Microsoft AZ-204 Exam DumpsMicrosoft AZ-204 Exam Dumps
Microsoft AZ-204 Exam Dumps
 
(ATS6-PLAT04) Query service
(ATS6-PLAT04) Query service (ATS6-PLAT04) Query service
(ATS6-PLAT04) Query service
 
Adding you API to ApiDD
Adding you API to ApiDDAdding you API to ApiDD
Adding you API to ApiDD
 
Api testing bible using postman
Api testing bible using postmanApi testing bible using postman
Api testing bible using postman
 
MuleSoft Certified Platform Architect Exam Dumps 2023.pdf
MuleSoft Certified Platform Architect Exam Dumps 2023.pdfMuleSoft Certified Platform Architect Exam Dumps 2023.pdf
MuleSoft Certified Platform Architect Exam Dumps 2023.pdf
 
Why your next serverless project should use AWS AppSync
Why your next serverless project should use AWS AppSyncWhy your next serverless project should use AWS AppSync
Why your next serverless project should use AWS AppSync
 

More from Akihiro Iwaya

Wt11 writing dataweave transformations
Wt11 writing dataweave transformationsWt11 writing dataweave transformations
Wt11 writing dataweave transformationsAkihiro Iwaya
 
Wt9 multicast an event
Wt9 multicast an eventWt9 multicast an event
Wt9 multicast an eventAkihiro Iwaya
 
Wt7 structuring mule applications
Wt7 structuring mule applicationsWt7 structuring mule applications
Wt7 structuring mule applicationsAkihiro Iwaya
 
Wt6 accessing and modifying mule event
Wt6 accessing and modifying mule eventWt6 accessing and modifying mule event
Wt6 accessing and modifying mule eventAkihiro Iwaya
 
Iot explore demo for cross clouds
Iot explore demo for cross cloudsIot explore demo for cross clouds
Iot explore demo for cross cloudsAkihiro Iwaya
 
Iot explorer デモ (MC, CC, Heroku, Core)
Iot explorer デモ (MC, CC, Heroku, Core)Iot explorer デモ (MC, CC, Heroku, Core)
Iot explorer デモ (MC, CC, Heroku, Core)Akihiro Iwaya
 
Df salesforce dx説明資料
Df salesforce dx説明資料Df salesforce dx説明資料
Df salesforce dx説明資料Akihiro Iwaya
 
IoT explorer タクシー配車デモ
IoT explorer タクシー配車デモIoT explorer タクシー配車デモ
IoT explorer タクシー配車デモAkihiro Iwaya
 
Io t工場機器監視デモ
Io t工場機器監視デモIo t工場機器監視デモ
Io t工場機器監視デモAkihiro Iwaya
 
Salesforce X AWS Machine Learning
Salesforce X AWS Machine LearningSalesforce X AWS Machine Learning
Salesforce X AWS Machine LearningAkihiro Iwaya
 
Soracom X AWS Iot X Salesforce
Soracom X AWS Iot X SalesforceSoracom X AWS Iot X Salesforce
Soracom X AWS Iot X SalesforceAkihiro Iwaya
 
Force.comハンズオン
Force.comハンズオンForce.comハンズオン
Force.comハンズオンAkihiro Iwaya
 
Lightingコンポーネントベーシック開発
Lightingコンポーネントベーシック開発Lightingコンポーネントベーシック開発
Lightingコンポーネントベーシック開発Akihiro Iwaya
 
Lighting componentワークブック(s1コンタクトリストコンポーネント)
Lighting componentワークブック(s1コンタクトリストコンポーネント)Lighting componentワークブック(s1コンタクトリストコンポーネント)
Lighting componentワークブック(s1コンタクトリストコンポーネント)Akihiro Iwaya
 
Lighting componentワークブック(経費精算アプリ)
Lighting componentワークブック(経費精算アプリ)Lighting componentワークブック(経費精算アプリ)
Lighting componentワークブック(経費精算アプリ)Akihiro Iwaya
 
Salesforce x pepper in English
Salesforce x pepper in EnglishSalesforce x pepper in English
Salesforce x pepper in EnglishAkihiro Iwaya
 
Iotデモehealthcare
IotデモehealthcareIotデモehealthcare
IotデモehealthcareAkihiro Iwaya
 
Iotデモweatherstation
IotデモweatherstationIotデモweatherstation
IotデモweatherstationAkihiro Iwaya
 

More from Akihiro Iwaya (20)

Wt11 writing dataweave transformations
Wt11 writing dataweave transformationsWt11 writing dataweave transformations
Wt11 writing dataweave transformations
 
Wt9 multicast an event
Wt9 multicast an eventWt9 multicast an event
Wt9 multicast an event
 
Wt7 structuring mule applications
Wt7 structuring mule applicationsWt7 structuring mule applications
Wt7 structuring mule applications
 
Wt6 accessing and modifying mule event
Wt6 accessing and modifying mule eventWt6 accessing and modifying mule event
Wt6 accessing and modifying mule event
 
Iot explore demo for cross clouds
Iot explore demo for cross cloudsIot explore demo for cross clouds
Iot explore demo for cross clouds
 
Iot explorer デモ (MC, CC, Heroku, Core)
Iot explorer デモ (MC, CC, Heroku, Core)Iot explorer デモ (MC, CC, Heroku, Core)
Iot explorer デモ (MC, CC, Heroku, Core)
 
Df salesforce dx説明資料
Df salesforce dx説明資料Df salesforce dx説明資料
Df salesforce dx説明資料
 
IoT explorer タクシー配車デモ
IoT explorer タクシー配車デモIoT explorer タクシー配車デモ
IoT explorer タクシー配車デモ
 
Io t工場機器監視デモ
Io t工場機器監視デモIo t工場機器監視デモ
Io t工場機器監視デモ
 
Salesforce X AWS Machine Learning
Salesforce X AWS Machine LearningSalesforce X AWS Machine Learning
Salesforce X AWS Machine Learning
 
Visualforceとは
VisualforceとはVisualforceとは
Visualforceとは
 
Soracom X AWS Iot X Salesforce
Soracom X AWS Iot X SalesforceSoracom X AWS Iot X Salesforce
Soracom X AWS Iot X Salesforce
 
Force.comハンズオン
Force.comハンズオンForce.comハンズオン
Force.comハンズオン
 
Lightingコンポーネントベーシック開発
Lightingコンポーネントベーシック開発Lightingコンポーネントベーシック開発
Lightingコンポーネントベーシック開発
 
Lighting componentワークブック(s1コンタクトリストコンポーネント)
Lighting componentワークブック(s1コンタクトリストコンポーネント)Lighting componentワークブック(s1コンタクトリストコンポーネント)
Lighting componentワークブック(s1コンタクトリストコンポーネント)
 
Lighting componentワークブック(経費精算アプリ)
Lighting componentワークブック(経費精算アプリ)Lighting componentワークブック(経費精算アプリ)
Lighting componentワークブック(経費精算アプリ)
 
Salesforce x pepper in English
Salesforce x pepper in EnglishSalesforce x pepper in English
Salesforce x pepper in English
 
Salesforce x pepper
Salesforce x pepperSalesforce x pepper
Salesforce x pepper
 
Iotデモehealthcare
IotデモehealthcareIotデモehealthcare
Iotデモehealthcare
 
Iotデモweatherstation
IotデモweatherstationIotデモweatherstation
Iotデモweatherstation
 

Recently uploaded

Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
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...Drew Madelung
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 

Recently uploaded (20)

Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
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...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 

Wt3 designing apis

  • 2. Agenda In this walkthrough, you create an API definition with RAML using API designer. ● Define resources and nested resources. ● Define get and post methods. ● Specify query parameters. ● Interact with an API using the API console.
  • 3. WT 3-1: Use API designer to define an API with RAML 2 3 4 1 american-flights-api.raml
  • 4. WT 3-2: Use the mocking service to test an API 1 2 Turn on mocking service Anypoint platform automatically create a URL for client app to test
  • 5. WT 3-2: Use the mocking service to test an API 1 2 3 4 Click GET method for test Response body contains empty json because you do not define the response
  • 6. WT 3-3: Add request and response details 1 3 5 6 Add dependency which is already in Exchange Mulesoft create the data type for the training You have two dependencies Mulesoft create the sample data for the training 2 4
  • 7. WT 3-3: Add request and response details 1 2 3 Imported data type Define AmericanFlight type AmericanFlightDataType.raml american-flights-api.raml
  • 8. WT 3-3: Add request and response details 1 2 3 Copy path to AmericanFlightsExa mple.raml Paste the link to AmericanFlightsExample.raml Define response body using imported data type american-flights-api.raml american-flights-api.raml
  • 9. WT 3-3: Add request and response details 1 2 Response body contains AmericanFlightsExample.raml
  • 10. WT 3-3: Add request and response details 1 2 4 Create AmericamFlightExa mple.raml with text editor american-flights-api.raml 3
  • 11. WT 3-3: Add request and response details 1 2 3 You can see response body as same as the raml file Return response body by mocking service american-flights-api.raml
  • 12. WT 3-3: Add request and response details 1 2 3 4 5 Create example for post method Copy AmericanFlightExam ple.raml Delete ID row because of post example american-flights-api.raml
  • 13. WT 3-3: Add request and response details 3 1 2 AmericanFLightNoID Example.raml is shown Response body
  • 14. WT 3-4: Add an API to Anypoint Exchange Disable mocking service To share API spec 3 1 2
  • 15. WT 3-4: Add an API to Anypoint Exchange 1 2 Version is automatically added Go to Exchange american-flights-api.raml 4 3 API Spec published by you
  • 16. WT 3-4: Add an API to Anypoint Exchange
  • 17. WT 3-4: Add an API to Anypoint Exchange 3 4 5 Add delete and put methods 2 1 Version is 1.0.1
  • 18. WT 3-4: Add an API to Anypoint Exchange 1 2
  • 19. WT 3-5: Share an API