"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.",
"response":{
"$ref":"CreateShortDynamicLinkResponse"
},
"parameterOrder":[],
"httpMethod":"POST",
"scopes":[
"https://www.googleapis.com/auth/firebase"
],
"parameters":{},
"flatPath":"v1/shortLinks",
"id":"firebasedynamiclinks.shortLinks.create",
"path":"v1/shortLinks"
}
}
},
"v1":{
"methods":{
"getLinkStats":{
"id":"firebasedynamiclinks.getLinkStats",
"path":"v1/{dynamicLink}/linkStats",
"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.",
"response":{
"$ref":"DynamicLinkStats"
},
"parameterOrder":[
"dynamicLink"
],
"httpMethod":"GET",
"parameters":{
"durationDays":{
"location":"query",
"format":"int64",
"description":"The span of time requested in days.",
"type":"string"
},
"dynamicLink":{
"type":"string",
"required":true,
"location":"path",
"description":"Dynamic Link URL. e.g. https://abcd.app.goo.gl/wxyz"
}
},
"scopes":[
"https://www.googleapis.com/auth/firebase"
],
"flatPath":"v1/{dynamicLink}/linkStats"
}
}
}
},
"parameters":{
"fields":{
"location":"query",
"description":"Selector specifying which fields to include in a partial response.",
"type":"string"
},
"uploadType":{
"type":"string",
"location":"query",
"description":"Legacy upload protocol for media (e.g. \"media\", \"multipart\")."
},
"callback":{
"location":"query",
"description":"JSONP",
"type":"string"
},
"$.xgafv":{
"enumDescriptions":[
"v1 error format",
"v2 error format"
],
"location":"query",
"enum":[
"1",
"2"
],
"description":"V1 error format.",
"type":"string"
},
"alt":{
"enumDescriptions":[
"Responses with Content-Type of application/json",
"Media download with context-dependent Content-Type",
"Responses with Content-Type of application/x-protobuf"
],
"location":"query",
"description":"Data format for response.",
"default":"json",
"enum":[
"json",
"media",
"proto"
],
"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.",
"type":"string",
"location":"query"
},
"access_token":{
"type":"string",
"location":"query",
"description":"OAuth access token."
},
"quotaUser":{
"location":"query",
"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.",
"type":"string"
},
"pp":{
"location":"query",
"description":"Pretty-print response.",
"default":"true",
"type":"boolean"
},
"oauth_token":{
"location":"query",
"description":"OAuth 2.0 token for the current user.",
"type":"string"
},
"bearer_token":{
"description":"OAuth bearer token.",
"type":"string",
"location":"query"
},
"upload_protocol":{
"description":"Upload protocol for media (e.g. \"raw\", \"multipart\").",
"type":"string",
"location":"query"
},
"prettyPrint":{
"description":"Returns response with indentations and line breaks.",
"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"
}
},
"id":"IosInfo",
"description":"iOS related attributes to the Dynamic Link..",
"type":"object"
},
"AnalyticsInfo":{
"description":"Tracking parameters supported by Dynamic Link.",
"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).",
"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."
"description":"Parameters for Google Play Campaign Measurements.\n[Learn more](https://developers.google.com/analytics/devguides/collection/android/v4/campaigns#campaign-params)",
"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.",
"description":"Android related information. See Android related parameters in the\n[documentation](https://firebase.google.com/docs/dynamic-links/create-manually)."
},
"navigationInfo":{
"description":"Information of navigation behavior of a Firebase Dynamic Links.",
"$ref":"NavigationInfo"
},
"analyticsInfo":{
"description":"Parameters used for tracking. See all tracking parameters in the\n[documentation](https://firebase.google.com/docs/dynamic-links/create-manually).",
"$ref":"AnalyticsInfo"
},
"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":{
"type":"string",
"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."
},
"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."