Request and response objects define a contract for the clients of an API. In this video, learn the properties used to build these objects such as media types and status codes.
REST APIs often require template parameters … in the path of an endpoint. … This helps us identify a specific resource instance … in most cases. … that captures a product ID within its path. … That product ID can then be used … To get started, we're going to create … a new path within our Paths object. … all we need to do is add the operation … they're going to be required, so we set Require to True, … and then we define the type of data using … the schema and our datatype. … And then as always, we can provide some sort of example. … And then anytime we have an operation, … we know that the Responses object is required, … and since we've already defined a 200 response, … we simply set that to Object, and that denotes … that we've defined within the path. … In addition to path variables, we can also specify … that a request header or cookie … is expected to be sent to an endpoint … we can specify that we would like … a header to be provided with each request. … of custom security header in place for our request, …
- The architecture of the Swagger ecosystem
- Using the tools within the Swagger platform
- Building a basic API using Swagger
- Defining APIs
- Creating API documentation using Swagger UI
- Creating and publishing APIs with SwaggerHub
- API management with Apigee
- Monitoring API usage
Skill Level Intermediate
HTTP Essential Trainingwith Morten Rand-Hendriksen50m 18s Beginner
1. Swagger Ecosystem
2. Building API Specifications
3. Creating and Publishing APIs with SwaggerHub
4. Capstone Project
Next steps1m 19s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.