Chapter 5: Customizing Our API

In this chapter, we will start customizing our API beyond basic create, read, update, and delete (CRUD) operations. So far, all we have done is define content-types in Strapi's Content-Type Builder, which automatically created an API to create, retrieve, update, and delete entries for that type. We did not have to do any coding. As always, Strapi provided sensible defaults and got our project off the ground with minimum effort. In any large project, though, we will reach a point where these defaults are not enough, and we will want to do a bit more or alter the default behavior slightly. Strapi is very easy to extend, and this chapter will teach us how to do so.

In this chapter, we will cover the following topics: ...

Get Designing Web APIs with Strapi now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.