{ "uuid": "00c4c126-c159-49ba-81cd-9cdb6fe3e631", "lastMigration": 29, "name": "Firebase Dynamic Links API", "endpointPrefix": "", "latency": 0, "port": 3000, "hostname": "", "routes": [ { "uuid": "f99ee41b-c7c7-45f9-975a-d9c527561b62", "documentation": "Get iOS strong/weak-match info for post-install attribution.", "method": "post", "endpoint": "v1/installAttribution", "responses": [ { "uuid": "6abfe216-e4a0-4f8e-b5b3-1b5a4f6af6a8", "body": "{\n \"appMinimumVersion\": \"\",\n \"attributionConfidence\": \"{{oneOf (array 'UNKNOWN_ATTRIBUTION_CONFIDENCE' 'WEAK' 'DEFAULT' 'UNIQUE')}}\",\n \"deepLink\": \"\",\n \"externalBrowserDestinationLink\": \"\",\n \"fallbackLink\": \"\",\n \"invitationId\": \"\",\n \"isStrongMatchExecutable\": {{faker 'datatype.boolean'}},\n \"matchMessage\": \"\",\n \"requestIpVersion\": \"{{oneOf (array 'UNKNOWN_IP_VERSION' 'IP_V4' 'IP_V6')}}\",\n \"requestedLink\": \"\",\n \"resolvedLink\": \"\",\n \"utmCampaign\": \"\",\n \"utmContent\": \"\",\n \"utmMedium\": \"\",\n \"utmSource\": \"\",\n \"utmTerm\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "8a875cd3-fa95-4701-b978-92a98d436bac", "documentation": "Creates a managed short Dynamic Link given either a valid long Dynamic Link or details such as Dynamic Link domain, Android and iOS app information. The created short Dynamic Link will not expire. This differs from CreateShortDynamicLink in the following ways: - The request will also contain a name for the link (non unique name for the front end). - The response must be authenticated with an auth token (generated with the admin service account). - The link will appear in the FDL list of links in the console front end. The Dynamic Link domain in the request must be owned by requester's Firebase project.", "method": "post", "endpoint": "v1/managedShortLinks:create", "responses": [ { "uuid": "e9273a79-ebc6-4d43-8359-3829c846d78a", "body": "{\n \"managedShortLink\": {\n \"creationTime\": \"\",\n \"flaggedAttribute\": [\n \"{{oneOf (array 'UNSPECIFIED_ATTRIBUTE' 'SPAM')}}\"\n ],\n \"info\": {\n \"analyticsInfo\": {\n \"googlePlayAnalytics\": {\n \"gclid\": \"\",\n \"utmCampaign\": \"\",\n \"utmContent\": \"\",\n \"utmMedium\": \"\",\n \"utmSource\": \"\",\n \"utmTerm\": \"\"\n },\n \"itunesConnectAnalytics\": {\n \"at\": \"\",\n \"ct\": \"\",\n \"mt\": \"\",\n \"pt\": \"\"\n }\n },\n \"androidInfo\": {\n \"androidFallbackLink\": \"\",\n \"androidLink\": \"\",\n \"androidMinPackageVersionCode\": \"\",\n \"androidPackageName\": \"\"\n },\n \"desktopInfo\": {\n \"desktopFallbackLink\": \"\"\n },\n \"domainUriPrefix\": \"\",\n \"dynamicLinkDomain\": \"\",\n \"iosInfo\": {\n \"iosAppStoreId\": \"\",\n \"iosBundleId\": \"\",\n \"iosCustomScheme\": \"\",\n \"iosFallbackLink\": \"\",\n \"iosIpadBundleId\": \"\",\n \"iosIpadFallbackLink\": \"\",\n \"iosMinimumVersion\": \"\"\n },\n \"link\": \"\",\n \"navigationInfo\": {\n \"enableForcedRedirect\": {{faker 'datatype.boolean'}}\n },\n \"socialMetaTagInfo\": {\n \"socialDescription\": \"\",\n \"socialImageLink\": \"\",\n \"socialTitle\": \"\"\n }\n },\n \"link\": \"\",\n \"linkName\": \"\",\n \"visibility\": \"{{oneOf (array 'UNSPECIFIED_VISIBILITY' 'UNARCHIVED' 'ARCHIVED' 'NEVER_SHOWN')}}\"\n },\n \"previewLink\": \"\",\n \"warning\": [\n {\n \"warningCode\": \"{{oneOf (array 'CODE_UNSPECIFIED' 'NOT_IN_PROJECT_ANDROID_PACKAGE_NAME' 'NOT_INTEGER_ANDROID_PACKAGE_MIN_VERSION' 'UNNECESSARY_ANDROID_PACKAGE_MIN_VERSION' 'NOT_URI_ANDROID_LINK' 'UNNECESSARY_ANDROID_LINK' 'NOT_URI_ANDROID_FALLBACK_LINK' 'BAD_URI_SCHEME_ANDROID_FALLBACK_LINK' 'NOT_IN_PROJECT_IOS_BUNDLE_ID' 'NOT_IN_PROJECT_IPAD_BUNDLE_ID' 'UNNECESSARY_IOS_URL_SCHEME' 'NOT_NUMERIC_IOS_APP_STORE_ID' 'UNNECESSARY_IOS_APP_STORE_ID' 'NOT_URI_IOS_FALLBACK_LINK' 'BAD_URI_SCHEME_IOS_FALLBACK_LINK' 'NOT_URI_IPAD_FALLBACK_LINK' 'BAD_URI_SCHEME_IPAD_FALLBACK_LINK' 'BAD_DEBUG_PARAM' 'BAD_AD_PARAM' 'DEPRECATED_PARAM' 'UNRECOGNIZED_PARAM' 'TOO_LONG_PARAM' 'NOT_URI_SOCIAL_IMAGE_LINK' 'BAD_URI_SCHEME_SOCIAL_IMAGE_LINK' 'NOT_URI_SOCIAL_URL' 'BAD_URI_SCHEME_SOCIAL_URL' 'LINK_LENGTH_TOO_LONG' 'LINK_WITH_FRAGMENTS' 'NOT_MATCHING_IOS_BUNDLE_ID_AND_STORE_ID')}}\",\n \"warningDocumentLink\": \"\",\n \"warningMessage\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "06e53ac4-0b37-4d59-9dec-ef2b018d1371", "documentation": "Get iOS reopen attribution for app universal link open deeplinking.", "method": "post", "endpoint": "v1/reopenAttribution", "responses": [ { "uuid": "1f3390fa-120d-4e22-a886-3c54a60f69a4", "body": "{\n \"deepLink\": \"\",\n \"invitationId\": \"\",\n \"iosMinAppVersion\": \"\",\n \"resolvedLink\": \"\",\n \"utmCampaign\": \"\",\n \"utmContent\": \"\",\n \"utmMedium\": \"\",\n \"utmSource\": \"\",\n \"utmTerm\": \"\"\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "5adc6384-5ae8-4042-8856-a8a0f31c4193", "documentation": "Creates a short Dynamic Link given either a valid long Dynamic Link or details such as Dynamic Link domain, Android and iOS app information. The created short Dynamic Link will not expire. Repeated calls with the same long Dynamic Link or Dynamic Link information will produce the same short Dynamic Link. The Dynamic Link domain in the request must be owned by requester's Firebase project.", "method": "post", "endpoint": "v1/shortLinks", "responses": [ { "uuid": "44e611b8-e10d-4366-9109-a391c0130148", "body": "{\n \"previewLink\": \"\",\n \"shortLink\": \"\",\n \"warning\": [\n {\n \"warningCode\": \"{{oneOf (array 'CODE_UNSPECIFIED' 'NOT_IN_PROJECT_ANDROID_PACKAGE_NAME' 'NOT_INTEGER_ANDROID_PACKAGE_MIN_VERSION' 'UNNECESSARY_ANDROID_PACKAGE_MIN_VERSION' 'NOT_URI_ANDROID_LINK' 'UNNECESSARY_ANDROID_LINK' 'NOT_URI_ANDROID_FALLBACK_LINK' 'BAD_URI_SCHEME_ANDROID_FALLBACK_LINK' 'NOT_IN_PROJECT_IOS_BUNDLE_ID' 'NOT_IN_PROJECT_IPAD_BUNDLE_ID' 'UNNECESSARY_IOS_URL_SCHEME' 'NOT_NUMERIC_IOS_APP_STORE_ID' 'UNNECESSARY_IOS_APP_STORE_ID' 'NOT_URI_IOS_FALLBACK_LINK' 'BAD_URI_SCHEME_IOS_FALLBACK_LINK' 'NOT_URI_IPAD_FALLBACK_LINK' 'BAD_URI_SCHEME_IPAD_FALLBACK_LINK' 'BAD_DEBUG_PARAM' 'BAD_AD_PARAM' 'DEPRECATED_PARAM' 'UNRECOGNIZED_PARAM' 'TOO_LONG_PARAM' 'NOT_URI_SOCIAL_IMAGE_LINK' 'BAD_URI_SCHEME_SOCIAL_IMAGE_LINK' 'NOT_URI_SOCIAL_URL' 'BAD_URI_SCHEME_SOCIAL_URL' 'LINK_LENGTH_TOO_LONG' 'LINK_WITH_FRAGMENTS' 'NOT_MATCHING_IOS_BUNDLE_ID_AND_STORE_ID')}}\",\n \"warningDocumentLink\": \"\",\n \"warningMessage\": \"\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" }, { "uuid": "da00a53c-6d96-4d08-a3d6-17a54be990ab", "documentation": "Fetches analytics stats of a short Dynamic Link for a given duration. Metrics include number of clicks, redirects, installs, app first opens, and app reopens.", "method": "get", "endpoint": "v1/:dynamicLink/linkStats", "responses": [ { "uuid": "e10f6681-8097-4743-9229-af86d87be469", "body": "{\n \"linkEventStats\": [\n {\n \"count\": \"\",\n \"event\": \"{{oneOf (array 'DYNAMIC_LINK_EVENT_UNSPECIFIED' 'CLICK' 'REDIRECT' 'APP_INSTALL' 'APP_FIRST_OPEN' 'APP_RE_OPEN')}}\",\n \"platform\": \"{{oneOf (array 'DYNAMIC_LINK_PLATFORM_UNSPECIFIED' 'ANDROID' 'IOS' 'DESKTOP' 'OTHER')}}\"\n }\n ]\n}", "latency": 0, "statusCode": 200, "label": "Successful response", "headers": [{ "key": "Content-Type", "value": "application/json" }], "bodyType": "INLINE", "filePath": "", "databucketID": "", "sendFileAsBody": false, "rules": [], "rulesOperator": "OR", "disableTemplating": false, "fallbackTo404": false, "default": true, "crudKey": "id" } ], "enabled": true, "responseMode": null, "type": "http" } ], "proxyMode": false, "proxyHost": "", "proxyRemovePrefix": false, "tlsOptions": { "enabled": false, "type": "CERT", "pfxPath": "", "certPath": "", "keyPath": "", "caPath": "", "passphrase": "" }, "cors": true, "headers": [], "proxyReqHeaders": [{ "key": "", "value": "" }], "proxyResHeaders": [{ "key": "", "value": "" }], "data": [], "folders": [], "rootChildren": [ { "type": "route", "uuid": "f99ee41b-c7c7-45f9-975a-d9c527561b62" }, { "type": "route", "uuid": "8a875cd3-fa95-4701-b978-92a98d436bac" }, { "type": "route", "uuid": "06e53ac4-0b37-4d59-9dec-ef2b018d1371" }, { "type": "route", "uuid": "5adc6384-5ae8-4042-8856-a8a0f31c4193" }, { "type": "route", "uuid": "da00a53c-6d96-4d08-a3d6-17a54be990ab" } ] }