From the course: Building APIs with Swagger and the OpenAPI Specification
Unlock the full course today
Join today to access over 24,500 courses taught by industry experts.
Challenge: Retrieve company blog posts - REST Tutorial
From the course: Building APIs with Swagger and the OpenAPI Specification
Challenge: Retrieve company blog posts
(upbeat music) - [Instructor] It's time for the first challenge where you will build a definition file for the API that powers the H Plus Sport Company's blog. To complete the challenge, you must create a new API definition file that exposes a single path used to access an array of articles. The array returned by the end point is used to populate the list of articles found on the front page of the blog. Before you dive in, let me give you a hint. Start out by inspecting the H Plus Sport blog to determine the properties required for an article schema object. At a quick glance, I would recommend adding properties for the created date, tagline, content, category, and tags. This challenge should take you about 10 minutes to complete. In the next video, I'll show you how I solved the challenge. Good luck.
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
Swagger ecosystem4m 5s
-
(Locked)
Open-source tools4m
-
(Locked)
OpenAPI Specification4m 23s
-
(Locked)
Open-source tool installation4m 58s
-
(Locked)
H+ Sport intro31s
-
(Locked)
Building a simple API5m 40s
-
(Locked)
Challenge: Retrieve company blog posts1m 5s
-
(Locked)
Solution: Retrieve company blog posts4m 26s
-
-
-
-
-