I'm currently using the https://firebase.google.com/docs/dynamic-links/rest to build short dynamic links from both long links and parameters.
Missing from this documentation is feature parity that exists on console, like attaching a custom suffix to your short url.
I have already discovered undocumented functionality, like the missing ofl fallback parameter as the following.
{
desktopInfo:
{
desktopFallbackLink: "https://getspar.com"
}
}
After doing some digging i've found some references to a suffix option CUSTOM
that is missing from the canonical resources.
"suffix": { # Short Dynamic Link suffix. # Short Dynamic Link suffix. Optional.
"option": "A String", # Suffix option.
"customSuffix": "A String", # Only applies to Option.CUSTOM.
},
Also a mention of this in go autodocumentation as well https://godoc.org/google.golang.org/api/firebasedynamiclinks/v1#Suffix
However i'm getting
Unsupported Suffix option CUSTOM
My guess is it is in fact exposed, I just don't know the correct data structure. Anyone