yoshi-code-bot | bdce941 | 2021-06-01 00:50:02 -0700 | [diff] [blame] | 1 | { |
| 2 | "basePath": "", |
| 3 | "baseUrl": "https://ideahub.googleapis.com/", |
| 4 | "batchPath": "batch", |
| 5 | "canonicalName": "Ideahub", |
| 6 | "description": "", |
| 7 | "discoveryVersion": "v1", |
| 8 | "documentationLink": "https://console.cloud.google.com/apis/library/ideahub.googleapis.com", |
| 9 | "fullyEncodeReservedExpansion": true, |
| 10 | "icons": { |
| 11 | "x16": "http://www.google.com/images/icons/product/search-16.gif", |
| 12 | "x32": "http://www.google.com/images/icons/product/search-32.gif" |
| 13 | }, |
| 14 | "id": "ideahub:v1alpha", |
| 15 | "kind": "discovery#restDescription", |
| 16 | "mtlsRootUrl": "https://ideahub.mtls.googleapis.com/", |
| 17 | "name": "ideahub", |
| 18 | "ownerDomain": "google.com", |
| 19 | "ownerName": "Google", |
| 20 | "parameters": { |
| 21 | "$.xgafv": { |
| 22 | "description": "V1 error format.", |
| 23 | "enum": [ |
| 24 | "1", |
| 25 | "2" |
| 26 | ], |
| 27 | "enumDescriptions": [ |
| 28 | "v1 error format", |
| 29 | "v2 error format" |
| 30 | ], |
| 31 | "location": "query", |
| 32 | "type": "string" |
| 33 | }, |
| 34 | "access_token": { |
| 35 | "description": "OAuth access token.", |
| 36 | "location": "query", |
| 37 | "type": "string" |
| 38 | }, |
| 39 | "alt": { |
| 40 | "default": "json", |
| 41 | "description": "Data format for response.", |
| 42 | "enum": [ |
| 43 | "json", |
| 44 | "media", |
| 45 | "proto" |
| 46 | ], |
| 47 | "enumDescriptions": [ |
| 48 | "Responses with Content-Type of application/json", |
| 49 | "Media download with context-dependent Content-Type", |
| 50 | "Responses with Content-Type of application/x-protobuf" |
| 51 | ], |
| 52 | "location": "query", |
| 53 | "type": "string" |
| 54 | }, |
| 55 | "callback": { |
| 56 | "description": "JSONP", |
| 57 | "location": "query", |
| 58 | "type": "string" |
| 59 | }, |
| 60 | "fields": { |
| 61 | "description": "Selector specifying which fields to include in a partial response.", |
| 62 | "location": "query", |
| 63 | "type": "string" |
| 64 | }, |
| 65 | "key": { |
| 66 | "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.", |
| 67 | "location": "query", |
| 68 | "type": "string" |
| 69 | }, |
| 70 | "oauth_token": { |
| 71 | "description": "OAuth 2.0 token for the current user.", |
| 72 | "location": "query", |
| 73 | "type": "string" |
| 74 | }, |
| 75 | "prettyPrint": { |
| 76 | "default": "true", |
| 77 | "description": "Returns response with indentations and line breaks.", |
| 78 | "location": "query", |
| 79 | "type": "boolean" |
| 80 | }, |
| 81 | "quotaUser": { |
| 82 | "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.", |
| 83 | "location": "query", |
| 84 | "type": "string" |
| 85 | }, |
| 86 | "uploadType": { |
| 87 | "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", |
| 88 | "location": "query", |
| 89 | "type": "string" |
| 90 | }, |
| 91 | "upload_protocol": { |
| 92 | "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", |
| 93 | "location": "query", |
| 94 | "type": "string" |
| 95 | } |
| 96 | }, |
| 97 | "protocol": "rest", |
| 98 | "resources": { |
| 99 | "ideas": { |
| 100 | "methods": { |
| 101 | "list": { |
| 102 | "description": "List ideas for a given Creator and filter and sort options.", |
| 103 | "flatPath": "v1alpha/ideas", |
| 104 | "httpMethod": "GET", |
| 105 | "id": "ideahub.ideas.list", |
| 106 | "parameterOrder": [], |
| 107 | "parameters": { |
| 108 | "creator.platform": { |
| 109 | "description": "Identifies the platform from which this user is accessing Idea Hub.", |
| 110 | "enum": [ |
| 111 | "UNKNOWN", |
| 112 | "BLOGGER", |
| 113 | "SITEKIT" |
| 114 | ], |
| 115 | "enumDescriptions": [ |
| 116 | "", |
| 117 | "", |
| 118 | "" |
| 119 | ], |
| 120 | "location": "query", |
| 121 | "type": "string" |
| 122 | }, |
| 123 | "creator.platformId": { |
| 124 | "description": "Identifies the platform account (blog/site/etc.) for which to fetch Ideas.", |
| 125 | "location": "query", |
| 126 | "type": "string" |
| 127 | }, |
| 128 | "filter": { |
| 129 | "description": "Filter semantics described below.", |
| 130 | "location": "query", |
| 131 | "type": "string" |
| 132 | }, |
| 133 | "orderBy": { |
| 134 | "description": "Order semantics described below.", |
| 135 | "location": "query", |
| 136 | "type": "string" |
| 137 | }, |
| 138 | "pageSize": { |
| 139 | "description": "The maximum number of ideas per page. If unspecified, at most 10 ideas will be returned. The maximum value is 2000; values above 2000 will be coerced to 2000.", |
| 140 | "format": "int32", |
| 141 | "location": "query", |
| 142 | "type": "integer" |
| 143 | }, |
| 144 | "pageToken": { |
| 145 | "description": "Used to fetch next page.", |
| 146 | "location": "query", |
| 147 | "type": "string" |
| 148 | }, |
| 149 | "parent": { |
| 150 | "description": "If defined, specifies the creator for which to filter by. Format: publishers/{publisher}/properties/{property}", |
| 151 | "location": "query", |
| 152 | "type": "string" |
| 153 | } |
| 154 | }, |
| 155 | "path": "v1alpha/ideas", |
| 156 | "response": { |
| 157 | "$ref": "GoogleSearchIdeahubV1alphaListIdeasResponse" |
| 158 | } |
| 159 | } |
| 160 | } |
| 161 | }, |
| 162 | "platforms": { |
| 163 | "resources": { |
| 164 | "properties": { |
| 165 | "resources": { |
| 166 | "ideaStates": { |
| 167 | "methods": { |
| 168 | "patch": { |
| 169 | "description": "Update an idea state resource.", |
| 170 | "flatPath": "v1alpha/platforms/{platformsId}/properties/{propertiesId}/ideaStates/{ideaStatesId}", |
| 171 | "httpMethod": "PATCH", |
| 172 | "id": "ideahub.platforms.properties.ideaStates.patch", |
| 173 | "parameterOrder": [ |
| 174 | "name" |
| 175 | ], |
| 176 | "parameters": { |
| 177 | "name": { |
| 178 | "description": "Unique identifier for the idea state. Format: platforms/{platform}/properties/{property}/ideaStates/{idea_state}", |
| 179 | "location": "path", |
| 180 | "pattern": "^platforms/[^/]+/properties/[^/]+/ideaStates/[^/]+$", |
| 181 | "required": true, |
| 182 | "type": "string" |
| 183 | }, |
| 184 | "updateMask": { |
| 185 | "description": "The list of fields to be updated.", |
| 186 | "format": "google-fieldmask", |
| 187 | "location": "query", |
| 188 | "type": "string" |
| 189 | } |
| 190 | }, |
| 191 | "path": "v1alpha/{+name}", |
| 192 | "request": { |
| 193 | "$ref": "GoogleSearchIdeahubV1alphaIdeaState" |
| 194 | }, |
| 195 | "response": { |
| 196 | "$ref": "GoogleSearchIdeahubV1alphaIdeaState" |
| 197 | } |
| 198 | } |
| 199 | } |
| 200 | }, |
| 201 | "ideas": { |
| 202 | "methods": { |
| 203 | "list": { |
| 204 | "description": "List ideas for a given Creator and filter and sort options.", |
| 205 | "flatPath": "v1alpha/platforms/{platformsId}/properties/{propertiesId}/ideas", |
| 206 | "httpMethod": "GET", |
| 207 | "id": "ideahub.platforms.properties.ideas.list", |
| 208 | "parameterOrder": [ |
| 209 | "parent" |
| 210 | ], |
| 211 | "parameters": { |
| 212 | "creator.platform": { |
| 213 | "description": "Identifies the platform from which this user is accessing Idea Hub.", |
| 214 | "enum": [ |
| 215 | "UNKNOWN", |
| 216 | "BLOGGER", |
| 217 | "SITEKIT" |
| 218 | ], |
| 219 | "enumDescriptions": [ |
| 220 | "", |
| 221 | "", |
| 222 | "" |
| 223 | ], |
| 224 | "location": "query", |
| 225 | "type": "string" |
| 226 | }, |
| 227 | "creator.platformId": { |
| 228 | "description": "Identifies the platform account (blog/site/etc.) for which to fetch Ideas.", |
| 229 | "location": "query", |
| 230 | "type": "string" |
| 231 | }, |
| 232 | "filter": { |
| 233 | "description": "Filter semantics described below.", |
| 234 | "location": "query", |
| 235 | "type": "string" |
| 236 | }, |
| 237 | "orderBy": { |
| 238 | "description": "Order semantics described below.", |
| 239 | "location": "query", |
| 240 | "type": "string" |
| 241 | }, |
| 242 | "pageSize": { |
| 243 | "description": "The maximum number of ideas per page. If unspecified, at most 10 ideas will be returned. The maximum value is 2000; values above 2000 will be coerced to 2000.", |
| 244 | "format": "int32", |
| 245 | "location": "query", |
| 246 | "type": "integer" |
| 247 | }, |
| 248 | "pageToken": { |
| 249 | "description": "Used to fetch next page.", |
| 250 | "location": "query", |
| 251 | "type": "string" |
| 252 | }, |
| 253 | "parent": { |
| 254 | "description": "If defined, specifies the creator for which to filter by. Format: publishers/{publisher}/properties/{property}", |
| 255 | "location": "path", |
| 256 | "pattern": "^platforms/[^/]+/properties/[^/]+$", |
| 257 | "required": true, |
| 258 | "type": "string" |
| 259 | } |
| 260 | }, |
| 261 | "path": "v1alpha/{+parent}/ideas", |
| 262 | "response": { |
| 263 | "$ref": "GoogleSearchIdeahubV1alphaListIdeasResponse" |
| 264 | } |
| 265 | } |
| 266 | } |
| 267 | }, |
| 268 | "locales": { |
| 269 | "methods": { |
| 270 | "list": { |
| 271 | "description": "Returns which locales ideas are available in for a given Creator.", |
| 272 | "flatPath": "v1alpha/platforms/{platformsId}/properties/{propertiesId}/locales", |
| 273 | "httpMethod": "GET", |
| 274 | "id": "ideahub.platforms.properties.locales.list", |
| 275 | "parameterOrder": [ |
| 276 | "parent" |
| 277 | ], |
| 278 | "parameters": { |
| 279 | "pageSize": { |
| 280 | "description": "The maximum number of locales to return. The service may return fewer than this value. If unspecified, at most 100 locales will be returned. The maximum value is 100; values above 100 will be coerced to 100.", |
| 281 | "format": "int32", |
| 282 | "location": "query", |
| 283 | "type": "integer" |
| 284 | }, |
| 285 | "pageToken": { |
| 286 | "description": "A page token, received from a previous `ListAvailableLocales` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAvailableLocales` must match the call that provided the page token.", |
| 287 | "location": "query", |
| 288 | "type": "string" |
| 289 | }, |
| 290 | "parent": { |
| 291 | "description": "Required. The web property to check idea availability for Format: platforms/{platform}/property/{property}", |
| 292 | "location": "path", |
| 293 | "pattern": "^platforms/[^/]+/properties/[^/]+$", |
| 294 | "required": true, |
| 295 | "type": "string" |
| 296 | } |
| 297 | }, |
| 298 | "path": "v1alpha/{+parent}/locales", |
| 299 | "response": { |
| 300 | "$ref": "GoogleSearchIdeahubV1alphaListAvailableLocalesResponse" |
| 301 | } |
| 302 | } |
| 303 | } |
| 304 | } |
| 305 | } |
| 306 | } |
| 307 | } |
| 308 | } |
| 309 | }, |
yoshi-code-bot | 4d1153d | 2021-06-07 00:50:01 -0700 | [diff] [blame] | 310 | "revision": "20210604", |
yoshi-code-bot | bdce941 | 2021-06-01 00:50:02 -0700 | [diff] [blame] | 311 | "rootUrl": "https://ideahub.googleapis.com/", |
| 312 | "schemas": { |
| 313 | "GoogleSearchIdeahubV1alphaAvailableLocale": { |
| 314 | "description": "Represents locales that are available for a web property.", |
| 315 | "id": "GoogleSearchIdeahubV1alphaAvailableLocale", |
| 316 | "properties": { |
| 317 | "locale": { |
| 318 | "description": "A string in BCP 47 format, without a resource prefix.", |
| 319 | "type": "string" |
| 320 | }, |
| 321 | "name": { |
| 322 | "description": "A string in BCP 47 format, prefixed with the platform and property name, and \"locales/\". Format: platforms/{platform}/properties/{property}/locales/{locale}", |
| 323 | "type": "string" |
| 324 | } |
| 325 | }, |
| 326 | "type": "object" |
| 327 | }, |
| 328 | "GoogleSearchIdeahubV1alphaIdea": { |
| 329 | "description": "A single Idea that we want to show the end user.", |
| 330 | "id": "GoogleSearchIdeahubV1alphaIdea", |
| 331 | "properties": { |
| 332 | "name": { |
| 333 | "description": "Unique identifier for the idea. Format: ideas/{ideaId}", |
| 334 | "type": "string" |
| 335 | }, |
| 336 | "text": { |
| 337 | "description": "The idea\u2019s text.", |
| 338 | "type": "string" |
| 339 | }, |
| 340 | "topics": { |
| 341 | "description": "The Topics that match the idea.", |
| 342 | "items": { |
| 343 | "$ref": "GoogleSearchIdeahubV1alphaTopic" |
| 344 | }, |
| 345 | "type": "array" |
| 346 | } |
| 347 | }, |
| 348 | "type": "object" |
| 349 | }, |
| 350 | "GoogleSearchIdeahubV1alphaIdeaState": { |
| 351 | "description": "Represents idea state specific to a web property.", |
| 352 | "id": "GoogleSearchIdeahubV1alphaIdeaState", |
| 353 | "properties": { |
| 354 | "dismissed": { |
| 355 | "description": "Whether the idea is dismissed.", |
| 356 | "type": "boolean" |
| 357 | }, |
| 358 | "name": { |
| 359 | "description": "Unique identifier for the idea state. Format: platforms/{platform}/properties/{property}/ideaStates/{idea_state}", |
| 360 | "type": "string" |
| 361 | }, |
| 362 | "saved": { |
| 363 | "description": "Whether the idea is saved.", |
| 364 | "type": "boolean" |
| 365 | } |
| 366 | }, |
| 367 | "type": "object" |
| 368 | }, |
| 369 | "GoogleSearchIdeahubV1alphaListAvailableLocalesResponse": { |
| 370 | "description": "Response for whether ideas are available for a given web property on a platform, for the currently logged-in user.", |
| 371 | "id": "GoogleSearchIdeahubV1alphaListAvailableLocalesResponse", |
| 372 | "properties": { |
| 373 | "availableLocales": { |
| 374 | "description": "Locales for which ideas are available for the given Creator.", |
| 375 | "items": { |
| 376 | "$ref": "GoogleSearchIdeahubV1alphaAvailableLocale" |
| 377 | }, |
| 378 | "type": "array" |
| 379 | }, |
| 380 | "nextPageToken": { |
| 381 | "description": "A token that can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.", |
| 382 | "type": "string" |
| 383 | } |
| 384 | }, |
| 385 | "type": "object" |
| 386 | }, |
| 387 | "GoogleSearchIdeahubV1alphaListIdeasResponse": { |
| 388 | "id": "GoogleSearchIdeahubV1alphaListIdeasResponse", |
| 389 | "properties": { |
| 390 | "ideas": { |
| 391 | "description": "Results for the ListIdeasRequest.", |
| 392 | "items": { |
| 393 | "$ref": "GoogleSearchIdeahubV1alphaIdea" |
| 394 | }, |
| 395 | "type": "array" |
| 396 | }, |
| 397 | "nextPageToken": { |
| 398 | "description": "Used to fetch the next page in a subsequent request.", |
| 399 | "type": "string" |
| 400 | } |
| 401 | }, |
| 402 | "type": "object" |
| 403 | }, |
| 404 | "GoogleSearchIdeahubV1alphaTopic": { |
| 405 | "description": "Represents a Topic umbrella for a list of questions that a Creator may want to respond to.", |
| 406 | "id": "GoogleSearchIdeahubV1alphaTopic", |
| 407 | "properties": { |
| 408 | "displayName": { |
| 409 | "description": "String displayed to the creator indicating the name of the Topic.", |
| 410 | "type": "string" |
| 411 | }, |
| 412 | "mid": { |
| 413 | "description": "The mID of the topic.", |
| 414 | "type": "string" |
| 415 | } |
| 416 | }, |
| 417 | "type": "object" |
| 418 | } |
| 419 | }, |
| 420 | "servicePath": "", |
| 421 | "title": "Idea Hub API", |
| 422 | "version": "v1alpha", |
| 423 | "version_module": true |
| 424 | } |