#!/usr/bin/env bash curl --request POST \ 'http://127.0.0.1:3000/app/data-test/endpoint/data/v1/action/findOne' \ --header 'apiKey: TEST' \ --header 'Content-Type: application/json' \ --header 'Accept: application/json' \ --data-raw '{ "dataSource": "grafbase", "database": "test", "collection": "test", "projection": { "_id": 1, "foo": 1 }, "filter": { "_id": { "$oid": "64d50a0b967f134bfb3fb620" } } }' |jq