Adding custom attribute to an API Proxy

Not applicable

Hi

Is there a way of adding custom attributes to an API Proxy in a similar fashion as DeveloperApp and Product. Any pointers are appreciated.

Thanks

Sumeet Chawla

0 5 587
5 REPLIES 5

Not applicable

What's your use case for this?

Not applicable

Trying to archive non used API Proxies depending on date created and volume for last 6 months. I don't want to delete an inactive API Proxy that might be used once a year so want to put an attribute value which automation can read and ignore this proxy.

example:

attribute: "usage"

value:"rare"

Cheers

Sumeet

Not applicable

@Sumeet Chawla

Unfortunately, it doesn't seem like this is available. An alternative is to maybe move the rarely used APIs to another org.

You can easily export the API by following this doc:

http://docs.apigee.com/api-services/content/download-api-proxies

And when you want to import it into the new org, follow this doc:

http://docs.apigee.com/api-services/content/build-simple-api-proxy#importinganapiproxyfromanapiproxy...

adas
New Member

@Sumeet ChawlaCustom attributes are not available for proxies. I am not sure what your usecase is. How do you know an api proxy is not used or rarely used ? Even if there's an api proxy which gets only 1-2 calls every now and then, what would be the usecase to move them or tag them specifically? Can please elaborate ?

You can get usage stats for each proxy from analytics data using analytics mgmt api calls for stats and then do the same logic, it would be much more dynamic and deterministic.

@Sumeet Chawla ,

You can use KVM Policy & store key value data at proxy scope level. For more details, Refer policy documentation here.