Skip to content

Commit 9e9582e

Browse files
feat(fcm): update the api
#### fcm:v1 The following keys were added: - schemas.ApnsConfig.properties.liveActivityToken.type (Total Keys: 1)
1 parent 376be8f commit 9e9582e

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

docs/dyn/fcm_v1.projects.messages.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ <h3>Method Details</h3>
162162
&quot;headers&quot;: { # HTTP request headers defined in Apple Push Notification Service. Refer to [APNs request headers](https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/sending_notification_requests_to_apns) for supported headers such as `apns-expiration` and `apns-priority`. The backend sets a default value for `apns-expiration` of 30 days and a default value for `apns-priority` of 10 if not explicitly set.
163163
&quot;a_key&quot;: &quot;A String&quot;,
164164
},
165+
&quot;liveActivityToken&quot;: &quot;A String&quot;, # Optional. [Apple Live Activity](https://developer.apple.com/design/human-interface-guidelines/live-activities) token to send updates to. This token can either be a push token or [push-to-start](https://developer.apple.com/documentation/activitykit/activity/pushtostarttoken) token from Apple.
165166
&quot;payload&quot;: { # APNs payload as a JSON object, including both `aps` dictionary and custom payload. See [Payload Key Reference](https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/generating_a_remote_notification). If present, it overrides google.firebase.fcm.v1.Notification.title and google.firebase.fcm.v1.Notification.body.
166167
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
167168
},
@@ -274,6 +275,7 @@ <h3>Method Details</h3>
274275
&quot;headers&quot;: { # HTTP request headers defined in Apple Push Notification Service. Refer to [APNs request headers](https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/sending_notification_requests_to_apns) for supported headers such as `apns-expiration` and `apns-priority`. The backend sets a default value for `apns-expiration` of 30 days and a default value for `apns-priority` of 10 if not explicitly set.
275276
&quot;a_key&quot;: &quot;A String&quot;,
276277
},
278+
&quot;liveActivityToken&quot;: &quot;A String&quot;, # Optional. [Apple Live Activity](https://developer.apple.com/design/human-interface-guidelines/live-activities) token to send updates to. This token can either be a push token or [push-to-start](https://developer.apple.com/documentation/activitykit/activity/pushtostarttoken) token from Apple.
277279
&quot;payload&quot;: { # APNs payload as a JSON object, including both `aps` dictionary and custom payload. See [Payload Key Reference](https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/generating_a_remote_notification). If present, it overrides google.firebase.fcm.v1.Notification.title and google.firebase.fcm.v1.Notification.body.
278280
&quot;a_key&quot;: &quot;&quot;, # Properties of the object.
279281
},

googleapiclient/discovery_cache/documents/fcm.v1.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@
146146
}
147147
}
148148
},
149-
"revision": "20240703",
149+
"revision": "20241101",
150150
"rootUrl": "https://fcm.googleapis.com/",
151151
"schemas": {
152152
"AndroidConfig": {
@@ -394,6 +394,10 @@
394394
"description": "HTTP request headers defined in Apple Push Notification Service. Refer to [APNs request headers](https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/sending_notification_requests_to_apns) for supported headers such as `apns-expiration` and `apns-priority`. The backend sets a default value for `apns-expiration` of 30 days and a default value for `apns-priority` of 10 if not explicitly set.",
395395
"type": "object"
396396
},
397+
"liveActivityToken": {
398+
"description": "Optional. [Apple Live Activity](https://developer.apple.com/design/human-interface-guidelines/live-activities) token to send updates to. This token can either be a push token or [push-to-start](https://developer.apple.com/documentation/activitykit/activity/pushtostarttoken) token from Apple.",
399+
"type": "string"
400+
},
397401
"payload": {
398402
"additionalProperties": {
399403
"description": "Properties of the object.",

0 commit comments

Comments
 (0)