In the New Edge Portal, can I be notified if a developer chooses an API product with manual approval?

Not applicable

I have created a New Edge portal, and an API product. I have set developer approval to manual, and set an email address for notification of new developers awaiting approval. That appears to work correctly. But when I set an API product for manual approval, no notification email is sent. This means a developer could wait indefinitely or have to complain about not having approval for an API.

There appears to be a way to do this with Drupal portals: What is the best way in Dev Portal to apply a Workflow for Manual API Key Approval? but I don't see how to do this in a New Edge portal.

1 1 197
1 REPLY 1

I don't know how to do it other than running a cron job periodically to check whether there are developer apps marked "pending".

You would perform a GET on

$mgmtserver/v1/o/$ORG/apps

...and then iterate through those apps querying each one to find the ones with credentials marked "pending".

If there are any, then .. send the email to the approvers.

This is a pain, for now.