Patch related resource


#1

Hi,

is it somehow possible to update a property of all related resources of a resource?

Say, I want to update all active users of a game to be inactive -

$.ajax('/api/games/3/users', {data: {active: false}, method: 'PATCH'});

I could not find a hint in the docs if this would/should be possible… ?


#2

Hi, take a look at this post as well as the links in it where I, and others before touch on the current best practice for bulk operations in JSONAPI.