Flow hooks for product?

Hell, All,

I m facing one issue I want to create Flow hooks for my product.

so if any api want to be a part of my product its must contain all default policies.

what is happening now is when i add new api in product i need to manually add all policies which are default one by share flow so is it possible?

when i add any api in my product it must contain all default policies ?

0 2 92
2 REPLIES 2

Maulik, unfortunately your questions is not very clear. Would you mind explaining how you are trying to add policies to an API product?

Generally, policies are added to API proxies or shared flows and API proxies are added to an API product. It is not clear how you are trying to add policies to an API product:

https://docs.apigee.com/api-platform/publish/create-api-products

Moreover, a shared flow associated with a Flow Hook will get applied to all API proxies deployed in the given environment. Hence, shared flows associated via Flow Hooks will not get directly attached to API proxies:

https://docs.apigee.com/api-platform/fundamentals/flow-hooks

It would be great if you could explain following points to provide a better answer:

  1. Your high level functional requirement
  2. The exact steps that you are following to achieve that

Sure let me try to explain,

in my organization, there are lots of product and i don't want to enforce my policies to other products.

so I dont want to do it base on the environment and force my policies to all.

but ya for my product yes I want to force my policies.

so if any one is going to add new api in my product it automatically conatin policies like "flow hooks".Let me know still you want more information

and thanks for the quick reply