SlideShare uma empresa Scribd logo
1 de 21
API
Documentation
Your best quote that reflects your
approach… “It’s one small step for
man, one giant leap for mankind.”
- NEIL ARMSTRONG
What is API
API stands for application programming interface, which is a set of definitions and protocols
for building and integrating application software.
Generating API documentation
◦ The API Builder provides one place to view, create, and manage all of your API's documentation
Sending your first request
•Send a request to an endpoint, retrieve data from a data source, or test an API's functionality.
•Create a new request and select Send, and the API response appears right inside Postman.
API requests defined
•APIs provide a structured way for one application to access the capabilities of another
application
•A client application (like a mobile app) sends a request to the server, and after the request
processes the server returns a response to the client.
•A request includes the URL of the API endpoint and an HTTP request method. The method
indicates the action you want the API to perform.
• GET retrieves data from an API.
• POST sends new data to an API.
• PATCH and PUT update existing data.
• DELETE removes existing data.
Sending a Request
•Select + in the workbench to open a new tab
•Enter postman-echo.com/get for the request URL.
•Select Send.
• Postman displays the response data sent from the server in the lower pane.
What Happend
•Postman sent a GET request to the Postman Echo API server located at postman-echo.com.
•The API server received the request, processed it, and returned a response to Postman.
•Postman received the response and displayed it in the Response pane.
•You used Postman to send an API request and got a response from the API server.
• What is API Documentation
• What are the benefits from using APIs?
• How does an API Work?
• Who and How creates the API and the API Documentation
• Which tools to use to try an API or to automatically generate API Documentation
What is an API?
APIs stands for an application programming interface
The API allows two different software applications to interact with each other. Using the API, these applications can
exchange data in a reliable way.
PUT A IMAGE of API
Benefits from using an API?
By using an API, the applications can gain immediate access to software modules and functionality that is already
developed by another application. This way you can leverage and reuse existing functionality from another application in
the context of your own app, allows you to offer more functionality to your customers.
How does an API Work?
When using an API, an applications first sends a request to use the functionality. The receiving application performs all
the work and in the end, returns a response.
Who creates API and API Documentation?
Usually, you must be the developer who created the API to be able to explain how the API works. Usually, the technical
writers are not developers, but are a part of the team of developers who creates the API.
As a consequence as a technical writer would focus on writing documentation about using the API.
What is an API Documentation?
• What the API can do for me? What functionality does it offer and what work can it do for my application?
It’s a piece of documentation. Once the API is developed and the writer doesn’t know what is the API being
developed and what is the function of it.
• How to connect to the API?
• How to authenticate myself, once connected to the API?
• What are the types of requests I can send to this API? What are their parameters?
• What are the types of responses I can expect to receive once the API requests is being processed? What will be the
result I can expect to get in the end?
Types of APIs
• “Standard” API- direct connection protocol
• Web API- transfers the request and response via HTTP ( Hypertext Transfer Protocol) on the WEB
Who reads API Documentation?
Documentation about the API is what I call “developers documentation” – It is for a target audience of Software
developers. To properly use the API, developers need to know the technical details of API.
Note, that the end users would not need API documentation; for them you provide end user guides where you aim
to reduce technical details and implementation information.
Examples of API Documentation
https://stripe.com/docs/api
Stripe is cited frequently as one the best examples of a high-quality API documentation
SAP’s API documentation sample:
https://api.sap.com/api/storage_manager/resource
User Swagger tool to auto create API Documenation
Link: https://swagger.io/solutions/api-documentation/
API Documentation –Framework
Where to start- First step is to automatically generate documentation from the API design annotations themselves.
What is a tech writer to do next ? Write the rest of the documentation!
What is the information you must provide in your API documentation to complement the automatically generated
one make it a great user experience:
• How to access the API?
• What types of requests the API accepts?
• What types of responses the API returns?

Mais conteúdo relacionado

Semelhante a API Documentation.pptx

INTERFACE, by apidays - How to Win Friends and Influence People with API First
INTERFACE, by apidays - How to Win Friends and Influence People with API FirstINTERFACE, by apidays - How to Win Friends and Influence People with API First
INTERFACE, by apidays - How to Win Friends and Influence People with API Firstapidays
 
API-Consumption compressed (1)
API-Consumption compressed (1)API-Consumption compressed (1)
API-Consumption compressed (1)Rahul Ghai
 
Guide To API Development – Cost, Importance, Types, Tools, Terminology, and B...
Guide To API Development – Cost, Importance, Types, Tools, Terminology, and B...Guide To API Development – Cost, Importance, Types, Tools, Terminology, and B...
Guide To API Development – Cost, Importance, Types, Tools, Terminology, and B...Techugo
 
API (Application program interface)
API (Application program interface)API (Application program interface)
API (Application program interface)Muhammad Jahanzaib
 
How To Get Started With API Testing In Your Organization.pdf
How To Get Started With API Testing In Your Organization.pdfHow To Get Started With API Testing In Your Organization.pdf
How To Get Started With API Testing In Your Organization.pdfpcloudy2
 
