v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13134345498.3 KB
organizations

Creates an app and associates it with an AppGroup. This API associates the AppGroup app with the specified API product and auto-generates an API key for the app to use in calls to API proxies inside that API product. The name is the unique ID of the app that you can use in API calls.

post/v1/{+parent}/apps

Path parameters

parentstring required

Required. Name of the AppGroup. Use the following structure in your request: organizations/{org}/appgroups/{app_group_name}

Request body

callbackUrlstring

Callback URL used by OAuth 2.0 authorization servers to communicate authorization codes back to AppGroup apps.

appIdstring

Immutable. ID of the AppGroup app.

keyExpiresInstring int64

Immutable. Expiration time, in seconds, for the consumer key that is generated for the AppGroup app. If not set or left to the default value of -1, the API key never expires. The expiration time can't be updated after it is set.

appGroupstring

Immutable. Name of the parent AppGroup whose resource name format is of syntax (organizations//appgroups/).

apiProductsstring[]

List of API products associated with the AppGroup app.

scopesstring[]

Scopes to apply to the AppGroup app. The specified scopes must already exist for the API product that you associate with the AppGroup app.

namestring

Immutable. Name of the AppGroup app whose resource name format is of syntax (organizations//appgroups//apps/*).

lastModifiedAtstring int64

Output only. Time the AppGroup app was modified in milliseconds since epoch.

createdAtstring int64

Output only. Time the AppGroup app was created in milliseconds since epoch.

statusstring

Status of the App. Valid values include approved or revoked.

Response

Successful response