Create database in firebase realtime database with unique database id

2021-01-19T03:58:01

I'm trying to create databases on the fly in Firebase realtime database.

I'm using the REST resources: https://firebase.google.com/docs/reference/rest/database/database-management/rest/v1beta/projects.locations.instances/create

You have to parse a parm with the databaseId in a string.

When i'm trying to make a base64 string the database is not created. When I just parse some text it is, but what I really want is a unique id for the database where Firebase make it to awoid dublicates.

Anyone know have to create a database with a unique database id in Firebase realtime database?

Copyright License:
Author:「Maiken Madsen」,Reproduced under the CC 4.0 BY-SA copyright license with link to original source & disclaimer.
Link to:https://stackoverflow.com/questions/65781317/create-database-in-firebase-realtime-database-with-unique-database-id

About “Create database in firebase realtime database with unique database id” questions

I'm trying to create databases on the fly in Firebase realtime database. I'm using the REST resources: https://firebase.google.com/docs/reference/rest/database/database-management/rest/v1beta/proje...
I'm trying create a new unique ID of length 5, consisting of only uppercase letters and numbers, on a realtime firebase database. My thinking to solve this problem was to create an ID, check if this
I'm going through a Flutter tutorial using a very simple firebase realtime database. Everything was working fine, then suddenly I get an error through flutter: Unhandled Exception: SocketException:...
take a look at this screenshot of my Firebase Realtime Database: As you can see, I've got a node name 'Notifications', under that, there is another node with a unique ID, how do I access this node...
I'm writing a script to sync results from an API with a specific child in the Firebase Realtime Database, but I cannot think of a way to approach this. Do I create a reference for every child of ev...
I am trying to connect firebase to my python app. I need realtime database because I will build another mobile app using flutter and connect it to that database. I need this data in realtime. The p...
Some advice given on this page indicate that it is a good idea to shard databases. In part it also states: "Store data in siloed database instances, grouped by user or data type". The page describe...
I'm developing a desktop app with Firebase Realtime Database as my database solution. My app has minimal database usage so far (will increase as I keep developing it further) and leaves the database
I'm trying to write a project using Realtime Database (firebase) and Angular. Lately I've been trying to learn how to use roles in a project (user, manager, admin, etc.). Did I understand correctl...
I'm trying to create in firebase a realtime database after a user sign in/log in for his profile.I made the authentification firebase,it's showing me that the user is in the firebase authetication.I

Copyright License:Reproduced under the CC 4.0 BY-SA copyright license with link to original source & disclaimer.