Was this helpful?

API Platform Base Path:

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

API Resource Path:

/developers/{developer_email}/appfamilies

Create an App Family for Developers

Verb: POST

Auth: Basic Auth

This method enables developer apps to be associated in a collection called an 'App Family". The association of such apps is entirely arbitrary. This is often used to associate a 'sandbox' version of an app with a 'production' version of an app. Apigee does no special processing on such collections, except to maintain the relationship among apps that are contained in the family that is created using this method.

Sample Request:
$ curl -H "Content-Type:application/json" -X POST -d \
   '{"name" : "WeatherApps","apps": ["weatherapp", "weatherapp_prod"]}' \
-u myname:mypass https://api.enterprise.apigee.com/v1/o/{org_name}/developers/{developer_email}/appfamilies
Request Payload Elements:
Name Description Default Required?
name App family to which Developer Apps will be added N/A Yes
apps App name of Developer App to add to App Family N/A Yes
Sample Response:
Success 201 
{
  "apps" : [ "weatherapp", "weatherapp_prod" ],
  "name" : "WeatherApps"
}
Response Payload Elements:
Name Description
apps App family to which Developer Apps will be added
name App name of Developer App to add to App Family
Errors
Failure 4xx with proper error message
<Error>
<Code>keymanagement.service.invalid_company_name</Code>
<Message>Company Name is not valid </Message>
<Contexts/>
</Error>

<Error>
<Code>keymanagement.service.invalid_developer_email</Code>
<Message>Developer email  is not valid </Message>
<Contexts/>
</Error>

Help or comments?

  • Something's not working: See Apigee Support
  • Something's wrong with the docs: Click Send Feedback in the lower right.
    (Incorrect? Unclear? Broken link? Typo?)