Catch up on highlights from Firebase at Google I/O 2023.
Learn more
Firebase Cloud Messaging API
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
FCM 发送 API 提供跨平台消息传递解决方案,以免费可靠地传递消息。
服务:fcm.googleapis.com
要调用此服务,我们建议您使用 Google 提供的客户端库。如果您的应用程序需要使用您自己的库来调用此服务,请在发出 API 请求时使用以下信息。
发现文件
发现文档是用于描述和使用 REST API 的机器可读规范。它用于构建客户端库、IDE 插件和其他与 Google API 交互的工具。一项服务可以提供多个发现文档。该服务提供以下发现文档:
服务端点
服务端点是一个基本 URL,它指定 API 服务的网络地址。一项服务可能有多个服务端点。此服务具有以下服务端点,并且下面的所有 URI 都与此服务端点相关:
-
https://fcm.googleapis.com
方法 |
---|
send | POST /v1/{parent=projects/*}/messages:send 向指定目标(注册令牌、主题或条件)发送消息。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2022-07-22。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"没有我需要的信息"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"太复杂/步骤太多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"内容需要更新"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/代码问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]