Was this helpful?

 

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

API Resource Path:

/apps

Description: Gets a list of app IDs in an organization

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

Overview:

Retrieves a list of all app in an organization by app ID.

To retrieve a list of all app profiles in an organization, set the query parameter expand=true.

To retrieve a list of all apps in an organization along with the consumer key and secret for each app, set the query parameter includeCred=true.

Sample Request:
$ curl -X GET -H "Accept:application/json" \
https://api.enterprise.apigee.com/v1/o/{org_name}/apps \
-u myname:mypass
Query Parameters:
Name Description Default Required?
includeCred When set to 'true', returns consumer key and secret for each app listed. false No
expand When set to 'true', returns the full app profile for each app listed. false No
Sample Response:
[ "7b3ec66d-de8b-4ab5-8025-d949285bed4f", "3cb6d175-0cb9-5521-bcbd-c9b33b64fffe"  ]

with "expand=true":

{
  "app" : [ {
    "accessType" : "read",
    "apiProducts" : [ ],
    "appFamily" : "default",
    "appId" : "b568290c-8d8a-4320-9d67-5049529808bf",
    "attributes" : [ {
      "name" : "Developer",
      "value" : "tesla@weathersample.com"
    }, {
      "name" : "DisplayName",
      "value" : "TestAPIKey"
    }, {
      "name" : "Notes",
      "value" : ""
    }, {
      "name" : "lastModifier",
      "value" : ""
    } ],
    "callbackUrl" : "login.key",
    "createdAt" : 1361464819504,
    "createdBy" : "adminui@apigee.com",
    "credentials" : [ {
      "apiProducts" : [ {
        "apiproduct" : "FreeAPIProduct",
        "status" : "approved"
      } ],
      "attributes" : [ ],
      "consumerKey" : "VthHL9GzLWGZpsBrRLG8RfebvQOa1G6",
      "consumerSecret" : "rAzd4hsxikl14xF",
      "scopes" : [ ],
      "status" : "approved"
    } ],
    "developerId" : "KwwkQ8Fsp6Fm3Zmz",
    "lastModifiedAt" : 1361464819504,
    "lastModifiedBy" : "adminui@apigee.com",
    "name" : "testapikey",
    "scopes" : [ ],
    "status" : "approved"
  } ]
}

 

Add new comment

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.