I'm pretty familiar with rest apis, but today I was asked this: "what if a resource exists but it's content have been blocked for some reason?"
example:
try to retrieve users/18
but user with id 18 has been banned/blocked/whatever.
I think the best answer would be to return 204, but how to also inform the client of the reason for the resource is not available to you?
is there a best practice for that?