cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Developer API Limitations

bud
Deputy Chef I
Deputy Chef I

Hi, I'm trying to get information about recipes our team has created via the Developer API (https://docs.workato.com/workato-api.html#workato-api). In particular, I'd like to know who created the latest version of the recipe to attribute them as the owner. I've used both `GET /api/recipes` and `GET /api/recipes/:id`. Neither seem to have access to this info. I had a glimmer of hope that `GET /api/recipes/:id` would have what I wanted in the `author_name` field but at least for me, it returned a string representing a user that didn't create or update the recipe I was looking at. Is there some secret hidden APIs I can use that aren't documented here: https://docs.workato.com/workato-api/recipes.html? Thanks.

9 REPLIES 9

roland-daane
Deputy Chef II
Deputy Chef II

What you should do is run the recipe ops regularly.

Iโ€™ve created a whole admin page in a sharePoint site where the recipe statuses can be seen, people can start stop recipes etc.

If you store the data, youโ€™ll have the creator and people that have updated together with the person that last changed it.

 

bud
Deputy Chef I
Deputy Chef I

@max

Yeah I'm trying to get the person that last modified the recipe. For us anyway, who created the recipe is less useful than knowing who has recently modified it.


@daa

By recipe ops, do you mean this:

https://docs.workato.com/workato-api/recipe-lifecycle-management.html#recipe-lifecycle-management


I pulled stuff down manually and I don't see anything it there that would help either.

bud
Deputy Chef I
Deputy Chef I

@daa

Now I think see what you are getting at. I could probably do that. Do you run that on a schedule?

harish
Workato employee
Workato employee

Today, we released an update to the platform API. The recipe details endpoint(https://docs.workato.com/workato-api.html) returns a new field called version_author_name. This endpoint is available in the OEM API also.

bud
Deputy Chef I
Deputy Chef I

What is this magic power I have that I can ask a vendor for a minor feature and it appears less than a week later?


In a dream world, this same data would be in the data returned in the call to list the recipes (GET /api/recipes) too. Would save iterating over each recipe to get that extra data.