Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 

149 rindas
4.5 KiB

  1. {
  2. "auth": {
  3. "oauth2": {
  4. "scopes": {
  5. "https://www.googleapis.com/auth/androidpublisher": {
  6. "description": "View and manage your Google Play Developer account"
  7. }
  8. }
  9. }
  10. },
  11. "basePath": "/playcustomapp/v1/accounts/",
  12. "baseUrl": "https://www.googleapis.com/playcustomapp/v1/accounts/",
  13. "batchPath": "batch/playcustomapp/v1",
  14. "description": "An API to publish custom Android apps.",
  15. "discoveryVersion": "v1",
  16. "documentationLink": "https://developers.google.com/android/work/play/custom-app-api",
  17. "etag": "\"Zkyw9ACJZUvcYmlFaKGChzhmtnE/ywOAt8XWKM4cusVP0mF5yu49aEk\"",
  18. "icons": {
  19. "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
  20. "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
  21. },
  22. "id": "playcustomapp:v1",
  23. "kind": "discovery#restDescription",
  24. "name": "playcustomapp",
  25. "ownerDomain": "google.com",
  26. "ownerName": "Google",
  27. "parameters": {
  28. "alt": {
  29. "default": "json",
  30. "description": "Data format for the response.",
  31. "enum": [
  32. "json"
  33. ],
  34. "enumDescriptions": [
  35. "Responses with Content-Type of application/json"
  36. ],
  37. "location": "query",
  38. "type": "string"
  39. },
  40. "fields": {
  41. "description": "Selector specifying which fields to include in a partial response.",
  42. "location": "query",
  43. "type": "string"
  44. },
  45. "key": {
  46. "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.",
  47. "location": "query",
  48. "type": "string"
  49. },
  50. "oauth_token": {
  51. "description": "OAuth 2.0 token for the current user.",
  52. "location": "query",
  53. "type": "string"
  54. },
  55. "prettyPrint": {
  56. "default": "true",
  57. "description": "Returns response with indentations and line breaks.",
  58. "location": "query",
  59. "type": "boolean"
  60. },
  61. "quotaUser": {
  62. "description": "An opaque string that represents a user for quota purposes. Must not exceed 40 characters.",
  63. "location": "query",
  64. "type": "string"
  65. },
  66. "userIp": {
  67. "description": "Deprecated. Please use quotaUser instead.",
  68. "location": "query",
  69. "type": "string"
  70. }
  71. },
  72. "protocol": "rest",
  73. "resources": {
  74. "accounts": {
  75. "resources": {
  76. "customApps": {
  77. "methods": {
  78. "create": {
  79. "description": "Create and publish a new custom app.",
  80. "httpMethod": "POST",
  81. "id": "playcustomapp.accounts.customApps.create",
  82. "mediaUpload": {
  83. "accept": [
  84. "*/*"
  85. ],
  86. "maxSize": "100MB",
  87. "protocols": {
  88. "resumable": {
  89. "multipart": true,
  90. "path": "/resumable/upload/playcustomapp/v1/accounts/{account}/customApps"
  91. },
  92. "simple": {
  93. "multipart": true,
  94. "path": "/upload/playcustomapp/v1/accounts/{account}/customApps"
  95. }
  96. }
  97. },
  98. "parameterOrder": [
  99. "account"
  100. ],
  101. "parameters": {
  102. "account": {
  103. "description": "Developer account ID.",
  104. "format": "int64",
  105. "location": "path",
  106. "required": true,
  107. "type": "string"
  108. }
  109. },
  110. "path": "{account}/customApps",
  111. "request": {
  112. "$ref": "CustomApp"
  113. },
  114. "response": {
  115. "$ref": "CustomApp"
  116. },
  117. "scopes": [
  118. "https://www.googleapis.com/auth/androidpublisher"
  119. ],
  120. "supportsMediaUpload": true
  121. }
  122. }
  123. }
  124. }
  125. }
  126. },
  127. "revision": "20170622",
  128. "rootUrl": "https://www.googleapis.com/",
  129. "schemas": {
  130. "CustomApp": {
  131. "description": "This resource represents a custom app.",
  132. "id": "CustomApp",
  133. "properties": {
  134. "languageCode": {
  135. "description": "Default listing language in BCP 47 format.",
  136. "type": "string"
  137. },
  138. "title": {
  139. "description": "Title for the Android app.",
  140. "type": "string"
  141. }
  142. },
  143. "type": "object"
  144. }
  145. },
  146. "servicePath": "playcustomapp/v1/accounts/",
  147. "title": "Google Play Custom App Publishing API",
  148. "version": "v1"
  149. }