A Node.js client for the MongoDB Realm (formerly Stitch) admin API. Version 1.31.0 (stable, last release 2022). Provides programmatic access to manage Realm applications, services, triggers, functions, rules, logs, security, and webhooks. Wraps the deprecated mongodb-stitch-api-client. Uses API keys for authentication and supports CRUD operations on Realm resources. Slower release cadence; not actively maintained by MongoDB Inc.
npm install mongodb-realm-api-clientNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initializes the Realm API client with API keys and project context, then fetches all triggers and creates a new application.
Migrate to MongoDB's official Atlas Admin API client or use direct REST calls.
Ensure baseUrl ends with '/api/admin/v3.0' or adjust to match the actual Realm API version.
Include both 'deployment_model' (e.g., 'LOCAL') and 'location' (e.g., 'IE') in the body.
Provide 'appId' in the config or pass it explicitly per operation if available.
npm install mongodb-realm-api-client
Use require('mongodb-realm-api-client') instead of import.Verify API keys and ensure baseUrl ends with '/api/admin/v3.0'.