How to get the author of a post (content type)

By default, we have a createdBy field, but it is not showing in the response, so I’ve created a Relation field with the author of the post in it. But It is not shown in the response either! I’ve tried changing the permissions for the user model…

Not sure if this is the case, but please note that by default get requests will only return the fields.

You need to say what is the data that you want in the response with “populate”. To get everything you can do /api/resource?populate=*