Hello, I created a collection of “post” it has “cover_picture” I calmly get all the data using the url /posts?populate=, But I wanted to make categories for this post and created a collection of “post_category” linked them I call like this /post-categories/1?populate= and get here is such an object:
{
"data": {
"id": 1,
"attributes": {
"title": "Business",
"url": "buisness",
"createdAt": "2024-04-10T12:07:37.591Z",
"updatedAt": "2024-04-10T13:11:36.038Z",
"publishedAt": "2024-04-10T12:07:39.822Z",
"posts": {
"data": [
{
"id": 1,
"attributes": {
"title": "title",
"date_post": "2024-04-10",
"content": "my text",
"createdAt": "2024-04-10T07:59:56.560Z",
"updatedAt": "2024-04-10T09:46:28.892Z",
"publishedAt": "2024-04-10T08:00:01.490Z"
}
},
{
"id": 2,
"attributes": {
"title": "Lorem ipsum dolor sit amet",
"date_post": "2024-04-10",
"content": "my text",
"createdAt": "2024-04-10T08:07:11.502Z",
"updatedAt": "2024-04-10T17:30:08.132Z",
"publishedAt": "2024-04-10T08:07:14.136Z"
}
}
]
}
}
},
"meta": {}
}
But I don’t see a cover_picture in the posts object
This topic has been created from a Discord post (1227704069674635526) to give it more visibility.
It will be on Read-Only mode here.
Join the conversation on Discord