Hello,
I’m creating a portfolio with Strapi. I have “project” collection type including :
- slug (UID)
- title (Text)
- description (Rich text)
- thumbnail (single media)
- gallery (multiple media)
- categories (relation with another collection: “category”)
When I open my API http://localhost:1337/api/projects?populate=* here is what I got :
{
"data": [
{
"id": 1,
"attributes": {
"slug": "title",
"title": "Title",
"description": "Text",
"createdAt": "2022-06-13T15:58:12.851Z",
"updatedAt": "2022-06-15T10:52:08.092Z",
"publishedAt": "2022-06-13T15:58:16.392Z",
"thumbnail": {
"data": {
"id": 1,
"attributes": {},
}
}
},
"categories": {
"data": [
{
"id": 1,
"attributes": { ... }
},
{
"id": 3,
"attributes": { ... }
}
]
}
}
}
]
}
As you may notice, every field is showing well except of my gallery one (multiple media).
Can someone help me?
Thanks!