OpenapiUnknown
Register a Firebase installation for FCM
Registers Web Push encryption material and returns an FCM token.
Header Parameters
Content-Type*string
X-Goog-Api-Key*string
Public API key configured by the pinned Ring Android client.
X-Goog-Firebase-Installations-Auth*string
The local compatibility adapter removes the upstream FIS prefix before forwarding.
Length
1 <= lengthRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/v1/projects/ring-17770/registrations" \ -H "Content-Type: application/json" \ -H "X-Goog-Api-Key: AIzaSyCv-hdFBmmdBBJadNy-TFwB-xN_H5m3Bk8" \ -H "X-Goog-Firebase-Installations-Auth: string" \ -H "Content-Type: application/json" \ -d '{ "web": { "endpoint": "https://fcm.googleapis.com/fcm/send/legacy-registration-token", "p256dh": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=", "auth": "AAAAAAAAAAAAAAAAAAAAAA==" } }'{ "token": "synthetic-fcm-token", "pushSet": "synthetic-push-set"}