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>

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.