RubyFlow The Ruby and Rails community linklog

Include extra information in API responses - Fast JsonAPI Gem part 2.

How to include extra elements, like related links and pagination meta in the server response?

https://driggl.com/blog/a/adding-links-to-fast_jsonapi-serializer

The Fast JsonAPI gem from Netflix makes complicated something that worked out of the box in deprecated ActiveModelsSerializers… but there is nothing that can’t be done.

As lot of my students requested it, I decided to describe how to handle extra elements aside of data field in the API response.

Check out the new article on Driggl’s blog.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in