Hi,
I built a bundle extension that contains an interface and an endpoint.
I added sandbox config inside the endpoint entry in package.json like this:
{
“entries”: [
{ “type”: “interface”, “name”: “ai-field”, “source”: “…” },
{
“type”: “endpoint”,
“name”: “ai-field-api”,
“source”: “…”,
“sandbox”: {
“enabled”: true,
“requestedScopes”: {
“request”: {
“methods”: [“POST”],
“urls”: [“https://api.anthropic.com/*”, “…”]
}
}
}
}
]
}
Is this the correct way to sandbox an endpoint inside a bundle?
Will it appear on the Marketplace without MARKETPLACE_TRUST=all?
npm: https://www.npmjs.com/package/directus-extension-ai-field