Did we deprecate the API to "Get Count of API Resources for Developer App"

The Get Count of API Resources for Developer App API is returning an error message for "query=count":

HTTP/1.1 410 Gone
Connection:
keep-alive
Content-Length:
116
Content-Type:
application/json
Date:
Fri, 02 Sep 2016 16:29:10 GMT
Server:
Apigee Router
{
  "code": "keymanagement.service.CountNotSupported",
  "message": "Count is not supported",
  "contexts": []
}

Notice that the response code is "410 Gone". Was this API removed?

Stephen

Solved Solved
1 5 254
1 ACCEPTED SOLUTION

Hey @sgilson - That API worked for non-CPS orgs (legacy), but it throws a 410 as expected in CPS and won't be supported with CPS. I've added a deprecation notice to the topic. Thanks!

View solution in original post

5 REPLIES 5

Good catch @sgilson , Looks like it is removed. @tskumar@apigee.com , @sribalaji Any idea ?

Hey @sgilson - That API worked for non-CPS orgs (legacy), but it throws a 410 as expected in CPS and won't be supported with CPS. I've added a deprecation notice to the topic. Thanks!

Does that mean it will still work for an OPDK install?

Hi @sgilson, @Floyd Jones now that this API is deprecated, can you please tell me what is the best way to get count of API resources for a developer app?

@ChinmayieDikshit, try running Get Developer App Details, find the product(s) associated with the app that have a status of "approved," then run Get API Product for each product to see the list of resources for each.