SlideShare a Scribd company logo
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.
API Documentation.pptx
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.
API Documentation.pptx
API Documentation.pptx
• 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?

More Related Content

Similar to API Documentation.pptx (20)

PDF
API Testing Interview Preparation and Methods
VivekanandaSamantra2
 
PDF
A_Complete_Guide_to_API_Development.pdf
PamRobert
 
PDF
Best practices and advantages of REST APIs
Aparna Sharma
 
PPTX
advanced computer network, about computer
jishukurmi81
 
PPTX
AWS API Gateway
Muhammed YALÇIN
 
PDF
INTERFACE, by apidays - How to Win Friends and Influence People with API First
apidays
 
PDF
API-Consumption compressed (1)
Rahul Ghai
 
PPTX
Smartone v1.0
Jinyean Tan
 
PPT
How to design effective APIs
Bansilal Haudakari
 
PDF
Guide To API Development – Cost, Importance, Types, Tools, Terminology, and B...
Techugo
 
PPTX
API (Application program interface)
Muhammad Jahanzaib
 
PPT
How to implement api proxy and products in apigee
guptarakesh1405
 
PPTX
Api design part 1
Ibrahim Elsawaf
 
PDF
How To Get Started With API Testing In Your Organization.pdf
pcloudy2
 
PPTX
API Versioning for Zero Downtime | Devoxx Belgium 2017
Patrice Krakow
 
PDF
Understanding API Architectures: Web API vs. Minimal API – An In-Depth Compar...
Polyxer Systems
 
PDF
Api Testing.pdf
JitendraYadav351971
 
PDF
API testing Notes and features, difference.pdf
kunjukunjuzz904
 
PDF
Moving into API documentation writing
Ellis Pratt
 
PDF
Webservicex.pdf
ssuser751c981
 
API Testing Interview Preparation and Methods
VivekanandaSamantra2
 
A_Complete_Guide_to_API_Development.pdf
PamRobert
 
Best practices and advantages of REST APIs
Aparna Sharma
 
advanced computer network, about computer
jishukurmi81
 
AWS API Gateway
Muhammed YALÇIN
 
INTERFACE, by apidays - How to Win Friends and Influence People with API First
apidays
 
API-Consumption compressed (1)
Rahul Ghai
 
Smartone v1.0
Jinyean Tan
 
How to design effective APIs
Bansilal Haudakari
 
Guide To API Development – Cost, Importance, Types, Tools, Terminology, and B...
Techugo
 
API (Application program interface)
Muhammad Jahanzaib
 
How to implement api proxy and products in apigee
guptarakesh1405
 
Api design part 1
Ibrahim Elsawaf
 
How To Get Started With API Testing In Your Organization.pdf
pcloudy2
 
API Versioning for Zero Downtime | Devoxx Belgium 2017
Patrice Krakow
 
Understanding API Architectures: Web API vs. Minimal API – An In-Depth Compar...
Polyxer Systems
 
Api Testing.pdf
JitendraYadav351971
 
API testing Notes and features, difference.pdf
kunjukunjuzz904
 
Moving into API documentation writing
Ellis Pratt
 
Webservicex.pdf
ssuser751c981
 

Recently uploaded (20)

PPTX
Cultivation practice of Litchi in Nepal.pptx
UmeshTimilsina1
 
PDF
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
PDF
Chapter-V-DED-Entrepreneurship: Institutions Facilitating Entrepreneurship
Dayanand Huded
 
PDF
ARAL_Orientation_Day-2-Sessions_ARAL-Readung ARAL-Mathematics ARAL-Sciencev2.pdf
JoelVilloso1
 
PDF
LAW OF CONTRACT (5 YEAR LLB & UNITARY LLB )- MODULE - 1.& 2 - LEARN THROUGH P...
APARNA T SHAIL KUMAR
 
