Hateoas links in strapi

System Information
  • Strapi Version: 4.6.1
  • Operating System: Mac
  • Database: sqlite
  • Node Version: v18.14.0
  • NPM Version:
  • Yarn Version: 1.22.19

Hi all,

Quick question regarding generating links within strapi.

I am specifically looking at creating hateoas links. For example, when returning a list of posts, I would like to include a hateoas link for each result to follow-up calls with a link to the post details.

A Google search came up empty so I am wondering if anyone could provide me with pointers on how to go about it. I could manually add these links but I was sure there would be a plug-in.

TIA

Did you find a solution for this?

Hi @molindo,

So far I haven’t figured this out yet.

I hoped to get feedback from others’ experiences to shed some light on the best way to solve this.

application/hal+json is definitely handy when building APIs