How to get the revision of only the deployed api proxy?

Not applicable

Is there a way i can findout only that revision of an api proxy which is deployed in particular environment?

There are ways to find out all the revisions that a proxy has and also to findout which all proxy's are currently deployed in any particular org/env, but i am looking for a curl command or a rest call which will give me directly the deployed revision.

Thanks in advance.

Solved Solved
0 2 1,528
1 ACCEPTED SOLUTION

Not applicable

You may try following management API call, to get only the deployed revision of a proxy on all environments: https://api.enterprise.apigee.com/v1/organizations/{org_name}/apis/{api_name}/deployments For further description of this API call refer: http://apigee.com/docs/management/apis/get/organizations/%7Borg_name%7D/apis/%7Bapi_name%7D/deployme...

View solution in original post

2 REPLIES 2

Not applicable

You may try following management API call, to get only the deployed revision of a proxy on all environments: https://api.enterprise.apigee.com/v1/organizations/{org_name}/apis/{api_name}/deployments For further description of this API call refer: http://apigee.com/docs/management/apis/get/organizations/%7Borg_name%7D/apis/%7Bapi_name%7D/deployme...

I did try the first one, but second API Call is the one which i was looking for. Thank you so much for your help.