OLD | NEW |
(Empty) | |
| 1 { |
| 2 "auth": { |
| 3 "oauth2": { |
| 4 "scopes": { |
| 5 "https://www.googleapis.com/auth/firebase": { |
| 6 "description": "View and administer all your Firebase data a
nd settings" |
| 7 } |
| 8 } |
| 9 } |
| 10 }, |
| 11 "basePath": "", |
| 12 "baseUrl": "https://firebasedynamiclinks.googleapis.com/", |
| 13 "batchPath": "batch", |
| 14 "canonicalName": "Firebase Dynamic Links", |
| 15 "description": "Firebase Dynamic Links API enables third party developers to
programmatically create and manage Dynamic Links.", |
| 16 "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 "name": "firebasedynamiclinks", |
| 25 "ownerDomain": "google.com", |
| 26 "ownerName": "Google", |
| 27 "parameters": { |
| 28 "access_token": { |
| 29 "description": "OAuth access token.", |
| 30 "location": "query", |
| 31 "type": "string" |
| 32 }, |
| 33 "prettyPrint": { |
| 34 "default": "true", |
| 35 "description": "Returns response with indentations and line breaks."
, |
| 36 "location": "query", |
| 37 "type": "boolean" |
| 38 }, |
| 39 "key": { |
| 40 "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.", |
| 41 "location": "query", |
| 42 "type": "string" |
| 43 }, |
| 44 "quotaUser": { |
| 45 "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.", |
| 46 "location": "query", |
| 47 "type": "string" |
| 48 }, |
| 49 "pp": { |
| 50 "default": "true", |
| 51 "description": "Pretty-print response.", |
| 52 "location": "query", |
| 53 "type": "boolean" |
| 54 }, |
| 55 "fields": { |
| 56 "description": "Selector specifying which fields to include in a par
tial response.", |
| 57 "location": "query", |
| 58 "type": "string" |
| 59 }, |
| 60 "alt": { |
| 61 "default": "json", |
| 62 "description": "Data format for response.", |
| 63 "enum": [ |
| 64 "json", |
| 65 "media", |
| 66 "proto" |
| 67 ], |
| 68 "enumDescriptions": [ |
| 69 "Responses with Content-Type of application/json", |
| 70 "Media download with context-dependent Content-Type", |
| 71 "Responses with Content-Type of application/x-protobuf" |
| 72 ], |
| 73 "location": "query", |
| 74 "type": "string" |
| 75 }, |
| 76 "$.xgafv": { |
| 77 "description": "V1 error format.", |
| 78 "enum": [ |
| 79 "1", |
| 80 "2" |
| 81 ], |
| 82 "enumDescriptions": [ |
| 83 "v1 error format", |
| 84 "v2 error format" |
| 85 ], |
| 86 "location": "query", |
| 87 "type": "string" |
| 88 }, |
| 89 "callback": { |
| 90 "description": "JSONP", |
| 91 "location": "query", |
| 92 "type": "string" |
| 93 }, |
| 94 "oauth_token": { |
| 95 "description": "OAuth 2.0 token for the current user.", |
| 96 "location": "query", |
| 97 "type": "string" |
| 98 }, |
| 99 "uploadType": { |
| 100 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
| 101 "location": "query", |
| 102 "type": "string" |
| 103 }, |
| 104 "bearer_token": { |
| 105 "description": "OAuth bearer token.", |
| 106 "location": "query", |
| 107 "type": "string" |
| 108 }, |
| 109 "upload_protocol": { |
| 110 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
| 111 "location": "query", |
| 112 "type": "string" |
| 113 } |
| 114 }, |
| 115 "protocol": "rest", |
| 116 "resources": { |
| 117 "shortLinks": { |
| 118 "methods": { |
| 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.", |
| 121 "httpMethod": "POST", |
| 122 "id": "firebasedynamiclinks.shortLinks.create", |
| 123 "parameterOrder": [], |
| 124 "parameters": {}, |
| 125 "path": "v1/shortLinks", |
| 126 "request": { |
| 127 "$ref": "CreateShortDynamicLinkRequest" |
| 128 }, |
| 129 "response": { |
| 130 "$ref": "CreateShortDynamicLinkResponse" |
| 131 }, |
| 132 "scopes": [ |
| 133 "https://www.googleapis.com/auth/firebase" |
| 134 ] |
| 135 } |
| 136 } |
| 137 } |
| 138 }, |
| 139 "revision": "20161027", |
| 140 "rootUrl": "https://firebasedynamiclinks.googleapis.com/", |
| 141 "schemas": { |
| 142 "DynamicLinkInfo": { |
| 143 "description": "Information about a Dynamic Link.", |
| 144 "id": "DynamicLinkInfo", |
| 145 "properties": { |
| 146 "isAd": { |
| 147 "description": "Declares that the Dynamic Link is used in an
advertisement.\nSee the 'ad' parameter in the\n[documentation](https://firebase
.google.com/docs/dynamic-links/android#create-a-dynamic-link-programmatically)."
, |
| 148 "type": "boolean" |
| 149 }, |
| 150 "socialMetaTagInfo": { |
| 151 "$ref": "SocialMetaTagInfo", |
| 152 "description": "Parameters for social meta tag params.\nUsed
to set meta tag data for link previews on social sites." |
| 153 }, |
| 154 "analyticsInfo": { |
| 155 "$ref": "AnalyticsInfo", |
| 156 "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)." |
| 157 }, |
| 158 "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.", |
| 160 "type": "string" |
| 161 }, |
| 162 "dynamicLinkDomain": { |
| 163 "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.", |
| 164 "type": "string" |
| 165 }, |
| 166 "iosInfo": { |
| 167 "$ref": "IosInfo", |
| 168 "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)." |
| 169 }, |
| 170 "androidInfo": { |
| 171 "$ref": "AndroidInfo", |
| 172 "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)." |
| 173 } |
| 174 }, |
| 175 "type": "object" |
| 176 }, |
| 177 "ITunesConnectAnalytics": { |
| 178 "description": "Parameters for iTunes Connect App Analytics.", |
| 179 "id": "ITunesConnectAnalytics", |
| 180 "properties": { |
| 181 "mt": { |
| 182 "description": "iTune media types, including music, podcasts
, audiobooks and so on.", |
| 183 "type": "string" |
| 184 }, |
| 185 "at": { |
| 186 "description": "Affiliate token used to create affiliate-cod
ed links.", |
| 187 "type": "string" |
| 188 }, |
| 189 "ct": { |
| 190 "description": "Campaign text that developers can optionally
add to any link in order to\ntrack sales from a specific marketing campaign.", |
| 191 "type": "string" |
| 192 }, |
| 193 "pt": { |
| 194 "description": "Provider token that enables analytics for Dy
namic Links from within iTunes\nConnect.", |
| 195 "type": "string" |
| 196 } |
| 197 }, |
| 198 "type": "object" |
| 199 }, |
| 200 "DynamicLinkWarning": { |
| 201 "description": "Dynamic Links warning messages.", |
| 202 "id": "DynamicLinkWarning", |
| 203 "properties": { |
| 204 "warningCode": { |
| 205 "description": "The warning code.", |
| 206 "enum": [ |
| 207 "CODE_UNSPECIFIED", |
| 208 "NOT_IN_PROJECT_ANDROID_PACKAGE_NAME", |
| 209 "NOT_INTEGER_ANDROID_PACKAGE_MIN_VERSION", |
| 210 "UNNECESSARY_ANDROID_PACKAGE_MIN_VERSION", |
| 211 "NOT_URI_ANDROID_LINK", |
| 212 "UNNECESSARY_ANDROID_LINK", |
| 213 "NOT_URI_ANDROID_FALLBACK_LINK", |
| 214 "BAD_URI_SCHEME_ANDROID_FALLBACK_LINK", |
| 215 "NOT_IN_PROJECT_IOS_BUNDLE_ID", |
| 216 "NOT_IN_PROJECT_IPAD_BUNDLE_ID", |
| 217 "UNNECESSARY_IOS_URL_SCHEME", |
| 218 "NOT_NUMERIC_IOS_APP_STORE_ID", |
| 219 "UNNECESSARY_IOS_APP_STORE_ID", |
| 220 "NOT_URI_IOS_FALLBACK_LINK", |
| 221 "BAD_URI_SCHEME_IOS_FALLBACK_LINK", |
| 222 "NOT_URI_IPAD_FALLBACK_LINK", |
| 223 "BAD_URI_SCHEME_IPAD_FALLBACK_LINK", |
| 224 "BAD_DEBUG_PARAM", |
| 225 "BAD_AD_PARAM", |
| 226 "DEPRECATED_PARAM", |
| 227 "UNRECOGNIZED_PARAM", |
| 228 "TOO_LONG_PARAM", |
| 229 "NOT_URI_SOCIAL_IMAGE_LINK", |
| 230 "BAD_URI_SCHEME_SOCIAL_IMAGE_LINK", |
| 231 "NOT_URI_SOCIAL_URL", |
| 232 "BAD_URI_SCHEME_SOCIAL_URL", |
| 233 "LINK_LENGTH_TOO_LONG", |
| 234 "LINK_WITH_FRAGMENTS", |
| 235 "NOT_MATCHING_IOS_BUNDLE_ID_AND_STORE_ID" |
| 236 ], |
| 237 "enumDescriptions": [ |
| 238 "Unknown code.", |
| 239 "The Android package does not match any in developer's D
evConsole project.", |
| 240 "The Android minimum version code has to be a valid inte
ger.", |
| 241 "Android package min version param is not needed, e.g. w
hen\n'apn' is missing.", |
| 242 "Android link is not a valid URI.", |
| 243 "Android link param is not needed, e.g. when param 'al'
and 'link' have\nthe same value..", |
| 244 "Android fallback link is not a valid URI.", |
| 245 "Android fallback link has an invalid (non http/https) U
RI scheme.", |
| 246 "The iOS bundle ID does not match any in developer's Dev
Console project.", |
| 247 "The iPad bundle ID does not match any in developer's De
vConsole project.", |
| 248 "iOS URL scheme is not needed, e.g. when 'ibi' are 'ipbi
' are all missing.", |
| 249 "iOS app store ID format is incorrect, e.g. not numeric.
", |
| 250 "iOS app store ID is not needed.", |
| 251 "iOS fallback link is not a valid URI.", |
| 252 "iOS fallback link has an invalid (non http/https) URI s
cheme.", |
| 253 "iPad fallback link is not a valid URI.", |
| 254 "iPad fallback link has an invalid (non http/https) URI
scheme.", |
| 255 "Debug param format is incorrect.", |
| 256 "isAd param format is incorrect.", |
| 257 "Indicates a certain param is deprecated.", |
| 258 "Indicates certain paramater is not recognized.", |
| 259 "Indicates certain paramater is too long.", |
| 260 "Social meta tag image link is not a valid URI.", |
| 261 "Social meta tag image link has an invalid (non http/htt
ps) URI scheme.", |
| 262 "", |
| 263 "", |
| 264 "Dynamic Link URL length is too long.", |
| 265 "Dynamic Link URL contains fragments.", |
| 266 "The iOS bundle ID does not match with the given iOS sto
re ID." |
| 267 ], |
| 268 "type": "string" |
| 269 }, |
| 270 "warningMessage": { |
| 271 "description": "The warning message to help developers impro
ve their requests.", |
| 272 "type": "string" |
| 273 } |
| 274 }, |
| 275 "type": "object" |
| 276 }, |
| 277 "CreateShortDynamicLinkRequest": { |
| 278 "description": "Request to create a short Dynamic Link.", |
| 279 "id": "CreateShortDynamicLinkRequest", |
| 280 "properties": { |
| 281 "dynamicLinkInfo": { |
| 282 "$ref": "DynamicLinkInfo", |
| 283 "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)." |
| 284 }, |
| 285 "longDynamicLink": { |
| 286 "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).", |
| 287 "type": "string" |
| 288 }, |
| 289 "suffix": { |
| 290 "$ref": "Suffix", |
| 291 "description": "Short Dynamic Link suffix. Optional." |
| 292 } |
| 293 }, |
| 294 "type": "object" |
| 295 }, |
| 296 "AnalyticsInfo": { |
| 297 "description": "Tracking parameters supported by Dynamic Link.", |
| 298 "id": "AnalyticsInfo", |
| 299 "properties": { |
| 300 "googlePlayAnalytics": { |
| 301 "$ref": "GooglePlayAnalytics", |
| 302 "description": "Google Play Campaign Measurements." |
| 303 }, |
| 304 "itunesConnectAnalytics": { |
| 305 "$ref": "ITunesConnectAnalytics", |
| 306 "description": "iTunes Connect App Analytics." |
| 307 } |
| 308 }, |
| 309 "type": "object" |
| 310 }, |
| 311 "Suffix": { |
| 312 "description": "Short Dynamic Link suffix.", |
| 313 "id": "Suffix", |
| 314 "properties": { |
| 315 "option": { |
| 316 "description": "Suffix option.", |
| 317 "enum": [ |
| 318 "OPTION_UNSPECIFIED", |
| 319 "UNGUESSABLE", |
| 320 "SHORT" |
| 321 ], |
| 322 "enumDescriptions": [ |
| 323 "The suffix option is not specified, performs as NOT_GUE
SSABLE .", |
| 324 "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.", |
| 325 "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." |
| 326 ], |
| 327 "type": "string" |
| 328 } |
| 329 }, |
| 330 "type": "object" |
| 331 }, |
| 332 "CreateShortDynamicLinkResponse": { |
| 333 "description": "Response to create a short Dynamic Link.", |
| 334 "id": "CreateShortDynamicLinkResponse", |
| 335 "properties": { |
| 336 "previewLink": { |
| 337 "description": "Preivew link to show the link flow chart.", |
| 338 "type": "string" |
| 339 }, |
| 340 "warning": { |
| 341 "description": "Information about potential warnings on link
creation.", |
| 342 "items": { |
| 343 "$ref": "DynamicLinkWarning" |
| 344 }, |
| 345 "type": "array" |
| 346 }, |
| 347 "shortLink": { |
| 348 "description": "Short Dynamic Link value. e.g. https://abcd.
app.goo.gl/wxyz", |
| 349 "type": "string" |
| 350 } |
| 351 }, |
| 352 "type": "object" |
| 353 }, |
| 354 "IosInfo": { |
| 355 "description": "iOS related attributes to the Dynamic Link..", |
| 356 "id": "IosInfo", |
| 357 "properties": { |
| 358 "iosAppStoreId": { |
| 359 "description": "iOS App Store ID.", |
| 360 "type": "string" |
| 361 }, |
| 362 "iosIpadFallbackLink": { |
| 363 "description": "If specified, this overrides the ios_fallbac
k_link value on iPads.", |
| 364 "type": "string" |
| 365 }, |
| 366 "iosBundleId": { |
| 367 "description": "iOS bundle ID of the app.", |
| 368 "type": "string" |
| 369 }, |
| 370 "iosFallbackLink": { |
| 371 "description": "Link to open on iOS if the app is not instal
led.", |
| 372 "type": "string" |
| 373 }, |
| 374 "iosIpadBundleId": { |
| 375 "description": "iPad bundle ID of the app.", |
| 376 "type": "string" |
| 377 }, |
| 378 "iosCustomScheme": { |
| 379 "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.", |
| 380 "type": "string" |
| 381 } |
| 382 }, |
| 383 "type": "object" |
| 384 }, |
| 385 "AndroidInfo": { |
| 386 "description": "Android related attributes to the Dynamic Link.", |
| 387 "id": "AndroidInfo", |
| 388 "properties": { |
| 389 "androidMinPackageVersionCode": { |
| 390 "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.", |
| 391 "type": "string" |
| 392 }, |
| 393 "androidLink": { |
| 394 "description": "If specified, this overrides the ‘link’ para
meter on Android.", |
| 395 "type": "string" |
| 396 }, |
| 397 "androidFallbackLink": { |
| 398 "description": "Link to open on Android if the app is not in
stalled.", |
| 399 "type": "string" |
| 400 }, |
| 401 "androidPackageName": { |
| 402 "description": "Android package name of the app.", |
| 403 "type": "string" |
| 404 } |
| 405 }, |
| 406 "type": "object" |
| 407 }, |
| 408 "SocialMetaTagInfo": { |
| 409 "description": "Parameters for social meta tag params.\nUsed to set
meta tag data for link previews on social sites.", |
| 410 "id": "SocialMetaTagInfo", |
| 411 "properties": { |
| 412 "socialTitle": { |
| 413 "description": "Title to be displayed. Optional.", |
| 414 "type": "string" |
| 415 }, |
| 416 "socialDescription": { |
| 417 "description": "A short description of the link. Optional.", |
| 418 "type": "string" |
| 419 }, |
| 420 "socialImageLink": { |
| 421 "description": "An image url string. Optional.", |
| 422 "type": "string" |
| 423 } |
| 424 }, |
| 425 "type": "object" |
| 426 }, |
| 427 "GooglePlayAnalytics": { |
| 428 "description": "Parameters for Google Play Campaign Measurements.\n[
Learn more](https://developers.google.com/analytics/devguides/collection/android
/v4/campaigns#campaign-params)", |
| 429 "id": "GooglePlayAnalytics", |
| 430 "properties": { |
| 431 "utmCampaign": { |
| 432 "description": "Campaign name; used for keyword analysis to
identify a specific product\npromotion or strategic campaign.", |
| 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 "gclid": { |
| 440 "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.", |
| 441 "type": "string" |
| 442 }, |
| 443 "utmSource": { |
| 444 "description": "Campaign source; used to identify a search e
ngine, newsletter, or other\nsource.", |
| 445 "type": "string" |
| 446 }, |
| 447 "utmMedium": { |
| 448 "description": "Campaign medium; used to identify a medium s
uch as email or cost-per-click.", |
| 449 "type": "string" |
| 450 }, |
| 451 "utmContent": { |
| 452 "description": "Campaign content; used for A/B testing and c
ontent-targeted ads to\ndifferentiate ads or links that point to the same URL.", |
| 453 "type": "string" |
| 454 } |
| 455 }, |
| 456 "type": "object" |
| 457 } |
| 458 }, |
| 459 "servicePath": "", |
| 460 "title": "Firebase Dynamic Links API", |
| 461 "version": "v1" |
| 462 } |
OLD | NEW |