Customize AppID for the developer App, is it possible?

Not applicable

We have a requirement for the developer application, use customized appId instead of the apigee generated appId, is it possible? Currently, we're using management API to create the dev application.

0 5 270
5 REPLIES 5

@Ethan Ma ,

Yes, It's possible. Leverage developer app attributes to store custom AppId. If you are talking about developer portal context, you need to write a small custom module which needs little bit of drupal expertise which auto-adds custom id everytime user creates developer app.

If you want a field in developer portal Add App Screen where developer can add id manually, it's available out of the box using configuration instead of writing code.

3325-screen-shot-2016-08-09-at-75852-am.png

Keep us posted if you have any queries.

Actually, I'm doing this from the apigee API.

http://docs.apigee.com/management/apis/post/organizations/%7Borg_name%7D/developers/%7Bdeveloper_ema...

It seems I cannot overwrite the appId that is generated by the apigee edge.

Payload sample:

---------------------

{

"appId":"353d4706-4670-4c8f-9896-3c3fc117efcb",

"name": "hello",

"apiProducts": ["test"],

"attributes": [

{

"name": "DisplayName",

"value": "hello"

},

{

"name": "Notes",

"value": "my note"

},{

"name": "appId",

"value": "353d4706-4670-4c8f-9896-3c3fc117efcb"

}

],

"callbackUrl": "http://www.hellon.com"

}

----------------

The response appId will be something totally different than what's in the request.

@Ethan Ma , Yes , App Id is the unique machine id generated by Apigee Edge for each app. You cannot override / update same. If you need to maintain some custom id along with app, App Attributes is the way to go. You can update / delete app attributes anytime.

Hope it helps.

is the app id always in the same format?

yes, since it's generated.