| 1 |
{ |
| 2 |
"auth": { |
| 3 |
"oauth2": { |
| 4 |
"scopes": { |
| 5 |
"https://www.googleapis.com/auth/cloud-platform": { |
| 6 |
"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account." |
| 7 |
} |
| 8 |
} |
| 9 |
} |
| 10 |
}, |
| 11 |
"basePath": "", |
| 12 |
"baseUrl": "https://fcmdata.googleapis.com/", |
| 13 |
"batchPath": "batch", |
| 14 |
"canonicalName": "Fcmdata", |
| 15 |
"description": "Provides additional information about Firebase Cloud Messaging (FCM) message sends and deliveries.", |
| 16 |
"discoveryVersion": "v1", |
| 17 |
"documentationLink": "https://firebase.google.com/docs/cloud-messaging", |
| 18 |
"fullyEncodeReservedExpansion": true, |
| 19 |
"icons": { |
| 20 |
"x16": "http://www.google.com/images/icons/product/search-16.gif", |
| 21 |
"x32": "http://www.google.com/images/icons/product/search-32.gif" |
| 22 |
}, |
| 23 |
"id": "fcmdata:v1beta1", |
| 24 |
"kind": "discovery#restDescription", |
| 25 |
"mtlsRootUrl": "https://fcmdata.mtls.googleapis.com/", |
| 26 |
"name": "fcmdata", |
| 27 |
"ownerDomain": "google.com", |
| 28 |
"ownerName": "Google", |
| 29 |
"parameters": { |
| 30 |
"$.xgafv": { |
| 31 |
"description": "V1 error format.", |
| 32 |
"enum": [ |
| 33 |
"1", |
| 34 |
"2" |
| 35 |
], |
| 36 |
"enumDescriptions": [ |
| 37 |
"v1 error format", |
| 38 |
"v2 error format" |
| 39 |
], |
| 40 |
"location": "query", |
| 41 |
"type": "string" |
| 42 |
}, |
| 43 |
"access_token": { |
| 44 |
"description": "OAuth access token.", |
| 45 |
"location": "query", |
| 46 |
"type": "string" |
| 47 |
}, |
| 48 |
"alt": { |
| 49 |
"default": "json", |
| 50 |
"description": "Data format for response.", |
| 51 |
"enum": [ |
| 52 |
"json", |
| 53 |
"media", |
| 54 |
"proto" |
| 55 |
], |
| 56 |
"enumDescriptions": [ |
| 57 |
"Responses with Content-Type of application/json", |
| 58 |
"Media download with context-dependent Content-Type", |
| 59 |
"Responses with Content-Type of application/x-protobuf" |
| 60 |
], |
| 61 |
"location": "query", |
| 62 |
"type": "string" |
| 63 |
}, |
| 64 |
"callback": { |
| 65 |
"description": "JSONP", |
| 66 |
"location": "query", |
| 67 |
"type": "string" |
| 68 |
}, |
| 69 |
"fields": { |
| 70 |
"description": "Selector specifying which fields to include in a partial response.", |
| 71 |
"location": "query", |
| 72 |
"type": "string" |
| 73 |
}, |
| 74 |
"key": { |
| 75 |
"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", |
| 76 |
"location": "query", |
| 77 |
"type": "string" |
| 78 |
}, |
| 79 |
"oauth_token": { |
| 80 |
"description": "OAuth 2.0 token for the current user.", |
| 81 |
"location": "query", |
| 82 |
"type": "string" |
| 83 |
}, |
| 84 |
"prettyPrint": { |
| 85 |
"default": "true", |
| 86 |
"description": "Returns response with indentations and line breaks.", |
| 87 |
"location": "query", |
| 88 |
"type": "boolean" |
| 89 |
}, |
| 90 |
"quotaUser": { |
| 91 |
"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", |
| 92 |
"location": "query", |
| 93 |
"type": "string" |
| 94 |
}, |
| 95 |
"uploadType": { |
| 96 |
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", |
| 97 |
"location": "query", |
| 98 |
"type": "string" |
| 99 |
}, |
| 100 |
"upload_protocol": { |
| 101 |
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", |
| 102 |
"location": "query", |
| 103 |
"type": "string" |
| 104 |
} |
| 105 |
}, |
| 106 |
"protocol": "rest", |
| 107 |
"resources": { |
| 108 |
"projects": { |
| 109 |
"resources": { |
| 110 |
"androidApps": { |
| 111 |
"resources": { |
| 112 |
"deliveryData": { |
| 113 |
"methods": { |
| 114 |
"list": { |
| 115 |
"description": "List aggregate delivery data for the given Android application.", |
| 116 |
"flatPath": "v1beta1/projects/{projectsId}/androidApps/{androidAppsId}/deliveryData", |
| 117 |
"httpMethod": "GET", |
| 118 |
"id": "fcmdata.projects.androidApps.deliveryData.list", |
| 119 |
"parameterOrder": [ |
| 120 |
"parent" |
| 121 |
], |
| 122 |
"parameters": { |
| 123 |
"pageSize": { |
| 124 |
"description": "The maximum number of entries to return. The service may return fewer than this value. If unspecified, at most 1,000 entries will be returned. The maximum value is 10,000; values above 10,000 will be capped to 10,000. This default may change over time.", |
| 125 |
"format": "int32", |
| 126 |
"location": "query", |
| 127 |
"type": "integer" |
| 128 |
}, |
| 129 |
"pageToken": { |
| 130 |
"description": "A page token, received from a previous `ListAndroidDeliveryDataRequest` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAndroidDeliveryDataRequest` must match the call that provided the page token.", |
| 131 |
"location": "query", |
| 132 |
"type": "string" |
| 133 |
}, |
| 134 |
"parent": { |
| 135 |
"description": "Required. The application for which to list delivery data. Format: `projects/{project_id}/androidApps/{app_id}`", |
| 136 |
"location": "path", |
| 137 |
"pattern": "^projects/[^/]+/androidApps/[^/]+$", |
| 138 |
"required": true, |
| 139 |
"type": "string" |
| 140 |
} |
| 141 |
}, |
| 142 |
"path": "v1beta1/{+parent}/deliveryData", |
| 143 |
"response": { |
| 144 |
"$ref": "GoogleFirebaseFcmDataV1beta1ListAndroidDeliveryDataResponse" |
| 145 |
}, |
| 146 |
"scopes": [ |
| 147 |
"https://www.googleapis.com/auth/cloud-platform" |
| 148 |
] |
| 149 |
} |
| 150 |
} |
| 151 |
} |
| 152 |
} |
| 153 |
} |
| 154 |
} |
| 155 |
} |
| 156 |
}, |
| 157 |
"revision": "20240707", |
| 158 |
"rootUrl": "https://fcmdata.googleapis.com/", |
| 159 |
"schemas": { |
| 160 |
"GoogleFirebaseFcmDataV1beta1AndroidDeliveryData": { |
| 161 |
"description": "Message delivery data for a given date, app, and analytics label combination.", |
| 162 |
"id": "GoogleFirebaseFcmDataV1beta1AndroidDeliveryData", |
| 163 |
"properties": { |
| 164 |
"analyticsLabel": { |
| 165 |
"description": "The analytics label associated with the messages sent. All messages sent without an analytics label will be grouped together in a single entry.", |
| 166 |
"type": "string" |
| 167 |
}, |
| 168 |
"appId": { |
| 169 |
"description": "The app ID to which the messages were sent.", |
| 170 |
"type": "string" |
| 171 |
}, |
| 172 |
"data": { |
| 173 |
"$ref": "GoogleFirebaseFcmDataV1beta1Data", |
| 174 |
"description": "The data for the specified appId, date, and analyticsLabel." |
| 175 |
}, |
| 176 |
"date": { |
| 177 |
"$ref": "GoogleTypeDate", |
| 178 |
"description": "The date represented by this entry." |
| 179 |
} |
| 180 |
}, |
| 181 |
"type": "object" |
| 182 |
}, |
| 183 |
"GoogleFirebaseFcmDataV1beta1Data": { |
| 184 |
"description": "Data detailing messaging delivery", |
| 185 |
"id": "GoogleFirebaseFcmDataV1beta1Data", |
| 186 |
"properties": { |
| 187 |
"countMessagesAccepted": { |
| 188 |
"description": "Count of messages accepted by FCM intended for Android devices. The targeted device must have opted in to the collection of usage and diagnostic information.", |
| 189 |
"format": "int64", |
| 190 |
"type": "string" |
| 191 |
}, |
| 192 |
"countNotificationsAccepted": { |
| 193 |
"description": "Count of notifications accepted by FCM intended for Android devices. The targeted device must have opted in to the collection of usage and diagnostic information.", |
| 194 |
"format": "int64", |
| 195 |
"type": "string" |
| 196 |
}, |
| 197 |
"deliveryPerformancePercents": { |
| 198 |
"$ref": "GoogleFirebaseFcmDataV1beta1DeliveryPerformancePercents", |
| 199 |
"description": "Additional information about delivery performance for messages that were successfully delivered." |
| 200 |
}, |
| 201 |
"messageInsightPercents": { |
| 202 |
"$ref": "GoogleFirebaseFcmDataV1beta1MessageInsightPercents", |
| 203 |
"description": "Additional general insights about message delivery." |
| 204 |
}, |
| 205 |
"messageOutcomePercents": { |
| 206 |
"$ref": "GoogleFirebaseFcmDataV1beta1MessageOutcomePercents", |
| 207 |
"description": "Mutually exclusive breakdown of message delivery outcomes." |
| 208 |
}, |
| 209 |
"proxyNotificationInsightPercents": { |
| 210 |
"$ref": "GoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents", |
| 211 |
"description": "Additional insights about proxy notification delivery." |
| 212 |
} |
| 213 |
}, |
| 214 |
"type": "object" |
| 215 |
}, |
| 216 |
"GoogleFirebaseFcmDataV1beta1DeliveryPerformancePercents": { |
| 217 |
"description": "Overview of delivery performance for messages that were successfully delivered. All percentages are calculated with countMessagesAccepted as the denominator. These categories are not mutually exclusive; a message can be delayed for multiple reasons.", |
| 218 |
"id": "GoogleFirebaseFcmDataV1beta1DeliveryPerformancePercents", |
| 219 |
"properties": { |
| 220 |
"delayedDeviceDoze": { |
| 221 |
"description": "The percentage of accepted messages that were delayed because the device was in doze mode. Only [normal priority messages](https://firebase.google.com/docs/cloud-messaging/concept-options#setting-the-priority-of-a-message) should be delayed due to doze mode.", |
| 222 |
"format": "float", |
| 223 |
"type": "number" |
| 224 |
}, |
| 225 |
"delayedDeviceOffline": { |
| 226 |
"description": "The percentage of accepted messages that were delayed because the target device was not connected at the time of sending. These messages were eventually delivered when the device reconnected.", |
| 227 |
"format": "float", |
| 228 |
"type": "number" |
| 229 |
}, |
| 230 |
"delayedMessageThrottled": { |
| 231 |
"description": "The percentage of accepted messages that were delayed due to message throttling, such as [collapsible message throttling](https://firebase.google.com/docs/cloud-messaging/concept-options#collapsible_throttling) or [maximum message rate throttling](https://firebase.google.com/docs/cloud-messaging/concept-options#device_throttling).", |
| 232 |
"format": "float", |
| 233 |
"type": "number" |
| 234 |
}, |
| 235 |
"delayedUserStopped": { |
| 236 |
"description": "The percentage of accepted messages that were delayed because the intended device user-profile was [stopped](https://firebase.google.com/docs/cloud-messaging/android/receive#handling_messages) on the target device at the time of the send. The messages were eventually delivered when the user-profile was started again.", |
| 237 |
"format": "float", |
| 238 |
"type": "number" |
| 239 |
}, |
| 240 |
"deliveredNoDelay": { |
| 241 |
"description": "The percentage of accepted messages that were delivered to the device without delay from the FCM system.", |
| 242 |
"format": "float", |
| 243 |
"type": "number" |
| 244 |
} |
| 245 |
}, |
| 246 |
"type": "object" |
| 247 |
}, |
| 248 |
"GoogleFirebaseFcmDataV1beta1ListAndroidDeliveryDataResponse": { |
| 249 |
"description": "Response message for ListAndroidDeliveryData.", |
| 250 |
"id": "GoogleFirebaseFcmDataV1beta1ListAndroidDeliveryDataResponse", |
| 251 |
"properties": { |
| 252 |
"androidDeliveryData": { |
| 253 |
"description": "The delivery data for the provided app. There will be one entry per combination of app, date, and analytics label.", |
| 254 |
"items": { |
| 255 |
"$ref": "GoogleFirebaseFcmDataV1beta1AndroidDeliveryData" |
| 256 |
}, |
| 257 |
"type": "array" |
| 258 |
}, |
| 259 |
"nextPageToken": { |
| 260 |
"description": "A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", |
| 261 |
"type": "string" |
| 262 |
} |
| 263 |
}, |
| 264 |
"type": "object" |
| 265 |
}, |
| 266 |
"GoogleFirebaseFcmDataV1beta1MessageInsightPercents": { |
| 267 |
"description": "Additional information about message delivery. All percentages are calculated with countMessagesAccepted as the denominator.", |
| 268 |
"id": "GoogleFirebaseFcmDataV1beta1MessageInsightPercents", |
| 269 |
"properties": { |
| 270 |
"priorityLowered": { |
| 271 |
"description": "The percentage of accepted messages that had their priority lowered from high to normal. See [documentation for setting message priority](https://firebase.google.com/docs/cloud-messaging/android/message-priority).", |
| 272 |
"format": "float", |
| 273 |
"type": "number" |
| 274 |
} |
| 275 |
}, |
| 276 |
"type": "object" |
| 277 |
}, |
| 278 |
"GoogleFirebaseFcmDataV1beta1MessageOutcomePercents": { |
| 279 |
"description": "Percentage breakdown of message delivery outcomes. These categories are mutually exclusive. All percentages are calculated with countMessagesAccepted as the denominator. These categories may not account for all message outcomes.", |
| 280 |
"id": "GoogleFirebaseFcmDataV1beta1MessageOutcomePercents", |
| 281 |
"properties": { |
| 282 |
"collapsed": { |
| 283 |
"description": "The percentage of accepted messages that were [collapsed](https://firebase.google.com/docs/cloud-messaging/concept-options#collapsible_and_non-collapsible_messages) by another message.", |
| 284 |
"format": "float", |
| 285 |
"type": "number" |
| 286 |
}, |
| 287 |
"delivered": { |
| 288 |
"description": "The percentage of all accepted messages that were successfully delivered to the device.", |
| 289 |
"format": "float", |
| 290 |
"type": "number" |
| 291 |
}, |
| 292 |
"droppedAppForceStopped": { |
| 293 |
"description": "The percentage of accepted messages that were dropped because the application was force stopped on the device at the time of delivery and retries were unsuccessful.", |
| 294 |
"format": "float", |
| 295 |
"type": "number" |
| 296 |
}, |
| 297 |
"droppedDeviceInactive": { |
| 298 |
"description": "The percentage of accepted messages that were dropped because the target device is inactive. FCM will drop messages if the target device is deemed inactive by our servers. If a device does reconnect, we call [OnDeletedMessages()](https://firebase.google.com/docs/cloud-messaging/android/receive#override-ondeletedmessages) in our SDK instead of delivering the messages.", |
| 299 |
"format": "float", |
| 300 |
"type": "number" |
| 301 |
}, |
| 302 |
"droppedTooManyPendingMessages": { |
| 303 |
"description": "The percentage of accepted messages that were dropped due to [too many undelivered non-collapsible messages](https://firebase.google.com/docs/cloud-messaging/concept-options#collapsible_and_non-collapsible_messages). Specifically, each app instance can only have 100 pending messages stored on our servers for a device which is disconnected. When that device reconnects, those messages are delivered. When there are more than the maximum pending messages, we call [OnDeletedMessages()](https://firebase.google.com/docs/cloud-messaging/android/receive#override-ondeletedmessages) in our SDK instead of delivering the messages.", |
| 304 |
"format": "float", |
| 305 |
"type": "number" |
| 306 |
}, |
| 307 |
"droppedTtlExpired": { |
| 308 |
"description": "The percentage of accepted messages that expired because [Time To Live (TTL)](https://firebase.google.com/docs/cloud-messaging/concept-options#ttl) elapsed before the target device reconnected.", |
| 309 |
"format": "float", |
| 310 |
"type": "number" |
| 311 |
}, |
| 312 |
"pending": { |
| 313 |
"description": "The percentage of messages accepted on this day that were not dropped and not delivered, due to the device being disconnected (as of the end of the America/Los_Angeles day when the message was sent to FCM). A portion of these messages will be delivered the next day when the device connects but others may be destined to devices that ultimately never reconnect.", |
| 314 |
"format": "float", |
| 315 |
"type": "number" |
| 316 |
} |
| 317 |
}, |
| 318 |
"type": "object" |
| 319 |
}, |
| 320 |
"GoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents": { |
| 321 |
"description": "Additional information about [proxy notification](https://firebase.google.com/docs/cloud-messaging/android/message-priority#proxy) delivery. All percentages are calculated with countNotificationsAccepted as the denominator.", |
| 322 |
"id": "GoogleFirebaseFcmDataV1beta1ProxyNotificationInsightPercents", |
| 323 |
"properties": { |
| 324 |
"failed": { |
| 325 |
"description": "The percentage of accepted notifications that failed to be proxied. This is usually caused by exceptions that occurred while calling [notifyAsPackage](https://developer.android.com/reference/android/app/NotificationManager#notifyAsPackage%28java.lang.String,%20java.lang.String,%20int,%20android.app.Notification%29).", |
| 326 |
"format": "float", |
| 327 |
"type": "number" |
| 328 |
}, |
| 329 |
"proxied": { |
| 330 |
"description": "The percentage of accepted notifications that were successfully proxied by [Google Play services](https://developers.google.com/android/guides/overview).", |
| 331 |
"format": "float", |
| 332 |
"type": "number" |
| 333 |
}, |
| 334 |
"skippedNotThrottled": { |
| 335 |
"description": "The percentage of accepted notifications that were skipped because the messages were not throttled.", |
| 336 |
"format": "float", |
| 337 |
"type": "number" |
| 338 |
}, |
| 339 |
"skippedOptedOut": { |
| 340 |
"description": "The percentage of accepted notifications that were skipped because the app disallowed these messages to be proxied.", |
| 341 |
"format": "float", |
| 342 |
"type": "number" |
| 343 |
}, |
| 344 |
"skippedUnconfigured": { |
| 345 |
"description": "The percentage of accepted notifications that were skipped because configurations required for notifications to be proxied were missing.", |
| 346 |
"format": "float", |
| 347 |
"type": "number" |
| 348 |
}, |
| 349 |
"skippedUnsupported": { |
| 350 |
"description": "The percentage of accepted notifications that were skipped because proxy notification is unsupported for the recipient.", |
| 351 |
"format": "float", |
| 352 |
"type": "number" |
| 353 |
} |
| 354 |
}, |
| 355 |
"type": "object" |
| 356 |
}, |
| 357 |
"GoogleTypeDate": { |
| 358 |
"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp", |
| 359 |
"id": "GoogleTypeDate", |
| 360 |
"properties": { |
| 361 |
"day": { |
| 362 |
"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.", |
| 363 |
"format": "int32", |
| 364 |
"type": "integer" |
| 365 |
}, |
| 366 |
"month": { |
| 367 |
"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.", |
| 368 |
"format": "int32", |
| 369 |
"type": "integer" |
| 370 |
}, |
| 371 |
"year": { |
| 372 |
"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.", |
| 373 |
"format": "int32", |
| 374 |
"type": "integer" |
| 375 |
} |
| 376 |
}, |
| 377 |
"type": "object" |
| 378 |
} |
| 379 |
}, |
| 380 |
"servicePath": "", |
| 381 |
"title": "Firebase Cloud Messaging Data API", |
| 382 |
"version": "v1beta1", |
| 383 |
"version_module": true |
| 384 |
} |