Atlas
- A brief description of what you are looking to do
- How you think this will help
- Why this matters to you
-
Please Support CORS from the Data API
It would be amazing if the Data API supported CORS (via some sort of authentication mechanism in addition to the API key).
As it stands right now, we'd have to write a proxy API to consume the Data API, which would take about the same amount of coding as creating webhooks on Atlas to modify the collections.20 votesHi everyone - this feature is under review. We are currently optimizing for serverside usage of the API, but are considering allowing access from a browser as well. If you have any additional context on the use-case or general feedback regarding this feature, please feel free to email me at sumedha.mehta@mongodb.com
-
ReadOnly DATA API
Current DATA API feature looks promising. However there is no way provide access controls around it. If you have access to API key then you can potentially do both read-write to cluster. We did some PoC recently but couldnt promote to prod because of this problem. If we get a readonly Data API access that would be super helpful.
3 votes -
List databases and collections from Atlas data api
Ability to discover databases and their collections from the Atlas data api.
3 votes -
data api logs needs more details: origin, raw data in payload, etc
the data api logs are pretty useless, they need to contain the complete metadata from the api call. source ip address, headers, request body payload, etc...
2 votes -
Support array-like ($in, $all, etc) queries in Data API
Similar to the find() method, the Data API could support multiple (array-like) structures while querying, ex:
{
dataSource: 'cluster',
database: 'database',
collection: 'collection',
filter: { property: { $oid: { $in: [ObjectIDs] } } }
}directly analogous to: data.getCollection('collection').find({ property: { $in: [ObjectIDs] } })
2 votes -
Enhanced return values
When returning the result from a call that contains an array of ObjectIds in a JSON structure (for example: insertMany), it would be interesting to have a field in the result that contains the number of items in the list.
1 vote -
The password field for database access accepts "@" character
The password field for adding database access accepts "@" character but the the same if we use in the url to connect database to our application, it will give error. So instead of facing this error while connecting database to app, a simple error message or alert message while adding password should be given.
1 vote -
Relaxed EJSON support in Data API
I am trying to integrate a webhook system to the MongoDB Data API. In other words, I'm trying to insert (timeseries) data to via webhook.
The platform I'm working with has:
* inputs of a certain format, like dates are in ISO8601 format
* limited to JSON, no programmatic access to run JS code
* supports basic variable substitution, so I can insert string and numeric values into a JSON-formatted payloadRight now, I cannot insert my dates into a timeseries collection because they are a ISO8601 string and I cannot change the type inside the platform's template engine.
From…
1 vote -
Create databases and collections via Atlas API
I don't know if this would fall under Admin API or Data API but currently there's a gap where it's not possible to create databases or collections in Atlas via REST API. This is important for a customer I'm working with who wants to automate creation of databases from scratch.
1 vote
- Don't see your idea?