- Issue created by @EliasPapa
- πΊπΈUnited States harp5339
I believe you just need to include the field name in your API call. So something like: https://yoursite.com/jsonapi/views/your_view_id/your_view_name?include=f...
Hi, I have a quick question regarding relationship data.
I have a view that returns companies. Each company has job vacancies which I added as a relationship on the view, based on the "field_company" field on the Job content type. What I do in this view is show the company logo and the number of open job vacancies for each company. This works just fine when I see it in Views but the job vacancy count is not being shown in the jsonapi response object.
How can I get this information? Would greatly appreciate any help as soon as possible.
Active
1.1
Code
I believe you just need to include the field name in your API call. So something like: https://yoursite.com/jsonapi/views/your_view_id/your_view_name?include=f...