API Versioning for Zero Downtime | Devoxx Belgium 2017
API Versioning for Zero Downtime | Devoxx Belgium 2017API Versioning for Zero Downtime | Devoxx Belgium 2017
API Versioning for Zero Downtime | Devoxx Belgium 2017Patrice Krakow
 
Understanding API Architectures: Web API vs. Minimal API – An In-Depth Compar...
Understanding API Architectures: Web API vs. Minimal API – An In-Depth Compar...Understanding API Architectures: Web API vs. Minimal API – An In-Depth Compar...
Understanding API Architectures: Web API vs. Minimal API – An In-Depth Compar...Polyxer Systems
 
Moving into API documentation writing
Moving into API documentation writingMoving into API documentation writing
Moving into API documentation writingEllis Pratt
 
apidays LIVE Helsinki & North 2022_How to Win Friends and Influence People wi...
apidays LIVE Helsinki & North 2022_How to Win Friends and Influence People wi...apidays LIVE Helsinki & North 2022_How to Win Friends and Influence People wi...
apidays LIVE Helsinki & North 2022_How to Win Friends and Influence People wi...apidays
 
apidays LIVE Paris 2021 - Lessons from the API Stewardship Journey in Azure b...
apidays LIVE Paris 2021 - Lessons from the API Stewardship Journey in Azure b...apidays LIVE Paris 2021 - Lessons from the API Stewardship Journey in Azure b...
apidays LIVE Paris 2021 - Lessons from the API Stewardship Journey in Azure b...apidays
 
How to Develop APIs - Importance, Types, Tools, Terminology, and Best Practic...
How to Develop APIs - Importance, Types, Tools, Terminology, and Best Practic...How to Develop APIs - Importance, Types, Tools, Terminology, and Best Practic...
How to Develop APIs - Importance, Types, Tools, Terminology, and Best Practic...Techugo Inc
 
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 TestingpCloudy
 
apidays London 2023 - Autonomous Agents, Zdenek Nemec, superface.ai
apidays London 2023 - Autonomous Agents, Zdenek Nemec, superface.aiapidays London 2023 - Autonomous Agents, Zdenek Nemec, superface.ai
apidays London 2023 - Autonomous Agents, Zdenek Nemec, superface.aiapidays
 

Semelhante a API Documentation.pptx (20)

AWS API Gateway
AWS API GatewayAWS API Gateway
AWS API Gateway
 
INTERFACE, by apidays - How to Win Friends and Influence People with API First
INTERFACE, by apidays - How to Win Friends and Influence People with API FirstINTERFACE, by apidays - How to Win Friends and Influence People with API First
INTERFACE, by apidays - How to Win Friends and Influence People with API First
 
API-Consumption compressed (1)
API-Consumption compressed (1)API-Consumption compressed (1)
API-Consumption compressed (1)
 
Smartone v1.0
Smartone v1.0Smartone v1.0
Smartone v1.0
 
How to design effective APIs
How to design effective APIsHow to design effective APIs
How to design effective APIs
 
Guide To API Development – Cost, Importance, Types, Tools, Terminology, and B...
Guide To API Development – Cost, Importance, Types, Tools, Terminology, and B...Guide To API Development – Cost, Importance, Types, Tools, Terminology, and B...
Guide To API Development – Cost, Importance, Types, Tools, Terminology, and B...
 
API (Application program interface)
API (Application program interface)API (Application program interface)
API (Application program interface)
 
Api design part 1
Api design part 1Api design part 1
Api design part 1
 
How To Get Started With API Testing In Your Organization.pdf
How To Get Started With API Testing In Your Organization.pdfHow To Get Started With API Testing In Your Organization.pdf
How To Get Started With API Testing In Your Organization.pdf
 
API Versioning for Zero Downtime | Devoxx Belgium 2017
API Versioning for Zero Downtime | Devoxx Belgium 2017API Versioning for Zero Downtime | Devoxx Belgium 2017
API Versioning for Zero Downtime | Devoxx Belgium 2017
 
Understanding API Architectures: Web API vs. Minimal API – An In-Depth Compar...
Understanding API Architectures: Web API vs. Minimal API – An In-Depth Compar...Understanding API Architectures: Web API vs. Minimal API – An In-Depth Compar...
Understanding API Architectures: Web API vs. Minimal API – An In-Depth Compar...
 
Api Testing.pdf
Api Testing.pdfApi Testing.pdf
Api Testing.pdf
 
Moving into API documentation writing
Moving into API documentation writingMoving into API documentation writing
Moving into API documentation writing
 
Webservicex.pdf
Webservicex.pdfWebservicex.pdf
Webservicex.pdf
 
apidays LIVE Helsinki & North 2022_How to Win Friends and Influence People wi...
apidays LIVE Helsinki & North 2022_How to Win Friends and Influence People wi...apidays LIVE Helsinki & North 2022_How to Win Friends and Influence People wi...
apidays LIVE Helsinki & North 2022_How to Win Friends and Influence People wi...
 
