16

Is there a REST API to update the Deep link property of Firebase DynamicLink?

The Google guide only shows the process to create a short link , but there is no mention of how to update the deeplink once created.

Edit from Cyril DD :

Using the Firebase website, it's possible to update a dynamic Link and when looking at the network tabs in the console, it calls an API https://firebasedurablelinks-pa.clients6.google.com/v1/updateDurableLink where it's possible to completely update the properties of an existing dynamic link.

But then I'm left with two problems:

  • I can't see to figure out a way to make this request work in Postman
  • I need to update a link that was generated with the https://firebasedynamiclinks.googleapis.com/v1/shortLinks API, and therefore does not appear in the list of links in the firebase console
4
  • 1
    did you have any luck? Commented Jun 1, 2019 at 16:00
  • You could modify the links using the native solutions for different versions (android, iOS, web...) Commented Jun 25, 2019 at 13:25
  • 1
    @Juanje can you provide more details on this ? I have generated a short link via the REST API, I've tried using something like PATCH https://firebasedynamiclinks.googleapis.com/v1/{{url_encoded_dynamic_link_url}} but Google doesn't seem to have APIs to patch a link. What do you mean by "modify the links using the native solutions" ? I'm interested / that could be the solution I am looking for Commented Jun 25, 2019 at 14:28
  • I'm having problem ingesting dynamic link analytic with its historical data. anyone have luck on this? Commented Jan 31, 2024 at 7:46

2 Answers 2

1

This is an intended behavior, but is a known feature request. Short Dynamic Links created programmatically are designed to be shared peer to peer and isn't meant to be modified later on.

The only way to edit short Dynamic Links is through the Firebase console since short links created through the console are likely to be used in campaigns.

If you have more inputs regarding this function, you can file it as a feature request here https://firebase.google.com/support

Sign up to request clarification or add additional context in comments.

Comments

0

This is the answer, which was posted as an edit in the answer:

Using the Firebase website, it's possible to update a dynamic Link and when looking at the network tabs in the console, it calls an API https://firebasedurablelinks-pa.clients6.google.com/v1/updateDurableLink where it's possible to completely update the properties of an existing dynamic link.

But then I'm left with two problems:

  1. I can't see to figure out a way to make this request work in Postman
  2. I need to update a link that was generated with the https://firebasedynamiclinks.googleapis.com/v1/shortLinks API, and therefore does not appear in the list of links in the firebase console

To partially solve the first problem, you can open the console.firebase.google.com page in the browser, open the developer inspect tool, then edit a link in the browser. The POST request to https://firebasedurablelinks-pa.clients6.google.com/v1/updateDurableLink will appear in the Network tab. Then right click and copy as curl. Edit the request as desired. Then run the curl request in the Terminal. If you put all the parameters in Postman it would work, but only for a while until the authorization runs out.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.