List Datastores ​
Returns a paginated list of datastores.
Endpoint ​
http
GET /datastore
Query parameters ​
Refer Specifying query parameters in Truto APIs
id
string · uuid
Filter by datastore ID.
type
string
Filter by datastore type (e.g. mongo_data_api
).
Response Body ​
result
object[]
id
string · uuid
The unique ID of the datastore.
type
string
The datastore's backend type.
All possible enum values:
mongo_data_api
label
string
A friendly label for identifying this datastore.
config
object
Config object for the datastore connection (minus sensitive fields).
Example:
{
"base_url": "https://data.mongodb-api.com/app/...",
"database": "my_db"
}
environment_id
string · uuid
The environment to which this datastore belongs.
created_at
string · date-time
Timestamp when the datastore record was created.
updated_at
string · date-time
Timestamp when the datastore record was last updated.
next_cursor
string
Example:
MjAyNC0wNS0yMVQwNjoyNTozMy4xMjRa
limit
number
Example:
100