How to the Actual developer App name

Hi ,

How can can I get actual "name" of the developer app using the management API. Attached is screen shot. Note : Actual name and Display name can be different. As shown in screen shot.

I tried following management API call but it just gives the "display name" not the "Name" filed.

https://apidocs.apigee.com/management/apis/get/organizations/%7Borg_name%7D/apps/%7Bapp_id%7D

My usecase : Is to update the huge list of developer APP with a new product. I am writing a script to do so.

9755-developer-app.png

Thanks in advance,

Solved Solved
0 2 446
1 ACCEPTED SOLUTION

https://apidocs.apigee.com/management/apis/get/organizations/%7Borg_name%7D/apps/%7Bapp_id%7D

It does work you will get both the Display Name and Name in the response,

{
  "apiProducts": [],
  ...
  "appId": "b8447787-4f3b-405d-9ead-c8b53bba9d5b",
  "attributes": [
    {
      "name": "DisplayName",
      "value": "Josiah's Weather App" /////////////////////DISPLAYNAME
    }
  ],
  "callbackUrl": "http://joe.app/login",
 ....
  "credentials": [
    {
      "apiProducts": [],
      ...
    }
  ],
  .....
  "lastModifiedBy": "onlineman477@gmail.com",
  "name": "joe-app",    ///////////////////////////NAME
  "scopes": [],
  "status": "approved"
}

View solution in original post

2 REPLIES 2

https://apidocs.apigee.com/management/apis/get/organizations/%7Borg_name%7D/apps/%7Bapp_id%7D

It does work you will get both the Display Name and Name in the response,

{
  "apiProducts": [],
  ...
  "appId": "b8447787-4f3b-405d-9ead-c8b53bba9d5b",
  "attributes": [
    {
      "name": "DisplayName",
      "value": "Josiah's Weather App" /////////////////////DISPLAYNAME
    }
  ],
  "callbackUrl": "http://joe.app/login",
 ....
  "credentials": [
    {
      "apiProducts": [],
      ...
    }
  ],
  .....
  "lastModifiedBy": "onlineman477@gmail.com",
  "name": "joe-app",    ///////////////////////////NAME
  "scopes": [],
  "status": "approved"
}

Thnaks , It was silly I used a wrong APP ID.