OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/firebase": { | 5 "https://www.googleapis.com/auth/firebase": { |
6 "description": "View and administer all your Firebase data a
nd settings" | 6 "description": "View and administer all your Firebase data a
nd settings" |
7 } | 7 } |
8 } | 8 } |
9 } | 9 } |
10 }, | 10 }, |
11 "basePath": "", | 11 "basePath": "", |
12 "baseUrl": "https://firebasedynamiclinks.googleapis.com/", | 12 "baseUrl": "https://firebasedynamiclinks.googleapis.com/", |
13 "batchPath": "batch", | 13 "batchPath": "batch", |
14 "canonicalName": "Firebase Dynamic Links", | 14 "canonicalName": "Firebase Dynamic Links", |
15 "description": "Firebase Dynamic Links API enables third party developers to
programmatically create and manage Dynamic Links.", | 15 "description": "Firebase Dynamic Links API enables third party developers to
programmatically create and manage Dynamic Links.", |
16 "discoveryVersion": "v1", | 16 "discoveryVersion": "v1", |
17 "documentationLink": "https://firebase.google.com/docs/dynamic-links/", | 17 "documentationLink": "https://firebase.google.com/docs/dynamic-links/", |
18 "icons": { | 18 "icons": { |
19 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 19 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
20 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 20 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
21 }, | 21 }, |
22 "id": "firebasedynamiclinks:v1", | 22 "id": "firebasedynamiclinks:v1", |
23 "kind": "discovery#restDescription", | 23 "kind": "discovery#restDescription", |
24 "name": "firebasedynamiclinks", | 24 "name": "firebasedynamiclinks", |
25 "ownerDomain": "google.com", | 25 "ownerDomain": "google.com", |
26 "ownerName": "Google", | 26 "ownerName": "Google", |
27 "parameters": { | 27 "parameters": { |
28 "alt": { | 28 "bearer_token": { |
29 "default": "json", | 29 "description": "OAuth bearer token.", |
30 "description": "Data format for response.", | |
31 "enum": [ | |
32 "json", | |
33 "media", | |
34 "proto" | |
35 ], | |
36 "enumDescriptions": [ | |
37 "Responses with Content-Type of application/json", | |
38 "Media download with context-dependent Content-Type", | |
39 "Responses with Content-Type of application/x-protobuf" | |
40 ], | |
41 "location": "query", | 30 "location": "query", |
42 "type": "string" | 31 "type": "string" |
43 }, | 32 }, |
44 "key": { | |
45 "description": "API key. Your API key identifies your project and pr
ovides you with API access, quota, and reports. Required unless you provide an O
Auth 2.0 token.", | |
46 "location": "query", | |
47 "type": "string" | |
48 }, | |
49 "access_token": { | |
50 "description": "OAuth access token.", | |
51 "location": "query", | |
52 "type": "string" | |
53 }, | |
54 "quotaUser": { | |
55 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters.", | |
56 "location": "query", | |
57 "type": "string" | |
58 }, | |
59 "pp": { | |
60 "default": "true", | |
61 "description": "Pretty-print response.", | |
62 "location": "query", | |
63 "type": "boolean" | |
64 }, | |
65 "oauth_token": { | 33 "oauth_token": { |
66 "description": "OAuth 2.0 token for the current user.", | 34 "description": "OAuth 2.0 token for the current user.", |
67 "location": "query", | 35 "location": "query", |
68 "type": "string" | 36 "type": "string" |
69 }, | 37 }, |
70 "bearer_token": { | |
71 "description": "OAuth bearer token.", | |
72 "location": "query", | |
73 "type": "string" | |
74 }, | |
75 "upload_protocol": { | 38 "upload_protocol": { |
76 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", | 39 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
77 "location": "query", | 40 "location": "query", |
78 "type": "string" | 41 "type": "string" |
79 }, | 42 }, |
80 "prettyPrint": { | 43 "prettyPrint": { |
81 "default": "true", | 44 "default": "true", |
82 "description": "Returns response with indentations and line breaks."
, | 45 "description": "Returns response with indentations and line breaks."
, |
83 "location": "query", | 46 "location": "query", |
84 "type": "boolean" | 47 "type": "boolean" |
85 }, | 48 }, |
86 "uploadType": { | 49 "uploadType": { |
87 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", | 50 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
88 "location": "query", | 51 "location": "query", |
89 "type": "string" | 52 "type": "string" |
90 }, | 53 }, |
91 "fields": { | 54 "fields": { |
92 "description": "Selector specifying which fields to include in a par
tial response.", | 55 "description": "Selector specifying which fields to include in a par
tial response.", |
93 "location": "query", | 56 "location": "query", |
94 "type": "string" | 57 "type": "string" |
95 }, | 58 }, |
| 59 "callback": { |
| 60 "description": "JSONP", |
| 61 "location": "query", |
| 62 "type": "string" |
| 63 }, |
96 "$.xgafv": { | 64 "$.xgafv": { |
97 "description": "V1 error format.", | 65 "description": "V1 error format.", |
98 "enum": [ | 66 "enum": [ |
99 "1", | 67 "1", |
100 "2" | 68 "2" |
101 ], | 69 ], |
102 "enumDescriptions": [ | 70 "enumDescriptions": [ |
103 "v1 error format", | 71 "v1 error format", |
104 "v2 error format" | 72 "v2 error format" |
105 ], | 73 ], |
106 "location": "query", | 74 "location": "query", |
107 "type": "string" | 75 "type": "string" |
108 }, | 76 }, |
109 "callback": { | 77 "alt": { |
110 "description": "JSONP", | 78 "default": "json", |
| 79 "description": "Data format for response.", |
| 80 "enum": [ |
| 81 "json", |
| 82 "media", |
| 83 "proto" |
| 84 ], |
| 85 "enumDescriptions": [ |
| 86 "Responses with Content-Type of application/json", |
| 87 "Media download with context-dependent Content-Type", |
| 88 "Responses with Content-Type of application/x-protobuf" |
| 89 ], |
111 "location": "query", | 90 "location": "query", |
112 "type": "string" | 91 "type": "string" |
| 92 }, |
| 93 "access_token": { |
| 94 "description": "OAuth access token.", |
| 95 "location": "query", |
| 96 "type": "string" |
| 97 }, |
| 98 "key": { |
| 99 "description": "API key. Your API key identifies your project and pr
ovides you with API access, quota, and reports. Required unless you provide an O
Auth 2.0 token.", |
| 100 "location": "query", |
| 101 "type": "string" |
| 102 }, |
| 103 "quotaUser": { |
| 104 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters.", |
| 105 "location": "query", |
| 106 "type": "string" |
| 107 }, |
| 108 "pp": { |
| 109 "default": "true", |
| 110 "description": "Pretty-print response.", |
| 111 "location": "query", |
| 112 "type": "boolean" |
113 } | 113 } |
114 }, | 114 }, |
115 "protocol": "rest", | 115 "protocol": "rest", |
116 "resources": { | 116 "resources": { |
117 "shortLinks": { | 117 "shortLinks": { |
118 "methods": { | 118 "methods": { |
119 "create": { | 119 "create": { |
120 "description": "Creates a short Dynamic Link given either a
valid long Dynamic Link or\ndetails such as Dynamic Link domain, Android and iOS
app information.\nThe created short Dynamic Link will not expire.\n\nRepeated c
alls with the same long Dynamic Link or Dynamic Link information\nwill produce t
he same short Dynamic Link.\n\nThe Dynamic Link domain in the request must be ow
ned by requester's\nFirebase project.", | 120 "description": "Creates a short Dynamic Link given either a
valid long Dynamic Link or\ndetails such as Dynamic Link domain, Android and iOS
app information.\nThe created short Dynamic Link will not expire.\n\nRepeated c
alls with the same long Dynamic Link or Dynamic Link information\nwill produce t
he same short Dynamic Link.\n\nThe Dynamic Link domain in the request must be ow
ned by requester's\nFirebase project.", |
121 "httpMethod": "POST", | 121 "httpMethod": "POST", |
122 "id": "firebasedynamiclinks.shortLinks.create", | 122 "id": "firebasedynamiclinks.shortLinks.create", |
123 "parameterOrder": [], | 123 "parameterOrder": [], |
124 "parameters": {}, | 124 "parameters": {}, |
125 "path": "v1/shortLinks", | 125 "path": "v1/shortLinks", |
126 "request": { | 126 "request": { |
127 "$ref": "CreateShortDynamicLinkRequest" | 127 "$ref": "CreateShortDynamicLinkRequest" |
128 }, | 128 }, |
129 "response": { | 129 "response": { |
130 "$ref": "CreateShortDynamicLinkResponse" | 130 "$ref": "CreateShortDynamicLinkResponse" |
131 }, | 131 }, |
132 "scopes": [ | 132 "scopes": [ |
133 "https://www.googleapis.com/auth/firebase" | 133 "https://www.googleapis.com/auth/firebase" |
134 ] | 134 ] |
135 } | 135 } |
136 } | 136 } |
137 } | 137 } |
138 }, | 138 }, |
139 "revision": "20170119", | 139 "revision": "20170210", |
140 "rootUrl": "https://firebasedynamiclinks.googleapis.com/", | 140 "rootUrl": "https://firebasedynamiclinks.googleapis.com/", |
141 "schemas": { | 141 "schemas": { |
| 142 "IosInfo": { |
| 143 "description": "iOS related attributes to the Dynamic Link..", |
| 144 "id": "IosInfo", |
| 145 "properties": { |
| 146 "iosIpadBundleId": { |
| 147 "description": "iPad bundle ID of the app.", |
| 148 "type": "string" |
| 149 }, |
| 150 "iosCustomScheme": { |
| 151 "description": "Custom (destination) scheme to use for iOS.
By default, we’ll use the\nbundle ID as the custom scheme. Developer can overrid
e this behavior using\nthis param.", |
| 152 "type": "string" |
| 153 }, |
| 154 "iosBundleId": { |
| 155 "description": "iOS bundle ID of the app.", |
| 156 "type": "string" |
| 157 }, |
| 158 "iosFallbackLink": { |
| 159 "description": "Link to open on iOS if the app is not instal
led.", |
| 160 "type": "string" |
| 161 }, |
| 162 "iosAppStoreId": { |
| 163 "description": "iOS App Store ID.", |
| 164 "type": "string" |
| 165 }, |
| 166 "iosIpadFallbackLink": { |
| 167 "description": "If specified, this overrides the ios_fallbac
k_link value on iPads.", |
| 168 "type": "string" |
| 169 } |
| 170 }, |
| 171 "type": "object" |
| 172 }, |
| 173 "CreateShortDynamicLinkResponse": { |
| 174 "description": "Response to create a short Dynamic Link.", |
| 175 "id": "CreateShortDynamicLinkResponse", |
| 176 "properties": { |
| 177 "warning": { |
| 178 "description": "Information about potential warnings on link
creation.", |
| 179 "items": { |
| 180 "$ref": "DynamicLinkWarning" |
| 181 }, |
| 182 "type": "array" |
| 183 }, |
| 184 "shortLink": { |
| 185 "description": "Short Dynamic Link value. e.g. https://abcd.
app.goo.gl/wxyz", |
| 186 "type": "string" |
| 187 }, |
| 188 "previewLink": { |
| 189 "description": "Preivew link to show the link flow chart.", |
| 190 "type": "string" |
| 191 } |
| 192 }, |
| 193 "type": "object" |
| 194 }, |
| 195 "AnalyticsInfo": { |
| 196 "description": "Tracking parameters supported by Dynamic Link.", |
| 197 "id": "AnalyticsInfo", |
| 198 "properties": { |
| 199 "itunesConnectAnalytics": { |
| 200 "$ref": "ITunesConnectAnalytics", |
| 201 "description": "iTunes Connect App Analytics." |
| 202 }, |
| 203 "googlePlayAnalytics": { |
| 204 "$ref": "GooglePlayAnalytics", |
| 205 "description": "Google Play Campaign Measurements." |
| 206 } |
| 207 }, |
| 208 "type": "object" |
| 209 }, |
| 210 "CreateShortDynamicLinkRequest": { |
| 211 "description": "Request to create a short Dynamic Link.", |
| 212 "id": "CreateShortDynamicLinkRequest", |
| 213 "properties": { |
| 214 "suffix": { |
| 215 "$ref": "Suffix", |
| 216 "description": "Short Dynamic Link suffix. Optional." |
| 217 }, |
| 218 "dynamicLinkInfo": { |
| 219 "$ref": "DynamicLinkInfo", |
| 220 "description": "Information about the Dynamic Link to be sho
rtened.\n[Learn more](https://firebase.google.com/docs/dynamic-links/android#cre
ate-a-dynamic-link-programmatically)." |
| 221 }, |
| 222 "longDynamicLink": { |
| 223 "description": "Full long Dynamic Link URL with desired quer
y parameters specified.\nFor example,\n\"https://sample.app.goo.gl/?link=http://
www.google.com&apn=com.sample\",\n[Learn more](https://firebase.google.com/docs/
dynamic-links/android#create-a-dynamic-link-programmatically).", |
| 224 "type": "string" |
| 225 } |
| 226 }, |
| 227 "type": "object" |
| 228 }, |
| 229 "Suffix": { |
| 230 "description": "Short Dynamic Link suffix.", |
| 231 "id": "Suffix", |
| 232 "properties": { |
| 233 "option": { |
| 234 "description": "Suffix option.", |
| 235 "enum": [ |
| 236 "OPTION_UNSPECIFIED", |
| 237 "UNGUESSABLE", |
| 238 "SHORT" |
| 239 ], |
| 240 "enumDescriptions": [ |
| 241 "The suffix option is not specified, performs as NOT_GUE
SSABLE .", |
| 242 "Short Dynamic Link suffix is a base62 [0-9A-Za-z] encod
ed string of\na random generated 96 bit random number, which has a length of 17
chars.\nFor example, \"nlAR8U4SlKRZw1cb2\".\nIt prevents other people from guess
ing and crawling short Dynamic Links\nthat contain personal identifiable informa
tion.", |
| 243 "Short Dynamic Link suffix is a base62 [0-9A-Za-z] strin
g starting with a\nlength of 4 chars. the length will increase when all the spac
e is\noccupied." |
| 244 ], |
| 245 "type": "string" |
| 246 } |
| 247 }, |
| 248 "type": "object" |
| 249 }, |
| 250 "GooglePlayAnalytics": { |
| 251 "description": "Parameters for Google Play Campaign Measurements.\n[
Learn more](https://developers.google.com/analytics/devguides/collection/android
/v4/campaigns#campaign-params)", |
| 252 "id": "GooglePlayAnalytics", |
| 253 "properties": { |
| 254 "utmMedium": { |
| 255 "description": "Campaign medium; used to identify a medium s
uch as email or cost-per-click.", |
| 256 "type": "string" |
| 257 }, |
| 258 "utmTerm": { |
| 259 "description": "Campaign term; used with paid search to supp
ly the keywords for ads.", |
| 260 "type": "string" |
| 261 }, |
| 262 "utmSource": { |
| 263 "description": "Campaign source; used to identify a search e
ngine, newsletter, or other\nsource.", |
| 264 "type": "string" |
| 265 }, |
| 266 "utmCampaign": { |
| 267 "description": "Campaign name; used for keyword analysis to
identify a specific product\npromotion or strategic campaign.", |
| 268 "type": "string" |
| 269 }, |
| 270 "gclid": { |
| 271 "description": "[AdWords autotagging parameter](https://supp
ort.google.com/analytics/answer/1033981?hl=en);\nused to measure Google AdWords
ads. This value is generated dynamically\nand should never be modified.", |
| 272 "type": "string" |
| 273 }, |
| 274 "utmContent": { |
| 275 "description": "Campaign content; used for A/B testing and c
ontent-targeted ads to\ndifferentiate ads or links that point to the same URL.", |
| 276 "type": "string" |
| 277 } |
| 278 }, |
| 279 "type": "object" |
| 280 }, |
142 "DynamicLinkInfo": { | 281 "DynamicLinkInfo": { |
143 "description": "Information about a Dynamic Link.", | 282 "description": "Information about a Dynamic Link.", |
144 "id": "DynamicLinkInfo", | 283 "id": "DynamicLinkInfo", |
145 "properties": { | 284 "properties": { |
146 "androidInfo": { | |
147 "$ref": "AndroidInfo", | |
148 "description": "Android related information. See Android rel
ated parameters in the\n[documentation](https://firebase.google.com/docs/dynamic
-links/android#create-a-dynamic-link-programmatically)." | |
149 }, | |
150 "analyticsInfo": { | 285 "analyticsInfo": { |
151 "$ref": "AnalyticsInfo", | 286 "$ref": "AnalyticsInfo", |
152 "description": "Parameters used for tracking. See all tracki
ng parameters in the\n[documentation](https://firebase.google.com/docs/dynamic-l
inks/android#create-a-dynamic-link-programmatically)." | 287 "description": "Parameters used for tracking. See all tracki
ng parameters in the\n[documentation](https://firebase.google.com/docs/dynamic-l
inks/android#create-a-dynamic-link-programmatically)." |
153 }, | 288 }, |
154 "dynamicLinkDomain": { | 289 "dynamicLinkDomain": { |
155 "description": "Dynamic Links domain that the project owns,
e.g. abcd.app.goo.gl\n[Learn more](https://firebase.google.com/docs/dynamic-link
s/android#set-up-firebase-and-the-dynamic-links-sdk)\non how to set up Dynamic L
ink domain associated with your Firebase project.\n\nRequired.", | 290 "description": "Dynamic Links domain that the project owns,
e.g. abcd.app.goo.gl\n[Learn more](https://firebase.google.com/docs/dynamic-link
s/android#set-up-firebase-and-the-dynamic-links-sdk)\non how to set up Dynamic L
ink domain associated with your Firebase project.\n\nRequired.", |
156 "type": "string" | 291 "type": "string" |
157 }, | 292 }, |
158 "link": { | 293 "link": { |
159 "description": "The link your app will open, You can specify
any URL your app can handle.\nThis link must be a well-formatted URL, be proper
ly URL-encoded, and use\nthe HTTP or HTTPS scheme. See 'link' parameters in the\
n[documentation](https://firebase.google.com/docs/dynamic-links/android#create-a
-dynamic-link-programmatically).\n\nRequired.", | 294 "description": "The link your app will open, You can specify
any URL your app can handle.\nThis link must be a well-formatted URL, be proper
ly URL-encoded, and use\nthe HTTP or HTTPS scheme. See 'link' parameters in the\
n[documentation](https://firebase.google.com/docs/dynamic-links/android#create-a
-dynamic-link-programmatically).\n\nRequired.", |
160 "type": "string" | 295 "type": "string" |
161 }, | 296 }, |
162 "iosInfo": { | 297 "iosInfo": { |
163 "$ref": "IosInfo", | 298 "$ref": "IosInfo", |
164 "description": "iOS related information. See iOS related par
ameters in the\n[documentation](https://firebase.google.com/docs/dynamic-links/i
os#create-a-dynamic-link-programmatically)." | 299 "description": "iOS related information. See iOS related par
ameters in the\n[documentation](https://firebase.google.com/docs/dynamic-links/i
os#create-a-dynamic-link-programmatically)." |
165 }, | 300 }, |
166 "socialMetaTagInfo": { | 301 "socialMetaTagInfo": { |
167 "$ref": "SocialMetaTagInfo", | 302 "$ref": "SocialMetaTagInfo", |
168 "description": "Parameters for social meta tag params.\nUsed
to set meta tag data for link previews on social sites." | 303 "description": "Parameters for social meta tag params.\nUsed
to set meta tag data for link previews on social sites." |
| 304 }, |
| 305 "androidInfo": { |
| 306 "$ref": "AndroidInfo", |
| 307 "description": "Android related information. See Android rel
ated parameters in the\n[documentation](https://firebase.google.com/docs/dynamic
-links/android#create-a-dynamic-link-programmatically)." |
169 } | 308 } |
170 }, | 309 }, |
171 "type": "object" | 310 "type": "object" |
172 }, | 311 }, |
173 "ITunesConnectAnalytics": { | 312 "ITunesConnectAnalytics": { |
174 "description": "Parameters for iTunes Connect App Analytics.", | 313 "description": "Parameters for iTunes Connect App Analytics.", |
175 "id": "ITunesConnectAnalytics", | 314 "id": "ITunesConnectAnalytics", |
176 "properties": { | 315 "properties": { |
| 316 "at": { |
| 317 "description": "Affiliate token used to create affiliate-cod
ed links.", |
| 318 "type": "string" |
| 319 }, |
177 "ct": { | 320 "ct": { |
178 "description": "Campaign text that developers can optionally
add to any link in order to\ntrack sales from a specific marketing campaign.", | 321 "description": "Campaign text that developers can optionally
add to any link in order to\ntrack sales from a specific marketing campaign.", |
179 "type": "string" | 322 "type": "string" |
180 }, | 323 }, |
181 "mt": { | 324 "mt": { |
182 "description": "iTune media types, including music, podcasts
, audiobooks and so on.", | 325 "description": "iTune media types, including music, podcasts
, audiobooks and so on.", |
183 "type": "string" | 326 "type": "string" |
184 }, | 327 }, |
185 "pt": { | 328 "pt": { |
186 "description": "Provider token that enables analytics for Dy
namic Links from within iTunes\nConnect.", | 329 "description": "Provider token that enables analytics for Dy
namic Links from within iTunes\nConnect.", |
187 "type": "string" | 330 "type": "string" |
188 }, | |
189 "at": { | |
190 "description": "Affiliate token used to create affiliate-cod
ed links.", | |
191 "type": "string" | |
192 } | 331 } |
193 }, | 332 }, |
194 "type": "object" | 333 "type": "object" |
195 }, | 334 }, |
196 "SocialMetaTagInfo": { | 335 "SocialMetaTagInfo": { |
197 "description": "Parameters for social meta tag params.\nUsed to set
meta tag data for link previews on social sites.", | 336 "description": "Parameters for social meta tag params.\nUsed to set
meta tag data for link previews on social sites.", |
198 "id": "SocialMetaTagInfo", | 337 "id": "SocialMetaTagInfo", |
199 "properties": { | 338 "properties": { |
200 "socialDescription": { | |
201 "description": "A short description of the link. Optional.", | |
202 "type": "string" | |
203 }, | |
204 "socialTitle": { | 339 "socialTitle": { |
205 "description": "Title to be displayed. Optional.", | 340 "description": "Title to be displayed. Optional.", |
206 "type": "string" | 341 "type": "string" |
207 }, | 342 }, |
208 "socialImageLink": { | 343 "socialImageLink": { |
209 "description": "An image url string. Optional.", | 344 "description": "An image url string. Optional.", |
210 "type": "string" | 345 "type": "string" |
| 346 }, |
| 347 "socialDescription": { |
| 348 "description": "A short description of the link. Optional.", |
| 349 "type": "string" |
211 } | 350 } |
212 }, | 351 }, |
213 "type": "object" | 352 "type": "object" |
| 353 }, |
| 354 "AndroidInfo": { |
| 355 "description": "Android related attributes to the Dynamic Link.", |
| 356 "id": "AndroidInfo", |
| 357 "properties": { |
| 358 "androidLink": { |
| 359 "description": "If specified, this overrides the ‘link’ para
meter on Android.", |
| 360 "type": "string" |
| 361 }, |
| 362 "androidFallbackLink": { |
| 363 "description": "Link to open on Android if the app is not in
stalled.", |
| 364 "type": "string" |
| 365 }, |
| 366 "androidPackageName": { |
| 367 "description": "Android package name of the app.", |
| 368 "type": "string" |
| 369 }, |
| 370 "androidMinPackageVersionCode": { |
| 371 "description": "Minimum version code for the Android app. If
the installed app’s version\ncode is lower, then the user is taken to the Play
Store.", |
| 372 "type": "string" |
| 373 } |
| 374 }, |
| 375 "type": "object" |
214 }, | 376 }, |
215 "DynamicLinkWarning": { | 377 "DynamicLinkWarning": { |
216 "description": "Dynamic Links warning messages.", | 378 "description": "Dynamic Links warning messages.", |
217 "id": "DynamicLinkWarning", | 379 "id": "DynamicLinkWarning", |
218 "properties": { | 380 "properties": { |
219 "warningMessage": { | |
220 "description": "The warning message to help developers impro
ve their requests.", | |
221 "type": "string" | |
222 }, | |
223 "warningCode": { | 381 "warningCode": { |
224 "description": "The warning code.", | 382 "description": "The warning code.", |
225 "enum": [ | 383 "enum": [ |
226 "CODE_UNSPECIFIED", | 384 "CODE_UNSPECIFIED", |
227 "NOT_IN_PROJECT_ANDROID_PACKAGE_NAME", | 385 "NOT_IN_PROJECT_ANDROID_PACKAGE_NAME", |
228 "NOT_INTEGER_ANDROID_PACKAGE_MIN_VERSION", | 386 "NOT_INTEGER_ANDROID_PACKAGE_MIN_VERSION", |
229 "UNNECESSARY_ANDROID_PACKAGE_MIN_VERSION", | 387 "UNNECESSARY_ANDROID_PACKAGE_MIN_VERSION", |
230 "NOT_URI_ANDROID_LINK", | 388 "NOT_URI_ANDROID_LINK", |
231 "UNNECESSARY_ANDROID_LINK", | 389 "UNNECESSARY_ANDROID_LINK", |
232 "NOT_URI_ANDROID_FALLBACK_LINK", | 390 "NOT_URI_ANDROID_FALLBACK_LINK", |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 "Indicates certain paramater is too long.", | 436 "Indicates certain paramater is too long.", |
279 "Social meta tag image link is not a valid URI.", | 437 "Social meta tag image link is not a valid URI.", |
280 "Social meta tag image link has an invalid (non http/htt
ps) URI scheme.", | 438 "Social meta tag image link has an invalid (non http/htt
ps) URI scheme.", |
281 "", | 439 "", |
282 "", | 440 "", |
283 "Dynamic Link URL length is too long.", | 441 "Dynamic Link URL length is too long.", |
284 "Dynamic Link URL contains fragments.", | 442 "Dynamic Link URL contains fragments.", |
285 "The iOS bundle ID does not match with the given iOS sto
re ID." | 443 "The iOS bundle ID does not match with the given iOS sto
re ID." |
286 ], | 444 ], |
287 "type": "string" | 445 "type": "string" |
288 } | |
289 }, | |
290 "type": "object" | |
291 }, | |
292 "AndroidInfo": { | |
293 "description": "Android related attributes to the Dynamic Link.", | |
294 "id": "AndroidInfo", | |
295 "properties": { | |
296 "androidFallbackLink": { | |
297 "description": "Link to open on Android if the app is not in
stalled.", | |
298 "type": "string" | |
299 }, | 446 }, |
300 "androidPackageName": { | 447 "warningMessage": { |
301 "description": "Android package name of the app.", | 448 "description": "The warning message to help developers impro
ve their requests.", |
302 "type": "string" | |
303 }, | |
304 "androidMinPackageVersionCode": { | |
305 "description": "Minimum version code for the Android app. If
the installed app’s version\ncode is lower, then the user is taken to the Play
Store.", | |
306 "type": "string" | |
307 }, | |
308 "androidLink": { | |
309 "description": "If specified, this overrides the ‘link’ para
meter on Android.", | |
310 "type": "string" | 449 "type": "string" |
311 } | 450 } |
312 }, | 451 }, |
313 "type": "object" | |
314 }, | |
315 "IosInfo": { | |
316 "description": "iOS related attributes to the Dynamic Link..", | |
317 "id": "IosInfo", | |
318 "properties": { | |
319 "iosAppStoreId": { | |
320 "description": "iOS App Store ID.", | |
321 "type": "string" | |
322 }, | |
323 "iosIpadFallbackLink": { | |
324 "description": "If specified, this overrides the ios_fallbac
k_link value on iPads.", | |
325 "type": "string" | |
326 }, | |
327 "iosIpadBundleId": { | |
328 "description": "iPad bundle ID of the app.", | |
329 "type": "string" | |
330 }, | |
331 "iosCustomScheme": { | |
332 "description": "Custom (destination) scheme to use for iOS.
By default, we’ll use the\nbundle ID as the custom scheme. Developer can overrid
e this behavior using\nthis param.", | |
333 "type": "string" | |
334 }, | |
335 "iosBundleId": { | |
336 "description": "iOS bundle ID of the app.", | |
337 "type": "string" | |
338 }, | |
339 "iosFallbackLink": { | |
340 "description": "Link to open on iOS if the app is not instal
led.", | |
341 "type": "string" | |
342 } | |
343 }, | |
344 "type": "object" | |
345 }, | |
346 "CreateShortDynamicLinkResponse": { | |
347 "description": "Response to create a short Dynamic Link.", | |
348 "id": "CreateShortDynamicLinkResponse", | |
349 "properties": { | |
350 "shortLink": { | |
351 "description": "Short Dynamic Link value. e.g. https://abcd.
app.goo.gl/wxyz", | |
352 "type": "string" | |
353 }, | |
354 "previewLink": { | |
355 "description": "Preivew link to show the link flow chart.", | |
356 "type": "string" | |
357 }, | |
358 "warning": { | |
359 "description": "Information about potential warnings on link
creation.", | |
360 "items": { | |
361 "$ref": "DynamicLinkWarning" | |
362 }, | |
363 "type": "array" | |
364 } | |
365 }, | |
366 "type": "object" | |
367 }, | |
368 "AnalyticsInfo": { | |
369 "description": "Tracking parameters supported by Dynamic Link.", | |
370 "id": "AnalyticsInfo", | |
371 "properties": { | |
372 "itunesConnectAnalytics": { | |
373 "$ref": "ITunesConnectAnalytics", | |
374 "description": "iTunes Connect App Analytics." | |
375 }, | |
376 "googlePlayAnalytics": { | |
377 "$ref": "GooglePlayAnalytics", | |
378 "description": "Google Play Campaign Measurements." | |
379 } | |
380 }, | |
381 "type": "object" | |
382 }, | |
383 "CreateShortDynamicLinkRequest": { | |
384 "description": "Request to create a short Dynamic Link.", | |
385 "id": "CreateShortDynamicLinkRequest", | |
386 "properties": { | |
387 "longDynamicLink": { | |
388 "description": "Full long Dynamic Link URL with desired quer
y parameters specified.\nFor example,\n\"https://sample.app.goo.gl/?link=http://
www.google.com&apn=com.sample\",\n[Learn more](https://firebase.google.com/docs/
dynamic-links/android#create-a-dynamic-link-programmatically).", | |
389 "type": "string" | |
390 }, | |
391 "suffix": { | |
392 "$ref": "Suffix", | |
393 "description": "Short Dynamic Link suffix. Optional." | |
394 }, | |
395 "dynamicLinkInfo": { | |
396 "$ref": "DynamicLinkInfo", | |
397 "description": "Information about the Dynamic Link to be sho
rtened.\n[Learn more](https://firebase.google.com/docs/dynamic-links/android#cre
ate-a-dynamic-link-programmatically)." | |
398 } | |
399 }, | |
400 "type": "object" | |
401 }, | |
402 "Suffix": { | |
403 "description": "Short Dynamic Link suffix.", | |
404 "id": "Suffix", | |
405 "properties": { | |
406 "option": { | |
407 "description": "Suffix option.", | |
408 "enum": [ | |
409 "OPTION_UNSPECIFIED", | |
410 "UNGUESSABLE", | |
411 "SHORT" | |
412 ], | |
413 "enumDescriptions": [ | |
414 "The suffix option is not specified, performs as NOT_GUE
SSABLE .", | |
415 "Short Dynamic Link suffix is a base62 [0-9A-Za-z] encod
ed string of\na random generated 96 bit random number, which has a length of 17
chars.\nFor example, \"nlAR8U4SlKRZw1cb2\".\nIt prevents other people from guess
ing and crawling short Dynamic Links\nthat contain personal identifiable informa
tion.", | |
416 "Short Dynamic Link suffix is a base62 [0-9A-Za-z] strin
g starting with a\nlength of 4 chars. the length will increase when all the spac
e is\noccupied." | |
417 ], | |
418 "type": "string" | |
419 } | |
420 }, | |
421 "type": "object" | |
422 }, | |
423 "GooglePlayAnalytics": { | |
424 "description": "Parameters for Google Play Campaign Measurements.\n[
Learn more](https://developers.google.com/analytics/devguides/collection/android
/v4/campaigns#campaign-params)", | |
425 "id": "GooglePlayAnalytics", | |
426 "properties": { | |
427 "utmContent": { | |
428 "description": "Campaign content; used for A/B testing and c
ontent-targeted ads to\ndifferentiate ads or links that point to the same URL.", | |
429 "type": "string" | |
430 }, | |
431 "utmMedium": { | |
432 "description": "Campaign medium; used to identify a medium s
uch as email or cost-per-click.", | |
433 "type": "string" | |
434 }, | |
435 "utmTerm": { | |
436 "description": "Campaign term; used with paid search to supp
ly the keywords for ads.", | |
437 "type": "string" | |
438 }, | |
439 "utmSource": { | |
440 "description": "Campaign source; used to identify a search e
ngine, newsletter, or other\nsource.", | |
441 "type": "string" | |
442 }, | |
443 "gclid": { | |
444 "description": "[AdWords autotagging parameter](https://supp
ort.google.com/analytics/answer/1033981?hl=en);\nused to measure Google AdWords
ads. This value is generated dynamically\nand should never be modified.", | |
445 "type": "string" | |
446 }, | |
447 "utmCampaign": { | |
448 "description": "Campaign name; used for keyword analysis to
identify a specific product\npromotion or strategic campaign.", | |
449 "type": "string" | |
450 } | |
451 }, | |
452 "type": "object" | 452 "type": "object" |
453 } | 453 } |
454 }, | 454 }, |
455 "servicePath": "", | 455 "servicePath": "", |
456 "title": "Firebase Dynamic Links API", | 456 "title": "Firebase Dynamic Links API", |
457 "version": "v1" | 457 "version": "v1" |
458 } | 458 } |
OLD | NEW |