Hi!
I’m having issues while using **GET /api/collection/:id/items**
request. In the documentation, it’s said that I can use the “model” parameter to return only “cards”, for example. However, when I define “card” as my parameter value, it keeps returning all types of models (i.e.: “dashboards”).
Is this a bug from the API or I’m doing something wrong? Here’s my request:
curl --request GET
–url https://barrigadedados.colab.re/api/collection/106/items
–header ‘Content-Type: application/json’
–header ‘X-Metabase-Session: <my_auth_token>’
–data ‘{
“model”: “card”,
“archived”:“false”
}’
Thanks!