Hi there

I'm setting up a website with drupal 8 on an Amazon server.
I'm having trouble creating a REST api from a content type that references another content type (or even a taxonomy). When I access the authenticated REST in drupal, all referencies fields are shown, but when I am not authenticated, the referencis fields are not shown.

for example:

authenticated

[{"title":"Teste avalia\u00e7\u00e3o","field_avaliacao_arquivo":"\/publicador\/sites\/default\/files\/2017-12\/Jonata%20Cardoso%20de%20Souza_%20Anexo.pdf","created":"06\/12\/2017 13:16","field_avaliacao_bimestre":"1","field_avaliacao_grau":"1\u00aa","field_avaliacao_perfis_vizualiza":"Diretor","field_content_test":"content 1, content 2"}]

not authenticated

[{"title":"Teste avalia\u00e7\u00e3o","field_avaliacao_arquivo":"\/publicador\/sites\/default\/files\/2017-12\/Jonata%20Cardoso%20de%20Souza_%20Anexo.pdf","created":"06\/12\/2017 13:16","field_avaliacao_bimestre":"","field_avaliacao_grau":"","field_avaliacao_perfis_vizualiza":"","field_content_test":""}]

Can someone help me?

Comments

164713332@qq.com’s picture

same question, no answer