Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Firebase REST API Query Parameters?

Tags:

firebase

Is it possible to filter data returned by the Firebase REST API using query parameters? I don't see it mentioned one way or an other in the docs, but the client libraries support it, so I'm hoping it's possible. Thanks.

like image 942
Aaron Avatar asked Jun 03 '14 17:06

Aaron


People also ask

Can we use SQL queries in Firebase?

FireSQL is a library built on top of the official Firebase SDK that allows you to query Cloud Firestore using SQL syntax. It's smart enough to issue the minimum amount of queries necessary to the Firestore servers in order to get the data that you request.

Can I use REST API with Firebase?

The REST API can also be used to retrieve and update the Firebase Realtime Database Rules for your Firebase project. You'll need your Firebase project's secret, which you can find under the Service Accounts panel of your Firebase project's setting.

How do I get data from Firebase API?

Streaming from the REST APISet the client's Accept header to text/event-stream. Respect HTTP Redirects, in particular HTTP status code 307. Include the auth query parameter if the Firebase database location requires permission to read.

Is Firebase good for scaling?

Firebase is a useful suite of backend services and off-loading the realtime messaging part to Ably allows us to scale it beyond its initial limits easily.


1 Answers

It might be a bit late to answer, but Firebase does allow querying data via REST.

You can use the orderby option together with limitToLast, startAt etc just like you would when using the SDK.

Checkout the Firebase guide for more details

like image 131
idan Avatar answered Nov 25 '22 11:11

idan