我在google云存储中有各种存储桶,这是从我的后端创建的。我想将这些存储桶导入到firebase。在firebase中,有一个选项可以将谷歌云存储桶导入到firebase中,但我想自动执行这些任务,因为可以在我的应用程序中创建任意数量的存储桶,而我不能总是转到firebase并将存储桶导入其中。该怎么做呢?
发布于 2021-04-22 23:05:53
是的,有REST API方法。
POST https://firebasestorage.googleapis.com/v1beta/{bucket=projects/*/buckets/*}:addFirebase将Google云存储存储桶链接到Firebase项目。
来源:https://firebase.google.com/docs/reference/rest/storage/rest/v1beta/projects.buckets/addFirebase
https://stackoverflow.com/questions/60094844
复制相似问题