Index: discovery/googleapis/firebasedynamiclinks__v1.json |
diff --git a/discovery/googleapis/firebasedynamiclinks__v1.json b/discovery/googleapis/firebasedynamiclinks__v1.json |
index 34fef9ddb2478a80957b1e5943fe550fbe1473ec..24a8b9b0eb5880e9f455fda9712decddf034704d 100644 |
--- a/discovery/googleapis/firebasedynamiclinks__v1.json |
+++ b/discovery/googleapis/firebasedynamiclinks__v1.json |
@@ -25,6 +25,16 @@ |
"ownerDomain": "google.com", |
"ownerName": "Google", |
"parameters": { |
+ "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", |
@@ -100,20 +110,43 @@ |
"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": { |
+ "v1": { |
+ "methods": { |
+ "getLinkStats": { |
+ "description": "Fetches analytics stats of a short Dynamic Link for a given\nduration. Metrics include number of clicks, redirects, installs,\napp first opens, and app reopens.", |
+ "httpMethod": "GET", |
+ "id": "firebasedynamiclinks.getLinkStats", |
+ "parameterOrder": [ |
+ "dynamicLink" |
+ ], |
+ "parameters": { |
+ "durationDays": { |
+ "description": "The span of time requested in days.", |
+ "format": "int64", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "dynamicLink": { |
+ "description": "Dynamic Link URL. e.g. https://abcd.app.goo.gl/wxyz", |
+ "location": "path", |
+ "required": true, |
+ "type": "string" |
+ } |
+ }, |
+ "path": "v1/{dynamicLink}/linkStats", |
+ "response": { |
+ "$ref": "DynamicLinkStats" |
+ }, |
+ "scopes": [ |
+ "https://www.googleapis.com/auth/firebase" |
+ ] |
+ } |
+ } |
+ }, |
"shortLinks": { |
"methods": { |
"create": { |
@@ -136,9 +169,57 @@ |
} |
} |
}, |
- "revision": "20170517", |
+ "revision": "20170605", |
"rootUrl": "https://firebasedynamiclinks.googleapis.com/", |
"schemas": { |
+ "DynamicLinkEventStat": { |
+ "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": [ |
+ "DYNAMIC_LINK_EVENT_UNSPECIFIED", |
+ "CLICK", |
+ "REDIRECT", |
+ "APP_INSTALL", |
+ "APP_FIRST_OPEN", |
+ "APP_RE_OPEN" |
+ ], |
+ "enumDescriptions": [ |
+ "Unspecified type.", |
+ "Indicates that an FDL is clicked by users.", |
+ "Indicates that an FDL redirects users to fallback link.", |
+ "Indicates that an FDL triggers an app install from Play store, currently\nit's impossible to get stats from App store.", |
+ "Indicates that the app is opened for the first time after an install\ntriggered by FDLs", |
+ "Indicates that the app is opened via an FDL for non-first time." |
+ ], |
+ "type": "string" |
+ }, |
+ "platform": { |
+ "description": "Requested platform.", |
+ "enum": [ |
+ "DYNAMIC_LINK_PLATFORM_UNSPECIFIED", |
+ "ANDROID", |
+ "IOS", |
+ "DESKTOP" |
+ ], |
+ "enumDescriptions": [ |
+ "Unspecified platform.", |
+ "Represents Android platform.\nAll apps and browsers on Android are classfied in this category.", |
+ "Represents iOS platform.\nAll apps and browsers on iOS are classfied in this category.", |
+ "Represents desktop.\nNote: other platforms like Windows, Blackberry, Amazon fall into this\ncategory." |
+ ], |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
"CreateShortDynamicLinkResponse": { |
"description": "Response to create a short Dynamic Link.", |
"id": "CreateShortDynamicLinkResponse", |
@@ -217,14 +298,6 @@ |
"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)." |
@@ -244,6 +317,14 @@ |
"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" |
+ }, |
+ "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" |
} |
}, |
"type": "object" |
@@ -256,14 +337,14 @@ |
"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" |
}, |
+ "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" |
@@ -275,16 +356,16 @@ |
"description": "Parameters for social meta tag params.\nUsed to set meta tag data for link previews on social sites.", |
"id": "SocialMetaTagInfo", |
"properties": { |
- "socialDescription": { |
- "description": "A short description of the link. Optional.", |
+ "socialImageLink": { |
+ "description": "An image url string. Optional.", |
"type": "string" |
}, |
"socialTitle": { |
"description": "Title to be displayed. Optional.", |
"type": "string" |
}, |
- "socialImageLink": { |
- "description": "An image url string. Optional.", |
+ "socialDescription": { |
+ "description": "A short description of the link. Optional.", |
"type": "string" |
} |
}, |
@@ -390,6 +471,20 @@ |
}, |
"type": "object" |
}, |
+ "DynamicLinkStats": { |
+ "description": "Analytics stats of a Dynamic Link for a given timeframe.", |
+ "id": "DynamicLinkStats", |
+ "properties": { |
+ "linkEventStats": { |
+ "description": "Dynamic Link event stats.", |
+ "items": { |
+ "$ref": "DynamicLinkEventStat" |
+ }, |
+ "type": "array" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
"NavigationInfo": { |
"description": "Information of navigation behavior.", |
"id": "NavigationInfo", |
@@ -405,6 +500,10 @@ |
"description": "iOS related attributes to the Dynamic Link..", |
"id": "IosInfo", |
"properties": { |
+ "iosAppStoreId": { |
+ "description": "iOS App Store ID.", |
+ "type": "string" |
+ }, |
"iosIpadFallbackLink": { |
"description": "If specified, this overrides the ios_fallback_link value on iPads.", |
"type": "string" |
@@ -424,10 +523,6 @@ |
"iosFallbackLink": { |
"description": "Link to open on iOS if the app is not installed.", |
"type": "string" |
- }, |
- "iosAppStoreId": { |
- "description": "iOS App Store ID.", |
- "type": "string" |
} |
}, |
"type": "object" |
@@ -451,10 +546,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." |
@@ -462,6 +553,10 @@ |
"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" |
} |
}, |
"type": "object" |