APIs may make requests to other services in response to incoming requests. In this video, learn how to build callbacks within APIs that can establish asynchronous communication between services.
- [Instructor] The component section of an API definition … can include objects other than schemas. … Using the auto-completion feature, … that we can define as reusable components. … You'll notice that we're able to specify … request bodies, headers, and responses. … Let's go ahead and build out a standard response … You'll notice that we could define these errors … within each operation themselves, … buy putting a status code underneath the operation … Instead, we're going to create the response … within the component section for reusability. … The first thing we'll need to do under the response object … is name our new response. … a response named 500 API error, … and then we'll go ahead and underneath that object, … we'll define what it looks like. … so we'll say this is an unexpected error, … and then we'll go ahead and describe what the actual data … returned to the API client will look like. … So we can specify the content object … and within that we can still specify a media type. …
- 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.