blob: 44572f7fd23aeb97abcb5011dcf685b94716bf94 [file] [log] [blame]
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001{
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08002 "auth": {
3 "oauth2": {
4 "scopes": {
5 "https://www.googleapis.com/auth/firebase": {
6 "description": "View and administer all your Firebase data and settings"
7 }
8 }
9 }
10 },
Anthonios Partheniou10f4b672021-04-13 14:47:53 -040011 "basePath": "",
12 "baseUrl": "https://firebasedynamiclinks.googleapis.com/",
13 "batchPath": "batch",
14 "canonicalName": "Firebase Dynamic Links",
Yoshi Automation Botb6971b02020-11-26 17:16:03 -080015 "description": "Programmatically creates and manages Firebase Dynamic Links.",
Anthonios Partheniou10f4b672021-04-13 14:47:53 -040016 "discoveryVersion": "v1",
17 "documentationLink": "https://firebase.google.com/docs/dynamic-links/",
18 "icons": {
19 "x16": "http://www.google.com/images/icons/product/search-16.gif",
20 "x32": "http://www.google.com/images/icons/product/search-32.gif"
21 },
22 "id": "firebasedynamiclinks:v1",
23 "kind": "discovery#restDescription",
24 "mtlsRootUrl": "https://firebasedynamiclinks.mtls.googleapis.com/",
25 "name": "firebasedynamiclinks",
26 "ownerDomain": "google.com",
27 "ownerName": "Google",
Yoshi Automation Botb6971b02020-11-26 17:16:03 -080028 "parameters": {
Yoshi Automation Botb6971b02020-11-26 17:16:03 -080029 "$.xgafv": {
Yoshi Automation Botb6971b02020-11-26 17:16:03 -080030 "description": "V1 error format.",
31 "enum": [
32 "1",
33 "2"
34 ],
Anthonios Partheniou10f4b672021-04-13 14:47:53 -040035 "enumDescriptions": [
36 "v1 error format",
37 "v2 error format"
38 ],
39 "location": "query",
40 "type": "string"
41 },
42 "access_token": {
43 "description": "OAuth access token.",
44 "location": "query",
45 "type": "string"
46 },
47 "alt": {
48 "default": "json",
49 "description": "Data format for response.",
50 "enum": [
51 "json",
52 "media",
53 "proto"
54 ],
55 "enumDescriptions": [
56 "Responses with Content-Type of application/json",
57 "Media download with context-dependent Content-Type",
58 "Responses with Content-Type of application/x-protobuf"
59 ],
60 "location": "query",
61 "type": "string"
Yoshi Automation Botb6971b02020-11-26 17:16:03 -080062 },
63 "callback": {
64 "description": "JSONP",
Yoshi Automation Botb6971b02020-11-26 17:16:03 -080065 "location": "query",
Anthonios Partheniou10f4b672021-04-13 14:47:53 -040066 "type": "string"
67 },
68 "fields": {
69 "description": "Selector specifying which fields to include in a partial response.",
70 "location": "query",
71 "type": "string"
72 },
73 "key": {
74 "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.",
75 "location": "query",
76 "type": "string"
77 },
78 "oauth_token": {
79 "description": "OAuth 2.0 token for the current user.",
80 "location": "query",
81 "type": "string"
Yoshi Automation Botb6971b02020-11-26 17:16:03 -080082 },
83 "prettyPrint": {
84 "default": "true",
Yoshi Automation Botb6971b02020-11-26 17:16:03 -080085 "description": "Returns response with indentations and line breaks.",
Anthonios Partheniou10f4b672021-04-13 14:47:53 -040086 "location": "query",
87 "type": "boolean"
88 },
89 "quotaUser": {
90 "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.",
91 "location": "query",
92 "type": "string"
Yoshi Automation Botb6971b02020-11-26 17:16:03 -080093 },
94 "uploadType": {
Anthonios Partheniou10f4b672021-04-13 14:47:53 -040095 "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
Yoshi Automation Botb6971b02020-11-26 17:16:03 -080096 "location": "query",
Anthonios Partheniou10f4b672021-04-13 14:47:53 -040097 "type": "string"
98 },
99 "upload_protocol": {
100 "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
101 "location": "query",
102 "type": "string"
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800103 }
104 },
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400105 "protocol": "rest",
106 "resources": {
107 "managedShortLinks": {
108 "methods": {
109 "create": {
110 "description": "Creates a managed short Dynamic Link given either a valid long Dynamic Link or details such as Dynamic Link domain, Android and iOS app information. The created short Dynamic Link will not expire. This differs from CreateShortDynamicLink in the following ways: - The request will also contain a name for the link (non unique name for the front end). - The response must be authenticated with an auth token (generated with the admin service account). - The link will appear in the FDL list of links in the console front end. The Dynamic Link domain in the request must be owned by requester's Firebase project.",
111 "flatPath": "v1/managedShortLinks:create",
112 "httpMethod": "POST",
113 "id": "firebasedynamiclinks.managedShortLinks.create",
114 "parameterOrder": [],
115 "parameters": {},
116 "path": "v1/managedShortLinks:create",
117 "request": {
118 "$ref": "CreateManagedShortLinkRequest"
119 },
120 "response": {
121 "$ref": "CreateManagedShortLinkResponse"
122 },
123 "scopes": [
124 "https://www.googleapis.com/auth/firebase"
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800125 ]
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800126 }
127 }
128 },
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400129 "shortLinks": {
130 "methods": {
131 "create": {
132 "description": "Creates a short Dynamic Link given either a valid long Dynamic Link or details such as Dynamic Link domain, Android and iOS app information. The created short Dynamic Link will not expire. Repeated calls with the same long Dynamic Link or Dynamic Link information will produce the same short Dynamic Link. The Dynamic Link domain in the request must be owned by requester's Firebase project.",
133 "flatPath": "v1/shortLinks",
134 "httpMethod": "POST",
135 "id": "firebasedynamiclinks.shortLinks.create",
136 "parameterOrder": [],
137 "parameters": {},
138 "path": "v1/shortLinks",
139 "request": {
140 "$ref": "CreateShortDynamicLinkRequest"
141 },
142 "response": {
143 "$ref": "CreateShortDynamicLinkResponse"
144 },
145 "scopes": [
146 "https://www.googleapis.com/auth/firebase"
147 ]
148 }
149 }
150 },
151 "v1": {
152 "methods": {
153 "getLinkStats": {
154 "description": "Fetches analytics stats of a short Dynamic Link for a given duration. Metrics include number of clicks, redirects, installs, app first opens, and app reopens.",
155 "flatPath": "v1/{dynamicLink}/linkStats",
156 "httpMethod": "GET",
157 "id": "firebasedynamiclinks.getLinkStats",
158 "parameterOrder": [
159 "dynamicLink"
160 ],
161 "parameters": {
162 "durationDays": {
163 "description": "The span of time requested in days.",
164 "format": "int64",
165 "location": "query",
166 "type": "string"
167 },
168 "dynamicLink": {
169 "description": "Dynamic Link URL. e.g. https://abcd.app.goo.gl/wxyz",
170 "location": "path",
171 "required": true,
172 "type": "string"
173 },
174 "sdkVersion": {
175 "description": "Google SDK version. Version takes the form \"$major.$minor.$patch\"",
176 "location": "query",
177 "type": "string"
178 }
179 },
180 "path": "v1/{dynamicLink}/linkStats",
181 "response": {
182 "$ref": "DynamicLinkStats"
183 },
184 "scopes": [
185 "https://www.googleapis.com/auth/firebase"
186 ]
187 },
188 "installAttribution": {
189 "description": "Get iOS strong/weak-match info for post-install attribution.",
190 "flatPath": "v1/installAttribution",
191 "httpMethod": "POST",
192 "id": "firebasedynamiclinks.installAttribution",
193 "parameterOrder": [],
194 "parameters": {},
195 "path": "v1/installAttribution",
196 "request": {
197 "$ref": "GetIosPostInstallAttributionRequest"
198 },
199 "response": {
200 "$ref": "GetIosPostInstallAttributionResponse"
201 },
202 "scopes": [
203 "https://www.googleapis.com/auth/firebase"
204 ]
205 },
206 "reopenAttribution": {
207 "description": "Get iOS reopen attribution for app universal link open deeplinking.",
208 "flatPath": "v1/reopenAttribution",
209 "httpMethod": "POST",
210 "id": "firebasedynamiclinks.reopenAttribution",
211 "parameterOrder": [],
212 "parameters": {},
213 "path": "v1/reopenAttribution",
214 "request": {
215 "$ref": "GetIosReopenAttributionRequest"
216 },
217 "response": {
218 "$ref": "GetIosReopenAttributionResponse"
219 },
220 "scopes": [
221 "https://www.googleapis.com/auth/firebase"
222 ]
223 }
224 }
225 }
226 },
yoshi-code-bot31fbcc02021-06-02 00:52:03 -0700227 "revision": "20210528",
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400228 "rootUrl": "https://firebasedynamiclinks.googleapis.com/",
229 "schemas": {
230 "AnalyticsInfo": {
231 "description": "Tracking parameters supported by Dynamic Link.",
232 "id": "AnalyticsInfo",
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800233 "properties": {
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400234 "googlePlayAnalytics": {
235 "$ref": "GooglePlayAnalytics",
236 "description": "Google Play Campaign Measurements."
237 },
238 "itunesConnectAnalytics": {
239 "$ref": "ITunesConnectAnalytics",
240 "description": "iTunes Connect App Analytics."
241 }
242 },
243 "type": "object"
244 },
245 "AndroidInfo": {
246 "description": "Android related attributes to the Dynamic Link.",
247 "id": "AndroidInfo",
248 "properties": {
249 "androidFallbackLink": {
250 "description": "Link to open on Android if the app is not installed.",
251 "type": "string"
252 },
253 "androidLink": {
254 "description": "If specified, this overrides the \u2018link\u2019 parameter on Android.",
255 "type": "string"
256 },
257 "androidMinPackageVersionCode": {
258 "description": "Minimum version code for the Android app. If the installed app\u2019s version code is lower, then the user is taken to the Play Store.",
259 "type": "string"
260 },
261 "androidPackageName": {
262 "description": "Android package name of the app.",
263 "type": "string"
264 }
265 },
266 "type": "object"
267 },
268 "CreateManagedShortLinkRequest": {
269 "description": "Request to create a managed Short Dynamic Link.",
270 "id": "CreateManagedShortLinkRequest",
271 "properties": {
272 "dynamicLinkInfo": {
273 "$ref": "DynamicLinkInfo",
274 "description": "Information about the Dynamic Link to be shortened. [Learn more](https://firebase.google.com/docs/reference/dynamic-links/link-shortener)."
275 },
276 "longDynamicLink": {
277 "description": "Full long Dynamic Link URL with desired query parameters specified. For example, \"https://sample.app.goo.gl/?link=http://www.google.com&apn=com.sample\", [Learn more](https://firebase.google.com/docs/reference/dynamic-links/link-shortener).",
278 "type": "string"
279 },
280 "name": {
281 "description": "Link name to associate with the link. It's used for marketer to identify manually-created links in the Firebase console (https://console.firebase.google.com/). Links must be named to be tracked.",
282 "type": "string"
283 },
284 "sdkVersion": {
285 "description": "Google SDK version. Version takes the form \"$major.$minor.$patch\"",
286 "type": "string"
287 },
288 "suffix": {
289 "$ref": "Suffix",
290 "description": "Short Dynamic Link suffix. Optional."
291 }
292 },
293 "type": "object"
294 },
295 "CreateManagedShortLinkResponse": {
296 "description": "Response to create a short Dynamic Link.",
297 "id": "CreateManagedShortLinkResponse",
298 "properties": {
299 "managedShortLink": {
300 "$ref": "ManagedShortLink",
301 "description": "Short Dynamic Link value. e.g. https://abcd.app.goo.gl/wxyz"
302 },
303 "previewLink": {
304 "description": "Preview link to show the link flow chart. (debug info.)",
305 "type": "string"
306 },
307 "warning": {
308 "description": "Information about potential warnings on link creation.",
309 "items": {
310 "$ref": "DynamicLinkWarning"
311 },
312 "type": "array"
313 }
314 },
315 "type": "object"
316 },
317 "CreateShortDynamicLinkRequest": {
318 "description": "Request to create a short Dynamic Link.",
319 "id": "CreateShortDynamicLinkRequest",
320 "properties": {
321 "dynamicLinkInfo": {
322 "$ref": "DynamicLinkInfo",
323 "description": "Information about the Dynamic Link to be shortened. [Learn more](https://firebase.google.com/docs/reference/dynamic-links/link-shortener)."
324 },
325 "longDynamicLink": {
326 "description": "Full long Dynamic Link URL with desired query parameters specified. For example, \"https://sample.app.goo.gl/?link=http://www.google.com&apn=com.sample\", [Learn more](https://firebase.google.com/docs/reference/dynamic-links/link-shortener).",
327 "type": "string"
328 },
329 "sdkVersion": {
330 "description": "Google SDK version. Version takes the form \"$major.$minor.$patch\"",
331 "type": "string"
332 },
333 "suffix": {
334 "$ref": "Suffix",
335 "description": "Short Dynamic Link suffix. Optional."
336 }
337 },
338 "type": "object"
339 },
340 "CreateShortDynamicLinkResponse": {
341 "description": "Response to create a short Dynamic Link.",
342 "id": "CreateShortDynamicLinkResponse",
343 "properties": {
344 "previewLink": {
345 "description": "Preview link to show the link flow chart. (debug info.)",
346 "type": "string"
347 },
348 "shortLink": {
349 "description": "Short Dynamic Link value. e.g. https://abcd.app.goo.gl/wxyz",
350 "type": "string"
351 },
352 "warning": {
353 "description": "Information about potential warnings on link creation.",
354 "items": {
355 "$ref": "DynamicLinkWarning"
356 },
357 "type": "array"
358 }
359 },
360 "type": "object"
361 },
362 "DesktopInfo": {
363 "description": "Desktop related attributes to the Dynamic Link.",
364 "id": "DesktopInfo",
365 "properties": {
366 "desktopFallbackLink": {
367 "description": "Link to open on desktop.",
368 "type": "string"
369 }
370 },
371 "type": "object"
372 },
373 "DeviceInfo": {
374 "description": "Signals associated with the device making the request.",
375 "id": "DeviceInfo",
376 "properties": {
377 "deviceModelName": {
378 "description": "Device model name.",
379 "type": "string"
380 },
381 "languageCode": {
382 "description": "Device language code setting.",
383 "type": "string"
384 },
385 "languageCodeFromWebview": {
386 "description": "Device language code setting obtained by executing JavaScript code in WebView.",
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800387 "type": "string"
388 },
389 "languageCodeRaw": {
390 "description": "Device language code raw setting. iOS does returns language code in different format than iOS WebView. For example WebView returns en_US, but iOS returns en-US. Field below will return raw value returned by iOS.",
391 "type": "string"
392 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800393 "screenResolutionHeight": {
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800394 "description": "Device display resolution height.",
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800395 "format": "int64",
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800396 "type": "string"
397 },
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400398 "screenResolutionWidth": {
399 "description": "Device display resolution width.",
400 "format": "int64",
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800401 "type": "string"
402 },
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400403 "timezone": {
404 "description": "Device timezone setting.",
405 "type": "string"
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800406 }
407 },
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400408 "type": "object"
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800409 },
410 "DynamicLinkEventStat": {
411 "description": "Dynamic Link event stat.",
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800412 "id": "DynamicLinkEventStat",
413 "properties": {
414 "count": {
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400415 "description": "The number of times this event occurred.",
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800416 "format": "int64",
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400417 "type": "string"
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800418 },
419 "event": {
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400420 "description": "Link event.",
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800421 "enum": [
422 "DYNAMIC_LINK_EVENT_UNSPECIFIED",
423 "CLICK",
424 "REDIRECT",
425 "APP_INSTALL",
426 "APP_FIRST_OPEN",
427 "APP_RE_OPEN"
428 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800429 "enumDescriptions": [
430 "Unspecified type.",
431 "Indicates that an FDL is clicked by users.",
432 "Indicates that an FDL redirects users to fallback link.",
433 "Indicates that an FDL triggers an app install from Play store, currently it's impossible to get stats from App store.",
434 "Indicates that the app is opened for the first time after an install triggered by FDLs",
435 "Indicates that the app is opened via an FDL for non-first time."
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400436 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800437 "type": "string"
438 },
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400439 "platform": {
440 "description": "Requested platform.",
441 "enum": [
442 "DYNAMIC_LINK_PLATFORM_UNSPECIFIED",
443 "ANDROID",
444 "IOS",
445 "DESKTOP",
446 "OTHER"
447 ],
448 "enumDescriptions": [
449 "Unspecified platform.",
450 "Represents Android platform. All apps and browsers on Android are classfied in this category.",
451 "Represents iOS platform. All apps and browsers on iOS are classfied in this category.",
452 "Represents desktop.",
453 "Platforms are not categorized as Android/iOS/Destop fall into here."
454 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800455 "type": "string"
456 }
457 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800458 "type": "object"
459 },
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400460 "DynamicLinkInfo": {
461 "description": "Information about a Dynamic Link.",
462 "id": "DynamicLinkInfo",
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800463 "properties": {
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400464 "analyticsInfo": {
465 "$ref": "AnalyticsInfo",
466 "description": "Parameters used for tracking. See all tracking parameters in the [documentation](https://firebase.google.com/docs/dynamic-links/create-manually)."
467 },
468 "androidInfo": {
469 "$ref": "AndroidInfo",
470 "description": "Android related information. See Android related parameters in the [documentation](https://firebase.google.com/docs/dynamic-links/create-manually)."
471 },
472 "desktopInfo": {
473 "$ref": "DesktopInfo",
474 "description": "Desktop related information. See desktop related parameters in the [documentation](https://firebase.google.com/docs/dynamic-links/create-manually)."
475 },
476 "domainUriPrefix": {
477 "description": "E.g. https://maps.app.goo.gl, https://maps.page.link, https://g.co/maps More examples can be found in description of getNormalizedUriPrefix in j/c/g/firebase/dynamiclinks/uri/DdlDomain.java Will fallback to dynamic_link_domain is this field is missing",
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800478 "type": "string"
479 },
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400480 "dynamicLinkDomain": {
481 "description": "Dynamic Links domain that the project owns, e.g. abcd.app.goo.gl [Learn more](https://firebase.google.com/docs/dynamic-links/android/receive) on how to set up Dynamic Link domain associated with your Firebase project. Required if missing domain_uri_prefix.",
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800482 "type": "string"
483 },
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400484 "iosInfo": {
485 "$ref": "IosInfo",
486 "description": "iOS related information. See iOS related parameters in the [documentation](https://firebase.google.com/docs/dynamic-links/create-manually)."
487 },
488 "link": {
489 "description": "The link your app will open, You can specify any URL your app can handle. This link must be a well-formatted URL, be properly URL-encoded, and use the HTTP or HTTPS scheme. See 'link' parameters in the [documentation](https://firebase.google.com/docs/dynamic-links/create-manually). Required.",
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800490 "type": "string"
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400491 },
492 "navigationInfo": {
493 "$ref": "NavigationInfo",
494 "description": "Information of navigation behavior of a Firebase Dynamic Links."
495 },
496 "socialMetaTagInfo": {
497 "$ref": "SocialMetaTagInfo",
498 "description": "Parameters for social meta tag params. Used to set meta tag data for link previews on social sites."
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800499 }
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400500 },
501 "type": "object"
502 },
503 "DynamicLinkStats": {
504 "description": "Analytics stats of a Dynamic Link for a given timeframe.",
505 "id": "DynamicLinkStats",
506 "properties": {
507 "linkEventStats": {
508 "description": "Dynamic Link event stats.",
509 "items": {
510 "$ref": "DynamicLinkEventStat"
511 },
512 "type": "array"
513 }
514 },
515 "type": "object"
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800516 },
517 "DynamicLinkWarning": {
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800518 "description": "Dynamic Links warning messages.",
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400519 "id": "DynamicLinkWarning",
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800520 "properties": {
521 "warningCode": {
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400522 "description": "The warning code.",
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800523 "enum": [
524 "CODE_UNSPECIFIED",
525 "NOT_IN_PROJECT_ANDROID_PACKAGE_NAME",
526 "NOT_INTEGER_ANDROID_PACKAGE_MIN_VERSION",
527 "UNNECESSARY_ANDROID_PACKAGE_MIN_VERSION",
528 "NOT_URI_ANDROID_LINK",
529 "UNNECESSARY_ANDROID_LINK",
530 "NOT_URI_ANDROID_FALLBACK_LINK",
531 "BAD_URI_SCHEME_ANDROID_FALLBACK_LINK",
532 "NOT_IN_PROJECT_IOS_BUNDLE_ID",
533 "NOT_IN_PROJECT_IPAD_BUNDLE_ID",
534 "UNNECESSARY_IOS_URL_SCHEME",
535 "NOT_NUMERIC_IOS_APP_STORE_ID",
536 "UNNECESSARY_IOS_APP_STORE_ID",
537 "NOT_URI_IOS_FALLBACK_LINK",
538 "BAD_URI_SCHEME_IOS_FALLBACK_LINK",
539 "NOT_URI_IPAD_FALLBACK_LINK",
540 "BAD_URI_SCHEME_IPAD_FALLBACK_LINK",
541 "BAD_DEBUG_PARAM",
542 "BAD_AD_PARAM",
543 "DEPRECATED_PARAM",
544 "UNRECOGNIZED_PARAM",
545 "TOO_LONG_PARAM",
546 "NOT_URI_SOCIAL_IMAGE_LINK",
547 "BAD_URI_SCHEME_SOCIAL_IMAGE_LINK",
548 "NOT_URI_SOCIAL_URL",
549 "BAD_URI_SCHEME_SOCIAL_URL",
550 "LINK_LENGTH_TOO_LONG",
551 "LINK_WITH_FRAGMENTS",
552 "NOT_MATCHING_IOS_BUNDLE_ID_AND_STORE_ID"
553 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800554 "enumDescriptions": [
555 "Unknown code.",
556 "The Android package does not match any in developer's DevConsole project.",
557 "The Android minimum version code has to be a valid integer.",
558 "Android package min version param is not needed, e.g. when 'apn' is missing.",
559 "Android link is not a valid URI.",
560 "Android link param is not needed, e.g. when param 'al' and 'link' have the same value..",
561 "Android fallback link is not a valid URI.",
562 "Android fallback link has an invalid (non http/https) URI scheme.",
563 "The iOS bundle ID does not match any in developer's DevConsole project.",
564 "The iPad bundle ID does not match any in developer's DevConsole project.",
565 "iOS URL scheme is not needed, e.g. when 'ibi' are 'ipbi' are all missing.",
566 "iOS app store ID format is incorrect, e.g. not numeric.",
567 "iOS app store ID is not needed.",
568 "iOS fallback link is not a valid URI.",
569 "iOS fallback link has an invalid (non http/https) URI scheme.",
570 "iPad fallback link is not a valid URI.",
571 "iPad fallback link has an invalid (non http/https) URI scheme.",
572 "Debug param format is incorrect.",
573 "isAd param format is incorrect.",
574 "Indicates a certain param is deprecated.",
575 "Indicates certain paramater is not recognized.",
576 "Indicates certain paramater is too long.",
577 "Social meta tag image link is not a valid URI.",
578 "Social meta tag image link has an invalid (non http/https) URI scheme.",
579 "",
580 "",
581 "Dynamic Link URL length is too long.",
582 "Dynamic Link URL contains fragments.",
583 "The iOS bundle ID does not match with the given iOS store ID."
584 ],
585 "type": "string"
586 },
587 "warningDocumentLink": {
588 "description": "The document describing the warning, and helps resolve.",
589 "type": "string"
590 },
591 "warningMessage": {
592 "description": "The warning message to help developers improve their requests.",
593 "type": "string"
594 }
595 },
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400596 "type": "object"
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800597 },
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400598 "GetIosPostInstallAttributionRequest": {
599 "description": "Request for iSDK to execute strong match flow for post-install attribution. This is meant for iOS requests only. Requests from other platforms will not be honored.",
600 "id": "GetIosPostInstallAttributionRequest",
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800601 "properties": {
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400602 "appInstallationTime": {
603 "description": "App installation epoch time (https://en.wikipedia.org/wiki/Unix_time). This is a client signal for a more accurate weak match.",
604 "format": "int64",
605 "type": "string"
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800606 },
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400607 "bundleId": {
608 "description": "APP bundle ID.",
609 "type": "string"
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800610 },
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400611 "device": {
612 "$ref": "DeviceInfo",
613 "description": "Device information."
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800614 },
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400615 "iosVersion": {
616 "description": "iOS version, ie: 9.3.5. Consider adding \"build\".",
617 "type": "string"
618 },
619 "retrievalMethod": {
620 "description": "App post install attribution retrieval information. Disambiguates mechanism (iSDK or developer invoked) to retrieve payload from clicked link.",
621 "enum": [
622 "UNKNOWN_PAYLOAD_RETRIEVAL_METHOD",
623 "IMPLICIT_WEAK_MATCH",
624 "EXPLICIT_WEAK_MATCH",
625 "EXPLICIT_STRONG_AFTER_WEAK_MATCH"
626 ],
627 "enumDescriptions": [
628 "Unknown method.",
629 "iSDK performs a server lookup by device fingerprint in the background when app is first-opened; no API called by developer.",
630 "iSDK performs a server lookup by device fingerprint upon a dev API call.",
631 "iSDK performs a strong match only if weak match is found upon a dev API call."
632 ],
633 "type": "string"
634 },
635 "sdkVersion": {
636 "description": "Google SDK version. Version takes the form \"$major.$minor.$patch\"",
637 "type": "string"
638 },
639 "uniqueMatchLinkToCheck": {
640 "description": "Possible unique matched link that server need to check before performing fingerprint match. If passed link is short server need to expand the link. If link is long server need to vslidate the link.",
641 "type": "string"
642 },
643 "visualStyle": {
644 "description": "Strong match page information. Disambiguates between default UI and custom page to present when strong match succeeds/fails to find cookie.",
645 "enum": [
646 "UNKNOWN_VISUAL_STYLE",
647 "DEFAULT_STYLE",
648 "CUSTOM_STYLE"
649 ],
650 "enumDescriptions": [
651 "Unknown style.",
652 "Default style.",
653 "Custom style."
654 ],
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800655 "type": "string"
656 }
657 },
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800658 "type": "object"
659 },
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400660 "GetIosPostInstallAttributionResponse": {
661 "description": "Response for iSDK to execute strong match flow for post-install attribution.",
662 "id": "GetIosPostInstallAttributionResponse",
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800663 "properties": {
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400664 "appMinimumVersion": {
665 "description": "The minimum version for app, specified by dev through ?imv= parameter. Return to iSDK to allow app to evaluate if current version meets this.",
666 "type": "string"
667 },
668 "attributionConfidence": {
669 "description": "The confidence of the returned attribution.",
670 "enum": [
671 "UNKNOWN_ATTRIBUTION_CONFIDENCE",
672 "WEAK",
673 "DEFAULT",
674 "UNIQUE"
675 ],
676 "enumDescriptions": [
677 "Unset.",
678 "Weak confidence, more than one matching link found or link suspected to be false positive",
679 "Default confidence, match based on fingerprint",
680 "Unique confidence, match based on \"unique match link to check\" or other means"
681 ],
682 "type": "string"
683 },
684 "deepLink": {
685 "description": "The deep-link attributed post-install via one of several techniques (fingerprint, copy unique).",
686 "type": "string"
687 },
688 "externalBrowserDestinationLink": {
689 "description": "User-agent specific custom-scheme URIs for iSDK to open. This will be set according to the user-agent tha the click was originally made in. There is no Safari-equivalent custom-scheme open URLs. ie: googlechrome://www.example.com ie: firefox://open-url?url=http://www.example.com ie: opera-http://example.com",
690 "type": "string"
691 },
692 "fallbackLink": {
693 "description": "The link to navigate to update the app if min version is not met. This is either (in order): 1) fallback link (from ?ifl= parameter, if specified by developer) or 2) AppStore URL (from ?isi= parameter, if specified), or 3) the payload link (from required link= parameter).",
694 "type": "string"
695 },
696 "invitationId": {
697 "description": "Invitation ID attributed post-install via one of several techniques (fingerprint, copy unique).",
698 "type": "string"
699 },
700 "isStrongMatchExecutable": {
701 "description": "Instruction for iSDK to attemmpt to perform strong match. For instance, if browser does not support/allow cookie or outside of support browsers, this will be false.",
702 "type": "boolean"
703 },
704 "matchMessage": {
705 "description": "Describes why match failed, ie: \"discarded due to low confidence\". This message will be publicly visible.",
706 "type": "string"
707 },
708 "requestIpVersion": {
709 "description": "Which IP version the request was made from.",
710 "enum": [
711 "UNKNOWN_IP_VERSION",
712 "IP_V4",
713 "IP_V6"
714 ],
715 "enumDescriptions": [
716 "Unset.",
717 "Request made from an IPv4 IP address.",
718 "Request made from an IPv6 IP address."
719 ],
720 "type": "string"
721 },
722 "requestedLink": {
723 "description": "Entire FDL (short or long) attributed post-install via one of several techniques (fingerprint, copy unique).",
724 "type": "string"
725 },
726 "resolvedLink": {
727 "description": "The entire FDL, expanded from a short link. It is the same as the requested_link, if it is long. Parameters from this should not be used directly (ie: server can default utm_[campaign|medium|source] to a value when requested_link lack them, server determine the best fallback_link when requested_link specifies >1 fallback links).",
728 "type": "string"
729 },
730 "utmCampaign": {
731 "description": "Scion campaign value to be propagated by iSDK to Scion at post-install.",
732 "type": "string"
733 },
734 "utmContent": {
735 "description": "Scion content value to be propagated by iSDK to Scion at app-reopen.",
736 "type": "string"
737 },
738 "utmMedium": {
739 "description": "Scion medium value to be propagated by iSDK to Scion at post-install.",
740 "type": "string"
741 },
742 "utmSource": {
743 "description": "Scion source value to be propagated by iSDK to Scion at post-install.",
744 "type": "string"
745 },
746 "utmTerm": {
747 "description": "Scion term value to be propagated by iSDK to Scion at app-reopen.",
748 "type": "string"
749 }
750 },
751 "type": "object"
752 },
753 "GetIosReopenAttributionRequest": {
754 "description": "Request for iSDK to get reopen attribution for app universal link open deeplinking. This endpoint is meant for only iOS requests.",
755 "id": "GetIosReopenAttributionRequest",
756 "properties": {
757 "bundleId": {
758 "description": "APP bundle ID.",
759 "type": "string"
760 },
761 "requestedLink": {
762 "description": "FDL link to be verified from an app universal link open. The FDL link can be one of: 1) short FDL. e.g. .page.link/, or 2) long FDL. e.g. .page.link/?{query params}, or 3) Invite FDL. e.g. .page.link/i/",
763 "type": "string"
764 },
765 "sdkVersion": {
766 "description": "Google SDK version. Version takes the form \"$major.$minor.$patch\"",
767 "type": "string"
768 }
769 },
770 "type": "object"
771 },
772 "GetIosReopenAttributionResponse": {
773 "description": "Response for iSDK to get reopen attribution for app universal link open deeplinking. This endpoint is meant for only iOS requests.",
774 "id": "GetIosReopenAttributionResponse",
775 "properties": {
776 "deepLink": {
777 "description": "The deep-link attributed the app universal link open. For both regular FDL links and invite FDL links.",
778 "type": "string"
779 },
780 "invitationId": {
781 "description": "Optional invitation ID, for only invite typed requested FDL links.",
782 "type": "string"
783 },
784 "iosMinAppVersion": {
785 "description": "FDL input value of the \"&imv=\" parameter, minimum app version to be returned to Google Firebase SDK running on iOS-9.",
786 "type": "string"
787 },
788 "resolvedLink": {
789 "description": "The entire FDL, expanded from a short link. It is the same as the requested_link, if it is long.",
790 "type": "string"
791 },
792 "utmCampaign": {
793 "description": "Scion campaign value to be propagated by iSDK to Scion at app-reopen.",
794 "type": "string"
795 },
796 "utmContent": {
797 "description": "Scion content value to be propagated by iSDK to Scion at app-reopen.",
798 "type": "string"
799 },
800 "utmMedium": {
801 "description": "Scion medium value to be propagated by iSDK to Scion at app-reopen.",
802 "type": "string"
803 },
804 "utmSource": {
805 "description": "Scion source value to be propagated by iSDK to Scion at app-reopen.",
806 "type": "string"
807 },
808 "utmTerm": {
809 "description": "Scion term value to be propagated by iSDK to Scion at app-reopen.",
810 "type": "string"
811 }
812 },
813 "type": "object"
814 },
815 "GooglePlayAnalytics": {
816 "description": "Parameters for Google Play Campaign Measurements. [Learn more](https://developers.google.com/analytics/devguides/collection/android/v4/campaigns#campaign-params)",
817 "id": "GooglePlayAnalytics",
818 "properties": {
819 "gclid": {
820 "description": "[AdWords autotagging parameter](https://support.google.com/analytics/answer/1033981?hl=en); used to measure Google AdWords ads. This value is generated dynamically and should never be modified.",
821 "type": "string"
822 },
823 "utmCampaign": {
824 "description": "Campaign name; used for keyword analysis to identify a specific product promotion or strategic campaign.",
825 "type": "string"
826 },
827 "utmContent": {
828 "description": "Campaign content; used for A/B testing and content-targeted ads to differentiate ads or links that point to the same URL.",
829 "type": "string"
830 },
831 "utmMedium": {
832 "description": "Campaign medium; used to identify a medium such as email or cost-per-click.",
833 "type": "string"
834 },
835 "utmSource": {
836 "description": "Campaign source; used to identify a search engine, newsletter, or other source.",
837 "type": "string"
838 },
839 "utmTerm": {
840 "description": "Campaign term; used with paid search to supply the keywords for ads.",
841 "type": "string"
842 }
843 },
844 "type": "object"
845 },
846 "ITunesConnectAnalytics": {
847 "description": "Parameters for iTunes Connect App Analytics.",
848 "id": "ITunesConnectAnalytics",
849 "properties": {
850 "at": {
851 "description": "Affiliate token used to create affiliate-coded links.",
852 "type": "string"
853 },
854 "ct": {
855 "description": "Campaign text that developers can optionally add to any link in order to track sales from a specific marketing campaign.",
856 "type": "string"
857 },
858 "mt": {
859 "description": "iTune media types, including music, podcasts, audiobooks and so on.",
860 "type": "string"
861 },
862 "pt": {
863 "description": "Provider token that enables analytics for Dynamic Links from within iTunes Connect.",
864 "type": "string"
865 }
866 },
867 "type": "object"
868 },
869 "IosInfo": {
870 "description": "iOS related attributes to the Dynamic Link..",
871 "id": "IosInfo",
872 "properties": {
873 "iosAppStoreId": {
874 "description": "iOS App Store ID.",
875 "type": "string"
876 },
877 "iosBundleId": {
878 "description": "iOS bundle ID of the app.",
879 "type": "string"
880 },
881 "iosCustomScheme": {
882 "description": "Custom (destination) scheme to use for iOS. By default, we\u2019ll use the bundle ID as the custom scheme. Developer can override this behavior using this param.",
883 "type": "string"
884 },
885 "iosFallbackLink": {
886 "description": "Link to open on iOS if the app is not installed.",
887 "type": "string"
888 },
889 "iosIpadBundleId": {
890 "description": "iPad bundle ID of the app.",
891 "type": "string"
892 },
893 "iosIpadFallbackLink": {
894 "description": "If specified, this overrides the ios_fallback_link value on iPads.",
895 "type": "string"
896 },
897 "iosMinimumVersion": {
898 "description": "iOS minimum version.",
899 "type": "string"
900 }
901 },
902 "type": "object"
903 },
904 "ManagedShortLink": {
905 "description": "Managed Short Link.",
906 "id": "ManagedShortLink",
907 "properties": {
908 "creationTime": {
909 "description": "Creation timestamp of the short link.",
910 "format": "google-datetime",
911 "type": "string"
912 },
913 "flaggedAttribute": {
914 "description": "Attributes that have been flagged about this short url.",
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800915 "items": {
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400916 "enum": [
917 "UNSPECIFIED_ATTRIBUTE",
918 "SPAM"
919 ],
920 "enumDescriptions": [
921 "Indicates that no attributes were found for this short url.",
922 "Indicates that short url has been flagged by AbuseIAm team as spam."
923 ],
924 "type": "string"
Yoshi Automation Botb6971b02020-11-26 17:16:03 -0800925 },
Anthonios Partheniou10f4b672021-04-13 14:47:53 -0400926 "type": "array"
927 },
928 "info": {
929 "$ref": "DynamicLinkInfo",
930 "description": "Full Dyamic Link info"
931 },
932 "link": {
933 "description": "Short durable link url, for example, \"https://sample.app.goo.gl/xyz123\". Required.",
934 "type": "string"
935 },
936 "linkName": {
937 "description": "Link name defined by the creator. Required.",
938 "type": "string"
939 },
940 "visibility": {
941 "description": "Visibility status of link.",
942 "enum": [
943 "UNSPECIFIED_VISIBILITY",
944 "UNARCHIVED",
945 "ARCHIVED",
946 "NEVER_SHOWN"
947 ],
948 "enumDescriptions": [
949 "Visibility of the link is not specified.",
950 "Link created in console and should be shown in console.",
951 "Link created in console and should not be shown in console (but can be shown in the console again if it is unarchived).",
952 "Link created outside of console and should never be shown in console."
953 ],
954 "type": "string"
955 }
956 },
957 "type": "object"
958 },
959 "NavigationInfo": {
960 "description": "Information of navigation behavior.",
961 "id": "NavigationInfo",
962 "properties": {
963 "enableForcedRedirect": {
964 "description": "If this option is on, FDL click will be forced to redirect rather than show an interstitial page.",
965 "type": "boolean"
966 }
967 },
968 "type": "object"
969 },
970 "SocialMetaTagInfo": {
971 "description": "Parameters for social meta tag params. Used to set meta tag data for link previews on social sites.",
972 "id": "SocialMetaTagInfo",
973 "properties": {
974 "socialDescription": {
975 "description": "A short description of the link. Optional.",
976 "type": "string"
977 },
978 "socialImageLink": {
979 "description": "An image url string. Optional.",
980 "type": "string"
981 },
982 "socialTitle": {
983 "description": "Title to be displayed. Optional.",
984 "type": "string"
985 }
986 },
987 "type": "object"
988 },
989 "Suffix": {
990 "description": "Short Dynamic Link suffix.",
991 "id": "Suffix",
992 "properties": {
993 "customSuffix": {
994 "description": "Only applies to Option.CUSTOM.",
995 "type": "string"
996 },
997 "option": {
998 "description": "Suffix option.",
999 "enum": [
1000 "OPTION_UNSPECIFIED",
1001 "UNGUESSABLE",
1002 "SHORT",
1003 "CUSTOM"
1004 ],
1005 "enumDescriptions": [
1006 "The suffix option is not specified, performs as UNGUESSABLE .",
1007 "Short Dynamic Link suffix is a base62 [0-9A-Za-z] encoded string of a random generated 96 bit random number, which has a length of 17 chars. For example, \"nlAR8U4SlKRZw1cb2\". It prevents other people from guessing and crawling short Dynamic Links that contain personal identifiable information.",
1008 "Short Dynamic Link suffix is a base62 [0-9A-Za-z] string starting with a length of 4 chars. the length will increase when all the space is occupied.",
1009 "Custom DDL suffix is a client specified string, for example, \"buy2get1free\". NOTE: custom suffix should only be available to managed short link creation"
1010 ],
1011 "type": "string"
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001012 }
1013 },
1014 "type": "object"
1015 }
1016 },
Anthonios Partheniou10f4b672021-04-13 14:47:53 -04001017 "servicePath": "",
1018 "title": "Firebase Dynamic Links API",
Yoshi Automation Botb6971b02020-11-26 17:16:03 -08001019 "version": "v1",
Anthonios Partheniou10f4b672021-04-13 14:47:53 -04001020 "version_module": true
1021}