apidays LIVE Paris 2021 - Lessons from the API Stewardship Journey in Azure b...
apidays LIVE Paris 2021 - Lessons from the API Stewardship Journey in Azure b...apidays LIVE Paris 2021 - Lessons from the API Stewardship Journey in Azure b...
apidays LIVE Paris 2021 - Lessons from the API Stewardship Journey in Azure b...
 
How to Develop APIs - Importance, Types, Tools, Terminology, and Best Practic...
How to Develop APIs - Importance, Types, Tools, Terminology, and Best Practic...How to Develop APIs - Importance, Types, Tools, Terminology, and Best Practic...
How to Develop APIs - Importance, Types, Tools, Terminology, and Best Practic...
 
Apitesting.pptx
Apitesting.pptxApitesting.pptx
Apitesting.pptx
 
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 London 2023 - Autonomous Agents, Zdenek Nemec, superface.ai
apidays London 2023 - Autonomous Agents, Zdenek Nemec, superface.aiapidays London 2023 - Autonomous Agents, Zdenek Nemec, superface.ai
apidays London 2023 - Autonomous Agents, Zdenek Nemec, superface.ai
 

Último

Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 

Último (20)

Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 

API Documentation.pptx

  • 2. Your best quote that reflects your approach… “It’s one small step for man, one giant leap for mankind.” - NEIL ARMSTRONG
  • 3. What is API API stands for application programming interface, which is a set of definitions and protocols for building and integrating application software.
  • 4. Generating API documentation ◦ The API Builder provides one place to view, create, and manage all of your API's documentation
  • 5. Sending your first request •Send a request to an endpoint, retrieve data from a data source, or test an API's functionality. •Create a new request and select Send, and the API response appears right inside Postman.
  • 6. API requests defined •APIs provide a structured way for one application to access the capabilities of another application •A client application (like a mobile app) sends a request to the server, and after the request processes the server returns a response to the client. •A request includes the URL of the API endpoint and an HTTP request method. The method indicates the action you want the API to perform. • GET retrieves data from an API. • POST sends new data to an API. • PATCH and PUT update existing data. • DELETE removes existing data.
  • 7. Sending a Request •Select + in the workbench to open a new tab •Enter postman-echo.com/get for the request URL. •Select Send. • Postman displays the response data sent from the server in the lower pane.
  • 8.
  • 9. What Happend •Postman sent a GET request to the Postman Echo API server located at postman-echo.com. •The API server received the request, processed it, and returned a response to Postman. •Postman received the response and displayed it in the Response pane. •You used Postman to send an API request and got a response from the API server.
  • 10.
  • 11.
  • 12. • What is API Documentation • What are the benefits from using APIs? • How does an API Work? • Who and How creates the API and the API Documentation • Which tools to use to try an API or to automatically generate API Documentation
  • 13. What is an API? APIs stands for an application programming interface The API allows two different software applications to interact with each other. Using the API, these applications can exchange data in a reliable way. PUT A IMAGE of API
  • 14. Benefits from using an API? By using an API, the applications can gain immediate access to software modules and functionality that is already developed by another application. This way you can leverage and reuse existing functionality from another application in the context of your own app, allows you to offer more functionality to your customers.
  • 15. How does an API Work? When using an API, an applications first sends a request to use the functionality. The receiving application performs all the work and in the end, returns a response.
  • 16. Who creates API and API Documentation? Usually, you must be the developer who created the API to be able to explain how the API works. Usually, the technical writers are not developers, but are a part of the team of developers who creates the API. As a consequence as a technical writer would focus on writing documentation about using the API.
  • 17. What is an API Documentation? • What the API can do for me? What functionality does it offer and what work can it do for my application? It’s a piece of documentation. Once the API is developed and the writer doesn’t know what is the API being developed and what is the function of it. • How to connect to the API? • How to authenticate myself, once connected to the API? • What are the types of requests I can send to this API? What are their parameters? • What are the types of responses I can expect to receive once the API requests is being processed? What will be the result I can expect to get in the end?
  • 18. Types of APIs • “Standard” API- direct connection protocol • Web API- transfers the request and response via HTTP ( Hypertext Transfer Protocol) on the WEB
  • 19. Who reads API Documentation? Documentation about the API is what I call “developers documentation” – It is for a target audience of Software developers. To properly use the API, developers need to know the technical details of API. Note, that the end users would not need API documentation; for them you provide end user guides where you aim to reduce technical details and implementation information. Examples of API Documentation https://stripe.com/docs/api Stripe is cited frequently as one the best examples of a high-quality API documentation SAP’s API documentation sample: https://api.sap.com/api/storage_manager/resource
  • 20. User Swagger tool to auto create API Documenation Link: https://swagger.io/solutions/api-documentation/
  • 21. API Documentation –Framework Where to start- First step is to automatically generate documentation from the API design annotations themselves. What is a tech writer to do next ? Write the rest of the documentation! What is the information you must provide in your API documentation to complement the automatically generated one make it a great user experience: • How to access the API? • What types of requests the API accepts? • What types of responses the API returns?