One Resource from Collection


#1

I know JSONapi is suggesting it’s filter-agnostic at this point, but I’d love some input on a “default” / “current” / “first” / “last” type strategy… basically selecting a single resource from many.

For some examples

  1. Payment Methods (like Stripe) support a “default” payment method.
  2. A session holds a “current” user or account.
  3. A list of posts could have a top post.

Is there a current discussion or direction that JSONapi would care about this?

Thanks!