realm name
domain name
a promise resolving to a realm object
Create realm
realm name
Optional
realmData: RealmSkeletonrealm data
a promise resolving to a realm object
Delete realm
realm id
a promise resolving to a realm object
Delete realm by name
realm name
a promise resolving to a realm object
Export all realms. The response can be saved to file as is.
Promise resolving to a RealmExportInterface object.
Get realm by name
realm name
a promise resolving to a realm object
since v2.0.0 use readRealmByName instead
readRealmByName(realmName: string): Promise<RealmSkeleton>
Get all realms
a promise resolving to an array of realm objects
Import realms
realm import data
Optional
realmId: stringOptional realm id. If supplied, only the realm of that id is imported. Takes priority over realmName if both are provided.
Optional
realmName: stringOptional realm name. If supplied, only the realm of that name is imported.
the imported realms
Update realm
realm id
realm data
a promise resolving to a realm object
since v2.0.0 use updateRealm or createRealm instead
updateRealm(realmId: string, realmData: RealmSkeleton): Promise<RealmSkeleton>
createRealm(realmName: string, realmData: RealmSkeleton): Promise<RealmSkeleton>
Read realm
realm id
a promise resolving to a realm object
Read realm by name
realm name
a promise resolving to a realm object
Read all realms
a promise resolving to an array of realm objects
Remove custom DNS domain name (realm DNS alias)
realm name
domain name
a promise resolving to a realm object
Update realm
realm id
realm data
a promise resolving to a realm object
Add custom DNS domain name (realm DNS alias)