PDF
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 
PDF
SSHS-2025-PKLP_Quarter-1-Dr.-Kerby-Alvarez.pdf
AishahSangcopan1
 
PDF
CEREBRAL PALSY: NURSING MANAGEMENT .pdf
PRADEEP ABOTHU
 
PDF
CONCURSO DE POESIA “POETUFAS – PASSOS SUAVES PELO VERSO.pdf
Colégio Santa Teresinha
 
PDF
Biological Bilingual Glossary Hindi and English Medium
World of Wisdom
 
PPSX
HEALTH ASSESSMENT (Community Health Nursing) - GNM 1st Year
Priyanshu Anand
 
PPTX
2025 Winter SWAYAM NPTEL & A Student.pptx
Utsav Yagnik
 
PPTX
MENINGITIS: NURSING MANAGEMENT, BACTERIAL MENINGITIS, VIRAL MENINGITIS.pptx
PRADEEP ABOTHU
 
PDF
0725.WHITEPAPER-UNIQUEWAYSOFPROTOTYPINGANDUXNOW.pdf
Thomas GIRARD, MA, CDP
 
PPTX
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
PDF
ARAL-Orientation_Morning-Session_Day-11.pdf
JoelVilloso1
 
PDF
Isharyanti-2025-Cross Language Communication in Indonesian Language
Neny Isharyanti
 
PDF
The-Ever-Evolving-World-of-Science (1).pdf/7TH CLASS CURIOSITY /1ST CHAPTER/B...
Sandeep Swamy
 
PPTX
I AM MALALA The Girl Who Stood Up for Education and was Shot by the Taliban...
Beena E S
 
PPT
Talk on Critical Theory, Part II, Philosophy of Social Sciences
Soraj Hongladarom
 
Cultivation practice of Litchi in Nepal.pptx
UmeshTimilsina1
 
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
Chapter-V-DED-Entrepreneurship: Institutions Facilitating Entrepreneurship
Dayanand Huded
 
ARAL_Orientation_Day-2-Sessions_ARAL-Readung ARAL-Mathematics ARAL-Sciencev2.pdf
JoelVilloso1
 
LAW OF CONTRACT (5 YEAR LLB & UNITARY LLB )- MODULE - 1.& 2 - LEARN THROUGH P...
APARNA T SHAIL KUMAR
 
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 
SSHS-2025-PKLP_Quarter-1-Dr.-Kerby-Alvarez.pdf
AishahSangcopan1
 
CEREBRAL PALSY: NURSING MANAGEMENT .pdf
PRADEEP ABOTHU
 
CONCURSO DE POESIA “POETUFAS – PASSOS SUAVES PELO VERSO.pdf
Colégio Santa Teresinha
 
Biological Bilingual Glossary Hindi and English Medium
World of Wisdom
 
HEALTH ASSESSMENT (Community Health Nursing) - GNM 1st Year
Priyanshu Anand
 
2025 Winter SWAYAM NPTEL & A Student.pptx
Utsav Yagnik
 
MENINGITIS: NURSING MANAGEMENT, BACTERIAL MENINGITIS, VIRAL MENINGITIS.pptx
PRADEEP ABOTHU
 
0725.WHITEPAPER-UNIQUEWAYSOFPROTOTYPINGANDUXNOW.pdf
Thomas GIRARD, MA, CDP
 
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
ARAL-Orientation_Morning-Session_Day-11.pdf
JoelVilloso1
 
Isharyanti-2025-Cross Language Communication in Indonesian Language
Neny Isharyanti
 
The-Ever-Evolving-World-of-Science (1).pdf/7TH CLASS CURIOSITY /1ST CHAPTER/B...
Sandeep Swamy
 
I AM MALALA The Girl Who Stood Up for Education and was Shot by the Taliban...
Beena E S
 
Talk on Critical Theory, Part II, Philosophy of Social Sciences
Soraj Hongladarom
 
Ad

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.
  • 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.
  • 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?