{ "batchPath": "batch", "description": "API to create and publish custom Android apps", "version": "v1", "basePath": "", "servicePath": "", "fullyEncodeReservedExpansion": true, "auth": { "oauth2": { "scopes": { "https://www.googleapis.com/auth/androidpublisher": { "description": "View and manage your Google Play Developer account" } } } }, "id": "playcustomapp:v1", "schemas": { "CustomApp": { "description": "This resource represents a custom app.", "id": "CustomApp", "type": "object", "properties": { "organizations": { "description": "Organizations to which the custom app should be made available. If the request contains any organizations, then the app will be restricted to only these organizations. To support the organization linked to the developer account, the organization ID should be provided explicitly together with other organizations. If no organizations are provided, then the app is only available to the organization linked to the developer account.", "items": { "$ref": "Organization" }, "type": "array" }, "languageCode": { "type": "string", "description": "Default listing language in BCP 47 format." }, "title": { "type": "string", "description": "Title for the Android app." }, "packageName": { "type": "string", "readOnly": true, "description": "Output only. Package name of the created Android app. Only present in the API response." } } }, "Organization": { "type": "object", "id": "Organization", "description": "Represents an organization that can access a custom app.", "properties": { "organizationName": { "type": "string", "description": "Optional. A human-readable name of the organization, to help recognize the organization." }, "organizationId": { "type": "string", "description": "Required. ID of the organization." } } } }, "discoveryVersion": "v1", "ownerName": "Google", "resources": { "accounts": { "resources": { "customApps": { "methods": { "create": { "mediaUpload": { "protocols": { "simple": { "path": "/upload/playcustomapp/v1/accounts/{account}/customApps", "multipart": true }, "resumable": { "multipart": true, "path": "/resumable/upload/playcustomapp/v1/accounts/{account}/customApps" } }, "maxSize": "10737418240", "accept": [ "*/*" ] }, "response": { "$ref": "CustomApp" }, "flatPath": "playcustomapp/v1/accounts/{account}/customApps", "scopes": [ "https://www.googleapis.com/auth/androidpublisher" ], "path": "playcustomapp/v1/accounts/{account}/customApps", "request": { "$ref": "CustomApp" }, "httpMethod": "POST", "description": "Creates a new custom app.", "parameterOrder": [ "account" ], "parameters": { "account": { "format": "int64", "description": "Developer account ID.", "type": "string", "location": "path", "required": true } }, "supportsMediaUpload": true, "id": "playcustomapp.accounts.customApps.create" } } } } } }, "rootUrl": "https://playcustomapp.googleapis.com/", "baseUrl": "https://playcustomapp.googleapis.com/", "ownerDomain": "google.com", "documentationLink": "https://developers.google.com/android/work/play/custom-app-api/", "title": "Google Play Custom App Publishing API", "icons": { "x16": "http://www.google.com/images/icons/product/search-16.gif", "x32": "http://www.google.com/images/icons/product/search-32.gif" }, "kind": "discovery#restDescription", "parameters": { "upload_protocol": { "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", "location": "query", "type": "string" }, "$.xgafv": { "enum": [ "1", "2" ], "type": "string", "location": "query", "description": "V1 error format.", "enumDescriptions": [ "v1 error format", "v2 error format" ] }, "key": { "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", "location": "query", "type": "string" }, "prettyPrint": { "location": "query", "default": "true", "type": "boolean", "description": "Returns response with indentations and line breaks." }, "fields": { "description": "Selector specifying which fields to include in a partial response.", "location": "query", "type": "string" }, "access_token": { "location": "query", "description": "OAuth access token.", "type": "string" }, "quotaUser": { "location": "query", "type": "string", "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters." }, "uploadType": { "location": "query", "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", "type": "string" }, "alt": { "type": "string", "enumDescriptions": [ "Responses with Content-Type of application/json", "Media download with context-dependent Content-Type", "Responses with Content-Type of application/x-protobuf" ], "description": "Data format for response.", "default": "json", "enum": [ "json", "media", "proto" ], "location": "query" }, "oauth_token": { "type": "string", "description": "OAuth 2.0 token for the current user.", "location": "query" }, "callback": { "location": "query", "description": "JSONP", "type": "string" } }, "name": "playcustomapp", "mtlsRootUrl": "https://playcustomapp.mtls.googleapis.com/", "revision": "20211022", "protocol": "rest" }