Drupal rules for sending email notifications & Rest API calls

Not applicable

We are exploring 2 more features as part of our POC:

  • -Integrate email notifications for forums (all forum actions; create a new forum, delete a forum, new comment, etc..)
  • -And also we need to check if we can generate a rest API call upon a certain event through RULES

I have tried following a youtube video explaining how to add Rules for sending email notifications on forum activities at:

https://www.youtube.com/watch?v=jwqW7zN0eTY

Even after setting up all of the areas, we are still not getting any email notification once someone replies to for example my post or vice versa.

After doing some research I found 2 more modules that might be useful for forum notifications. I am not sure if they will be and will appreciate if someone can provide feedback on them being useful/required for forum notifications or not:

Also, for the Rest API is it possible to add the module to our dev portal?

  • -Rest API – I am not sure which module would be suitable for this as there are many available. I believe you already told us that you can add a Rest API module for us.

Regards,

Solved Solved
1 4 1,081
1 ACCEPTED SOLUTION

Former Community Member
Not applicable

Hey @TariqGhalib

I have installed those modules for you in (dev-pointclickcareapis.devportal.apigee.com)

View solution in original post

4 REPLIES 4

Not applicable

For the REST API, there should be two modules that are shipped by default called "Services" and "REST Server". Start off by enabling both of those.

Once enabled, you can create a new service by going to Structure -> Services -> Add

2887-screen-shot-2016-06-09-at-20745-pm.png

This will let you add the endpoint:

2888-endpoint.png

And you can then configure which resources you want to access through this service:

2889-resources.png

We are actually interested in other way around. Where we test an ability to make Rest API calls from Dev Portal to any external endpoint (/service, api, proxy, ...). I have come across one module; Restful Web Services API:

https://www.drupal.org/developing/api/8/rest

But this is now available by default and someone will need to add this module for us.

Below are few rest clients that might come handy. Since we are exploring and we dont have access to source code it will be great if someone can add these modules for us to try them all:

https://www.drupal.org/project/restclient

https://www.drupal.org/project/clients

and the last one which we will definitely prefer is:

https://www.drupal.org/project/rules_http_client

Former Community Member
Not applicable

Hey @TariqGhalib

I have installed those modules for you in (dev-pointclickcareapis.devportal.apigee.com)