While trying to retrieve details for a developer app, /v1/organizations/testorg/developers/apigeetest@apigee.com/apps/test%20space, I am receiving
HTTP/1.1 404 Not Found
Connection:
keep-alive
Content-Length:
149
Content-Type:
application/json
Date:
Thu, 12 Feb 2015 19:36:32 GMT{ "code": "developer.service.AppDoesNotExist", "message": "App named test space does not exist under apigeetest@apigee.com", "contexts": []} I could see the app, named ’test space’, in the list of developer apps in the Apigee Enterprise UI. How could I find the app through the API?
Solved! Go to Solution.
For developer apps, Apigee has this concept about app name and app display name. The app name is used as a unique ID to retrieve the app after the app is created; therefore, once an app is created, the app name would stay constant and is not editable while users could change the app's display name as many times as they wish.
As of current, when a user creates an app through the UI, the user would be prompted with only the display name for the app and the display name would then be used for both the app name and the app display name. Furthermore, if a user creates an app with space in the display name through the UI, then we would replace each space with a dash "-" and used it as the app name while the display name would remain the same as whatever user's input is.
Please issue /v1/organizations/testorg/developers/apigeetest@apigee.com/apps/ to find the app names for the developer,then issue/v1/organizations/testorg/developers/apigeetest@apigee.com/apps/test-space to retrieve the details for the app.
Reference point http://apigee.com/docs/management/apis/post/organizations/%7Borg_name%7D/developers/%7Bdeveloper_ema....
For developer apps, Apigee has this concept about app name and app display name. The app name is used as a unique ID to retrieve the app after the app is created; therefore, once an app is created, the app name would stay constant and is not editable while users could change the app's display name as many times as they wish.
As of current, when a user creates an app through the UI, the user would be prompted with only the display name for the app and the display name would then be used for both the app name and the app display name. Furthermore, if a user creates an app with space in the display name through the UI, then we would replace each space with a dash "-" and used it as the app name while the display name would remain the same as whatever user's input is.
Please issue /v1/organizations/testorg/developers/apigeetest@apigee.com/apps/ to find the app names for the developer,then issue/v1/organizations/testorg/developers/apigeetest@apigee.com/apps/test-space to retrieve the details for the app.
Reference point http://apigee.com/docs/management/apis/post/organizations/%7Borg_name%7D/developers/%7Bdeveloper_ema....