Was this helpful?

 

Base Path: https://api.enterprise.apigee.com/v1/o/{org_name}

API Resource Path:

/apiproducts/{apiproductName}?query=count&entity={entity_name}

Description: Gets a count of one of the entities (either keys/apps/developers/companies ) associated with a given API Product

Verb: GET
Auth: Basic Auth
Media types:
application/json
text/xml

For detailed instructions on using the "Get count of keys, apps, developers, or companies for an API product" method, see Using the Edge management API to Publish APIs.

Overview: This method can be used to get a count of any of the four entities- consumer keys, apps, developers, or companies--that are associated with a given API product.

Sample Request:
$ curl -X GET -H "Accept:application/json" \
https://api.enterprise.apigee.com/v1/o/{org_name}/apiproducts/{apiproduct_name}?"query=count&entity={entity_name}" \
-u myname:mypass
Sample Response:
{
   "value" : 3
}
Response Payload Elements:
Name Description
value The value of the returned data
Errors
{
   "Error":{
      "Code":"keymanagement.service.apiproduct_invalid_name",
      "Message":"ApiProduct Name is invalid",
      "Contexts":""
   }
}

 

コメントを追加

Provide your email address if you wish to be contacted offline about your comment.
We will not display your email address as part of your comment.

We'd love your feedback and perspective! Please be as specific as possible.
Type the characters you see in this picture. (verify using audio)

Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.