Index: discovery/googleapis/firebasedynamiclinks__v1.json |
diff --git a/discovery/googleapis/firebasedynamiclinks__v1.json b/discovery/googleapis/firebasedynamiclinks__v1.json |
index 9addc3dcfc7d2cd68fd17424f2e831d40212ddc3..9700feda531b67a19c8ff487a103d32559c1c2ce 100644 |
--- a/discovery/googleapis/firebasedynamiclinks__v1.json |
+++ b/discovery/googleapis/firebasedynamiclinks__v1.json |
@@ -25,6 +25,37 @@ |
"ownerDomain": "google.com", |
"ownerName": "Google", |
"parameters": { |
+ "key": { |
+ "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.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "access_token": { |
+ "description": "OAuth access token.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "quotaUser": { |
+ "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.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "pp": { |
+ "default": "true", |
+ "description": "Pretty-print response.", |
+ "location": "query", |
+ "type": "boolean" |
+ }, |
+ "oauth_token": { |
+ "description": "OAuth 2.0 token for the current user.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "bearer_token": { |
+ "description": "OAuth bearer token.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
"upload_protocol": { |
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", |
"location": "query", |
@@ -36,18 +67,13 @@ |
"location": "query", |
"type": "boolean" |
}, |
- "fields": { |
- "description": "Selector specifying which fields to include in a partial response.", |
- "location": "query", |
- "type": "string" |
- }, |
"uploadType": { |
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", |
"location": "query", |
"type": "string" |
}, |
- "callback": { |
- "description": "JSONP", |
+ "fields": { |
+ "description": "Selector specifying which fields to include in a partial response.", |
"location": "query", |
"type": "string" |
}, |
@@ -64,6 +90,11 @@ |
"location": "query", |
"type": "string" |
}, |
+ "callback": { |
+ "description": "JSONP", |
+ "location": "query", |
+ "type": "string" |
+ }, |
"alt": { |
"default": "json", |
"description": "Data format for response.", |
@@ -79,37 +110,6 @@ |
], |
"location": "query", |
"type": "string" |
- }, |
- "access_token": { |
- "description": "OAuth access token.", |
- "location": "query", |
- "type": "string" |
- }, |
- "key": { |
- "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.", |
- "location": "query", |
- "type": "string" |
- }, |
- "quotaUser": { |
- "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.", |
- "location": "query", |
- "type": "string" |
- }, |
- "pp": { |
- "default": "true", |
- "description": "Pretty-print response.", |
- "location": "query", |
- "type": "boolean" |
- }, |
- "bearer_token": { |
- "description": "OAuth bearer token.", |
- "location": "query", |
- "type": "string" |
- }, |
- "oauth_token": { |
- "description": "OAuth 2.0 token for the current user.", |
- "location": "query", |
- "type": "string" |
} |
}, |
"protocol": "rest", |
@@ -136,9 +136,141 @@ |
} |
} |
}, |
- "revision": "20170228", |
+ "revision": "20170323", |
"rootUrl": "https://firebasedynamiclinks.googleapis.com/", |
"schemas": { |
+ "CreateShortDynamicLinkResponse": { |
+ "description": "Response to create a short Dynamic Link.", |
+ "id": "CreateShortDynamicLinkResponse", |
+ "properties": { |
+ "shortLink": { |
+ "description": "Short Dynamic Link value. e.g. https://abcd.app.goo.gl/wxyz", |
+ "type": "string" |
+ }, |
+ "previewLink": { |
+ "description": "Preivew link to show the link flow chart.", |
+ "type": "string" |
+ }, |
+ "warning": { |
+ "description": "Information about potential warnings on link creation.", |
+ "items": { |
+ "$ref": "DynamicLinkWarning" |
+ }, |
+ "type": "array" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "Suffix": { |
+ "description": "Short Dynamic Link suffix.", |
+ "id": "Suffix", |
+ "properties": { |
+ "option": { |
+ "description": "Suffix option.", |
+ "enum": [ |
+ "OPTION_UNSPECIFIED", |
+ "UNGUESSABLE", |
+ "SHORT" |
+ ], |
+ "enumDescriptions": [ |
+ "The suffix option is not specified, performs as NOT_GUESSABLE .", |
+ "Short Dynamic Link suffix is a base62 [0-9A-Za-z] encoded string of\na random generated 96 bit random number, which has a length of 17 chars.\nFor example, \"nlAR8U4SlKRZw1cb2\".\nIt prevents other people from guessing and crawling short Dynamic Links\nthat contain personal identifiable information.", |
+ "Short Dynamic Link suffix is a base62 [0-9A-Za-z] string starting with a\nlength of 4 chars. the length will increase when all the space is\noccupied." |
+ ], |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "GooglePlayAnalytics": { |
+ "description": "Parameters for Google Play Campaign Measurements.\n[Learn more](https://developers.google.com/analytics/devguides/collection/android/v4/campaigns#campaign-params)", |
+ "id": "GooglePlayAnalytics", |
+ "properties": { |
+ "utmMedium": { |
+ "description": "Campaign medium; used to identify a medium such as email or cost-per-click.", |
+ "type": "string" |
+ }, |
+ "utmTerm": { |
+ "description": "Campaign term; used with paid search to supply the keywords for ads.", |
+ "type": "string" |
+ }, |
+ "utmSource": { |
+ "description": "Campaign source; used to identify a search engine, newsletter, or other\nsource.", |
+ "type": "string" |
+ }, |
+ "utmCampaign": { |
+ "description": "Campaign name; used for keyword analysis to identify a specific product\npromotion or strategic campaign.", |
+ "type": "string" |
+ }, |
+ "gclid": { |
+ "description": "[AdWords autotagging parameter](https://support.google.com/analytics/answer/1033981?hl=en);\nused to measure Google AdWords ads. This value is generated dynamically\nand should never be modified.", |
+ "type": "string" |
+ }, |
+ "utmContent": { |
+ "description": "Campaign content; used for A/B testing and content-targeted ads to\ndifferentiate ads or links that point to the same URL.", |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "DynamicLinkInfo": { |
+ "description": "Information about a Dynamic Link.", |
+ "id": "DynamicLinkInfo", |
+ "properties": { |
+ "analyticsInfo": { |
+ "$ref": "AnalyticsInfo", |
+ "description": "Parameters used for tracking. See all tracking parameters in the\n[documentation](https://firebase.google.com/docs/dynamic-links/android#create-a-dynamic-link-programmatically)." |
+ }, |
+ "dynamicLinkDomain": { |
+ "description": "Dynamic Links domain that the project owns, e.g. abcd.app.goo.gl\n[Learn more](https://firebase.google.com/docs/dynamic-links/android#set-up-firebase-and-the-dynamic-links-sdk)\non how to set up Dynamic Link domain associated with your Firebase project.\n\nRequired.", |
+ "type": "string" |
+ }, |
+ "link": { |
+ "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 properly 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.", |
+ "type": "string" |
+ }, |
+ "iosInfo": { |
+ "$ref": "IosInfo", |
+ "description": "iOS related information. See iOS related parameters in the\n[documentation](https://firebase.google.com/docs/dynamic-links/ios#create-a-dynamic-link-programmatically)." |
+ }, |
+ "socialMetaTagInfo": { |
+ "$ref": "SocialMetaTagInfo", |
+ "description": "Parameters for social meta tag params.\nUsed to set meta tag data for link previews on social sites." |
+ }, |
+ "androidInfo": { |
+ "$ref": "AndroidInfo", |
+ "description": "Android related information. See Android related parameters in the\n[documentation](https://firebase.google.com/docs/dynamic-links/android#create-a-dynamic-link-programmatically)." |
+ }, |
+ "navigationInfo": { |
+ "$ref": "NavigationInfo", |
+ "description": "Information of navigation behavior of a Firebase Dynamic Links." |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "ITunesConnectAnalytics": { |
+ "description": "Parameters for iTunes Connect App Analytics.", |
+ "id": "ITunesConnectAnalytics", |
+ "properties": { |
+ "at": { |
+ "description": "Affiliate token used to create affiliate-coded links.", |
+ "type": "string" |
+ }, |
+ "ct": { |
+ "description": "Campaign text that developers can optionally add to any link in order to\ntrack sales from a specific marketing campaign.", |
+ "type": "string" |
+ }, |
+ "mt": { |
+ "description": "iTune media types, including music, podcasts, audiobooks and so on.", |
+ "type": "string" |
+ }, |
+ "pt": { |
+ "description": "Provider token that enables analytics for Dynamic Links from within iTunes\nConnect.", |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
"SocialMetaTagInfo": { |
"description": "Parameters for social meta tag params.\nUsed to set meta tag data for link previews on social sites.", |
"id": "SocialMetaTagInfo", |
@@ -158,14 +290,33 @@ |
}, |
"type": "object" |
}, |
+ "AndroidInfo": { |
+ "description": "Android related attributes to the Dynamic Link.", |
+ "id": "AndroidInfo", |
+ "properties": { |
+ "androidFallbackLink": { |
+ "description": "Link to open on Android if the app is not installed.", |
+ "type": "string" |
+ }, |
+ "androidPackageName": { |
+ "description": "Android package name of the app.", |
+ "type": "string" |
+ }, |
+ "androidMinPackageVersionCode": { |
+ "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.", |
+ "type": "string" |
+ }, |
+ "androidLink": { |
+ "description": "If specified, this overrides the ‘link’ parameter on Android.", |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
"DynamicLinkWarning": { |
"description": "Dynamic Links warning messages.", |
"id": "DynamicLinkWarning", |
"properties": { |
- "warningMessage": { |
- "description": "The warning message to help developers improve their requests.", |
- "type": "string" |
- }, |
"warningCode": { |
"description": "The warning code.", |
"enum": [ |
@@ -231,29 +382,21 @@ |
"The iOS bundle ID does not match with the given iOS store ID." |
], |
"type": "string" |
+ }, |
+ "warningMessage": { |
+ "description": "The warning message to help developers improve their requests.", |
+ "type": "string" |
} |
}, |
"type": "object" |
}, |
- "AndroidInfo": { |
- "description": "Android related attributes to the Dynamic Link.", |
- "id": "AndroidInfo", |
+ "NavigationInfo": { |
+ "description": "Information of navigation behavior.", |
+ "id": "NavigationInfo", |
"properties": { |
- "androidPackageName": { |
- "description": "Android package name of the app.", |
- "type": "string" |
- }, |
- "androidMinPackageVersionCode": { |
- "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.", |
- "type": "string" |
- }, |
- "androidLink": { |
- "description": "If specified, this overrides the ‘link’ parameter on Android.", |
- "type": "string" |
- }, |
- "androidFallbackLink": { |
- "description": "Link to open on Android if the app is not installed.", |
- "type": "string" |
+ "enableForcedRedirect": { |
+ "description": "If this option is on, FDL click will be forced to redirect rather than\nshow an interstitial page.", |
+ "type": "boolean" |
} |
}, |
"type": "object" |
@@ -289,28 +432,6 @@ |
}, |
"type": "object" |
}, |
- "CreateShortDynamicLinkResponse": { |
- "description": "Response to create a short Dynamic Link.", |
- "id": "CreateShortDynamicLinkResponse", |
- "properties": { |
- "warning": { |
- "description": "Information about potential warnings on link creation.", |
- "items": { |
- "$ref": "DynamicLinkWarning" |
- }, |
- "type": "array" |
- }, |
- "shortLink": { |
- "description": "Short Dynamic Link value. e.g. https://abcd.app.goo.gl/wxyz", |
- "type": "string" |
- }, |
- "previewLink": { |
- "description": "Preivew link to show the link flow chart.", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
"AnalyticsInfo": { |
"description": "Tracking parameters supported by Dynamic Link.", |
"id": "AnalyticsInfo", |
@@ -330,10 +451,6 @@ |
"description": "Request to create a short Dynamic Link.", |
"id": "CreateShortDynamicLinkRequest", |
"properties": { |
- "longDynamicLink": { |
- "description": "Full long Dynamic Link URL with desired query 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).", |
- "type": "string" |
- }, |
"suffix": { |
"$ref": "Suffix", |
"description": "Short Dynamic Link suffix. Optional." |
@@ -341,111 +458,9 @@ |
"dynamicLinkInfo": { |
"$ref": "DynamicLinkInfo", |
"description": "Information about the Dynamic Link to be shortened.\n[Learn more](https://firebase.google.com/docs/dynamic-links/android#create-a-dynamic-link-programmatically)." |
- } |
- }, |
- "type": "object" |
- }, |
- "Suffix": { |
- "description": "Short Dynamic Link suffix.", |
- "id": "Suffix", |
- "properties": { |
- "option": { |
- "description": "Suffix option.", |
- "enum": [ |
- "OPTION_UNSPECIFIED", |
- "UNGUESSABLE", |
- "SHORT" |
- ], |
- "enumDescriptions": [ |
- "The suffix option is not specified, performs as NOT_GUESSABLE .", |
- "Short Dynamic Link suffix is a base62 [0-9A-Za-z] encoded string of\na random generated 96 bit random number, which has a length of 17 chars.\nFor example, \"nlAR8U4SlKRZw1cb2\".\nIt prevents other people from guessing and crawling short Dynamic Links\nthat contain personal identifiable information.", |
- "Short Dynamic Link suffix is a base62 [0-9A-Za-z] string starting with a\nlength of 4 chars. the length will increase when all the space is\noccupied." |
- ], |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "GooglePlayAnalytics": { |
- "description": "Parameters for Google Play Campaign Measurements.\n[Learn more](https://developers.google.com/analytics/devguides/collection/android/v4/campaigns#campaign-params)", |
- "id": "GooglePlayAnalytics", |
- "properties": { |
- "utmMedium": { |
- "description": "Campaign medium; used to identify a medium such as email or cost-per-click.", |
- "type": "string" |
- }, |
- "utmTerm": { |
- "description": "Campaign term; used with paid search to supply the keywords for ads.", |
- "type": "string" |
- }, |
- "utmSource": { |
- "description": "Campaign source; used to identify a search engine, newsletter, or other\nsource.", |
- "type": "string" |
- }, |
- "utmCampaign": { |
- "description": "Campaign name; used for keyword analysis to identify a specific product\npromotion or strategic campaign.", |
- "type": "string" |
- }, |
- "gclid": { |
- "description": "[AdWords autotagging parameter](https://support.google.com/analytics/answer/1033981?hl=en);\nused to measure Google AdWords ads. This value is generated dynamically\nand should never be modified.", |
- "type": "string" |
- }, |
- "utmContent": { |
- "description": "Campaign content; used for A/B testing and content-targeted ads to\ndifferentiate ads or links that point to the same URL.", |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "DynamicLinkInfo": { |
- "description": "Information about a Dynamic Link.", |
- "id": "DynamicLinkInfo", |
- "properties": { |
- "dynamicLinkDomain": { |
- "description": "Dynamic Links domain that the project owns, e.g. abcd.app.goo.gl\n[Learn more](https://firebase.google.com/docs/dynamic-links/android#set-up-firebase-and-the-dynamic-links-sdk)\non how to set up Dynamic Link domain associated with your Firebase project.\n\nRequired.", |
- "type": "string" |
- }, |
- "link": { |
- "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 properly 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.", |
- "type": "string" |
- }, |
- "iosInfo": { |
- "$ref": "IosInfo", |
- "description": "iOS related information. See iOS related parameters in the\n[documentation](https://firebase.google.com/docs/dynamic-links/ios#create-a-dynamic-link-programmatically)." |
- }, |
- "socialMetaTagInfo": { |
- "$ref": "SocialMetaTagInfo", |
- "description": "Parameters for social meta tag params.\nUsed to set meta tag data for link previews on social sites." |
- }, |
- "androidInfo": { |
- "$ref": "AndroidInfo", |
- "description": "Android related information. See Android related parameters in the\n[documentation](https://firebase.google.com/docs/dynamic-links/android#create-a-dynamic-link-programmatically)." |
- }, |
- "analyticsInfo": { |
- "$ref": "AnalyticsInfo", |
- "description": "Parameters used for tracking. See all tracking parameters in the\n[documentation](https://firebase.google.com/docs/dynamic-links/android#create-a-dynamic-link-programmatically)." |
- } |
- }, |
- "type": "object" |
- }, |
- "ITunesConnectAnalytics": { |
- "description": "Parameters for iTunes Connect App Analytics.", |
- "id": "ITunesConnectAnalytics", |
- "properties": { |
- "at": { |
- "description": "Affiliate token used to create affiliate-coded links.", |
- "type": "string" |
}, |
- "ct": { |
- "description": "Campaign text that developers can optionally add to any link in order to\ntrack sales from a specific marketing campaign.", |
- "type": "string" |
- }, |
- "mt": { |
- "description": "iTune media types, including music, podcasts, audiobooks and so on.", |
- "type": "string" |
- }, |
- "pt": { |
- "description": "Provider token that enables analytics for Dynamic Links from within iTunes\nConnect.", |
+ "longDynamicLink": { |
+ "description": "Full long Dynamic Link URL with desired query 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).", |
"type": "string" |
} |
}, |