Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(905)

Unified Diff: discovery/googleapis/firebasedynamiclinks__v1.json

Issue 2987103002: Api-Roll 52: 2017-07-31 (Closed)
Patch Set: Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « discovery/googleapis/drive__v3.json ('k') | discovery/googleapis/firebaserules__v1.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: discovery/googleapis/firebasedynamiclinks__v1.json
diff --git a/discovery/googleapis/firebasedynamiclinks__v1.json b/discovery/googleapis/firebasedynamiclinks__v1.json
index 0d5c6bd84ec758c93f6dce777da6908ef40541fe..a1f0f622c121763fa52517592da63ee22f3d3a9d 100644
--- a/discovery/googleapis/firebasedynamiclinks__v1.json
+++ b/discovery/googleapis/firebasedynamiclinks__v1.json
@@ -25,16 +25,6 @@
"ownerDomain": "google.com",
"ownerName": "Google",
"parameters": {
- "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"
- },
"upload_protocol": {
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"location": "query",
@@ -46,13 +36,13 @@
"location": "query",
"type": "boolean"
},
- "uploadType": {
- "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
+ "fields": {
+ "description": "Selector specifying which fields to include in a partial response.",
"location": "query",
"type": "string"
},
- "fields": {
- "description": "Selector specifying which fields to include in a partial response.",
+ "uploadType": {
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"location": "query",
"type": "string"
},
@@ -90,13 +80,13 @@
"location": "query",
"type": "string"
},
- "access_token": {
- "description": "OAuth access token.",
+ "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"
},
- "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.",
+ "access_token": {
+ "description": "OAuth access token.",
"location": "query",
"type": "string"
},
@@ -110,31 +100,20 @@
"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",
"resources": {
- "shortLinks": {
- "methods": {
- "create": {
- "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 calls with the same long Dynamic Link or Dynamic Link information\nwill produce the same short Dynamic Link.\n\nThe Dynamic Link domain in the request must be owned by requester's\nFirebase project.",
- "httpMethod": "POST",
- "id": "firebasedynamiclinks.shortLinks.create",
- "parameterOrder": [],
- "parameters": {},
- "path": "v1/shortLinks",
- "request": {
- "$ref": "CreateShortDynamicLinkRequest"
- },
- "response": {
- "$ref": "CreateShortDynamicLinkResponse"
- },
- "scopes": [
- "https://www.googleapis.com/auth/firebase"
- ]
- }
- }
- },
"v1": {
"methods": {
"getLinkStats": {
@@ -167,11 +146,164 @@
]
}
}
+ },
+ "shortLinks": {
+ "methods": {
+ "create": {
+ "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 calls with the same long Dynamic Link or Dynamic Link information\nwill produce the same short Dynamic Link.\n\nThe Dynamic Link domain in the request must be owned by requester's\nFirebase project.",
+ "httpMethod": "POST",
+ "id": "firebasedynamiclinks.shortLinks.create",
+ "parameterOrder": [],
+ "parameters": {},
+ "path": "v1/shortLinks",
+ "request": {
+ "$ref": "CreateShortDynamicLinkRequest"
+ },
+ "response": {
+ "$ref": "CreateShortDynamicLinkResponse"
+ },
+ "scopes": [
+ "https://www.googleapis.com/auth/firebase"
+ ]
+ }
+ }
}
},
- "revision": "20170703",
+ "revision": "20170728",
"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": {
+ "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/receive)\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/create-manually).\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/create-manually)."
+ },
+ "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/create-manually)."
+ },
+ "navigationInfo": {
+ "$ref": "NavigationInfo",
+ "description": "Information of navigation behavior of a Firebase Dynamic Links."
+ },
+ "analyticsInfo": {
+ "$ref": "AnalyticsInfo",
+ "description": "Parameters used for tracking. See all tracking parameters in the\n[documentation](https://firebase.google.com/docs/dynamic-links/create-manually)."
+ }
+ },
+ "type": "object"
+ },
+ "ITunesConnectAnalytics": {
+ "description": "Parameters for iTunes Connect App Analytics.",
+ "id": "ITunesConnectAnalytics",
+ "properties": {
+ "mt": {
+ "description": "iTune media types, including music, podcasts, audiobooks and so on.",
+ "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"
+ },
+ "pt": {
+ "description": "Provider token that enables analytics for Dynamic Links from within iTunes\nConnect.",
+ "type": "string"
+ },
+ "at": {
+ "description": "Affiliate token used to create affiliate-coded links.",
+ "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",
@@ -191,16 +323,25 @@
},
"type": "object"
},
- "DynamicLinkStats": {
- "description": "Analytics stats of a Dynamic Link for a given timeframe.",
- "id": "DynamicLinkStats",
+ "AndroidInfo": {
+ "description": "Android related attributes to the Dynamic Link.",
+ "id": "AndroidInfo",
"properties": {
- "linkEventStats": {
- "description": "Dynamic Link event stats.",
- "items": {
- "$ref": "DynamicLinkEventStat"
- },
- "type": "array"
+ "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"
+ },
+ "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"
}
},
"type": "object"
@@ -282,25 +423,16 @@
},
"type": "object"
},
- "AndroidInfo": {
- "description": "Android related attributes to the Dynamic Link.",
- "id": "AndroidInfo",
+ "DynamicLinkStats": {
+ "description": "Analytics stats of a Dynamic Link for a given timeframe.",
+ "id": "DynamicLinkStats",
"properties": {
- "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"
- },
- "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"
+ "linkEventStats": {
+ "description": "Dynamic Link event stats.",
+ "items": {
+ "$ref": "DynamicLinkEventStat"
+ },
+ "type": "array"
}
},
"type": "object"
@@ -320,6 +452,14 @@
"description": "iOS related attributes to the Dynamic Link..",
"id": "IosInfo",
"properties": {
+ "iosCustomScheme": {
+ "description": "Custom (destination) scheme to use for iOS. By default, we’ll use the\nbundle ID as the custom scheme. Developer can override this behavior using\nthis param.",
+ "type": "string"
+ },
+ "iosBundleId": {
+ "description": "iOS bundle ID of the app.",
+ "type": "string"
+ },
"iosFallbackLink": {
"description": "Link to open on iOS if the app is not installed.",
"type": "string"
@@ -335,14 +475,6 @@
"iosIpadBundleId": {
"description": "iPad bundle ID of the app.",
"type": "string"
- },
- "iosCustomScheme": {
- "description": "Custom (destination) scheme to use for iOS. By default, we’ll use the\nbundle ID as the custom scheme. Developer can override this behavior using\nthis param.",
- "type": "string"
- },
- "iosBundleId": {
- "description": "iOS bundle ID of the app.",
- "type": "string"
}
},
"type": "object"
@@ -366,6 +498,10 @@
"description": "Request to create a short Dynamic Link.",
"id": "CreateShortDynamicLinkRequest",
"properties": {
+ "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)."
+ },
"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"
@@ -373,10 +509,6 @@
"suffix": {
"$ref": "Suffix",
"description": "Short Dynamic Link suffix. Optional."
- },
- "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"
@@ -385,6 +517,11 @@
"description": "Dynamic Link event stat.",
"id": "DynamicLinkEventStat",
"properties": {
+ "count": {
+ "description": "The number of times this event occurred.",
+ "format": "int64",
+ "type": "string"
+ },
"event": {
"description": "Link event.",
"enum": [
@@ -420,143 +557,6 @@
"Represents desktop.\nNote: other platforms like Windows, Blackberry, Amazon fall into this\ncategory."
],
"type": "string"
- },
- "count": {
- "description": "The number of times this event occurred.",
- "format": "int64",
- "type": "string"
- }
- },
- "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"
- },
- "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": {
- "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"
- },
- "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"
- },
- "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"
- },
- "utmCampaign": {
- "description": "Campaign name; used for keyword analysis to identify a specific product\npromotion or strategic campaign.",
- "type": "string"
- }
- },
- "type": "object"
- },
- "DynamicLinkInfo": {
- "description": "Information about a Dynamic Link.",
- "id": "DynamicLinkInfo",
- "properties": {
- "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/create-manually).\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/create-manually)."
- },
- "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/create-manually)."
- },
- "navigationInfo": {
- "$ref": "NavigationInfo",
- "description": "Information of navigation behavior of a Firebase Dynamic Links."
- },
- "analyticsInfo": {
- "$ref": "AnalyticsInfo",
- "description": "Parameters used for tracking. See all tracking parameters in the\n[documentation](https://firebase.google.com/docs/dynamic-links/create-manually)."
- },
- "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/receive)\non how to set up Dynamic Link domain associated with your Firebase project.\n\nRequired.",
- "type": "string"
- }
- },
- "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"
- },
- "mt": {
- "description": "iTune media types, including music, podcasts, audiobooks and so on.",
- "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"
- },
- "pt": {
- "description": "Provider token that enables analytics for Dynamic Links from within iTunes\nConnect.",
- "type": "string"
}
},
"type": "object"
« no previous file with comments | « discovery/googleapis/drive__v3.json ('k') | discovery/googleapis/firebaserules__v1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698