In this challenge, you are asked to define a new operation that allows a blog post resource to be created. In order to create the new POST operation, you are asked to create a blog post component within the schema section of the API definition to improve reusability.
(upbeat music) … - [Instructor] It's time for another challenge. … Let's pick up where we left off in the last challenge … and add some new capabilities to the blog API definition. … The new capability will expose an operation … on the article path that allows a new article to be created. … To complete the challenge, … expand the API definition file … to include the appropriate HTTP operation … for the capability. … Within the operation, … you should define a JSON-based request body … that is used to create the article. … Additionally, the operation should return a simple response … that contains the appropriate HTTP status code … for creating a resource on a REST API. … If you want to make this challenge a little easier, … think about how you could reuse some of the existing YAML … in your API definition. … This challenge should take you about 10 minutes to complete. … In the next video, I'll show you how I solved it. … Good luck. … …
- 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.