Execute Chef recipe/command

Is there an REST or Java API that allows remotes execution of Chef recipe/command?

The chef-server itself has a REST api but the execution of the chef-client is something triggered by the node itself on an interval via a cron job or when run as a daemon. If you’re looking for something to do remote execution you might want to check out Push Jobs1 or something like RunDeck2

-cheeseplus

Based on what you said, we would need to call Rundeck, which will call Chef.
I read through this article about Rundeck and Chef integration, but I can’t figure out exactly how this would be done.

https://techblog.shutl.com/2014/12/continuous-deployment-with-rundeck-and-chef/

I checked https://docs.chef.io/install_push_jobs.html and it seems to based on command prompt, and not REST API.