Generate one-click link accessible by anonymous user for one of the pages in developer portal

We have a developer portal (Drupal-based) deployed in Patheon. We have published many APIs on the portal. I need to generate a one-click link for one of the APIs, so that it can be embedded in any other web page.

Now, when an anonymous user clicks that link, she should land on the developer portal without any login and in a position to execute that API. Is this kind of functionality feasible in Apigee developer portal?

0 2 127
2 REPLIES 2

yes, I guess so.

You would need to

  • configure smartdocs with the API in question
  • configure security on the smartdocs page so that anonymous users could access it
  • embed a reusable API Key into the smartdocs form.
  • embed the URL into the other web page.

If I were you I would do the above in the order listed. First work on smart docs. Then open the security to allow anon users. Then embed a default API key. (You will have to figure out a way to rate limit that special key so that it won't be used outside of the Drupal smartdocs client)

After that, it's just a matter of copying the URL and pasting it into the other web page.

Thanks @Dino-at-Google. I'll verify and update here.