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
What's your use case for this?
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
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:
@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.
You can use KVM Policy & store key value data at proxy scope level. For more details, Refer policy documentation here.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |