OLD | NEW |
(Empty) | |
| 1 { |
| 2 "auth": { |
| 3 "oauth2": { |
| 4 "scopes": { |
| 5 "https://www.googleapis.com/auth/apps.order": { |
| 6 "description": "Manage users on your domain" |
| 7 }, |
| 8 "https://www.googleapis.com/auth/apps.order.readonly": { |
| 9 "description": "Manage users on your domain" |
| 10 } |
| 11 } |
| 12 } |
| 13 }, |
| 14 "basePath": "/apps/reseller/v1/", |
| 15 "baseUrl": "https://www.googleapis.com/apps/reseller/v1/", |
| 16 "batchPath": "batch", |
| 17 "description": "Lets you create and manage your customers and their subscrip
tions.", |
| 18 "discoveryVersion": "v1", |
| 19 "documentationLink": "https://developers.google.com/google-apps/reseller/", |
| 20 "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/WKsRWBQXvzPbkJLogUZV4PnpLRk\"", |
| 21 "icons": { |
| 22 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
| 23 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
| 24 }, |
| 25 "id": "reseller:v1", |
| 26 "kind": "discovery#restDescription", |
| 27 "labels": [ |
| 28 "limited_availability" |
| 29 ], |
| 30 "name": "reseller", |
| 31 "ownerDomain": "google.com", |
| 32 "ownerName": "Google", |
| 33 "parameters": { |
| 34 "alt": { |
| 35 "default": "json", |
| 36 "description": "Data format for the response.", |
| 37 "enum": [ |
| 38 "json" |
| 39 ], |
| 40 "enumDescriptions": [ |
| 41 "Responses with Content-Type of application/json" |
| 42 ], |
| 43 "location": "query", |
| 44 "type": "string" |
| 45 }, |
| 46 "fields": { |
| 47 "description": "Selector specifying which fields to include in a par
tial response.", |
| 48 "location": "query", |
| 49 "type": "string" |
| 50 }, |
| 51 "key": { |
| 52 "description": "API key. Your API key identifies your project and pr
ovides you with API access, quota, and reports. Required unless you provide an O
Auth 2.0 token.", |
| 53 "location": "query", |
| 54 "type": "string" |
| 55 }, |
| 56 "oauth_token": { |
| 57 "description": "OAuth 2.0 token for the current user.", |
| 58 "location": "query", |
| 59 "type": "string" |
| 60 }, |
| 61 "prettyPrint": { |
| 62 "default": "true", |
| 63 "description": "Returns response with indentations and line breaks."
, |
| 64 "location": "query", |
| 65 "type": "boolean" |
| 66 }, |
| 67 "quotaUser": { |
| 68 "description": "Available to use for quota purposes for server-side
applications. Can be any arbitrary string assigned to a user, but should not exc
eed 40 characters. Overrides userIp if both are provided.", |
| 69 "location": "query", |
| 70 "type": "string" |
| 71 }, |
| 72 "userIp": { |
| 73 "description": "IP address of the site where the request originates.
Use this if you want to enforce per-user limits.", |
| 74 "location": "query", |
| 75 "type": "string" |
| 76 } |
| 77 }, |
| 78 "protocol": "rest", |
| 79 "resources": { |
| 80 "customers": { |
| 81 "methods": { |
| 82 "get": { |
| 83 "description": "Gets a customer resource if one exists and i
s owned by the reseller.", |
| 84 "httpMethod": "GET", |
| 85 "id": "reseller.customers.get", |
| 86 "parameterOrder": [ |
| 87 "customerId" |
| 88 ], |
| 89 "parameters": { |
| 90 "customerId": { |
| 91 "description": "Id of the Customer", |
| 92 "location": "path", |
| 93 "required": true, |
| 94 "type": "string" |
| 95 } |
| 96 }, |
| 97 "path": "customers/{customerId}", |
| 98 "response": { |
| 99 "$ref": "Customer" |
| 100 }, |
| 101 "scopes": [ |
| 102 "https://www.googleapis.com/auth/apps.order", |
| 103 "https://www.googleapis.com/auth/apps.order.readonly" |
| 104 ] |
| 105 }, |
| 106 "insert": { |
| 107 "description": "Creates a customer resource if one does not
already exist.", |
| 108 "httpMethod": "POST", |
| 109 "id": "reseller.customers.insert", |
| 110 "parameters": { |
| 111 "customerAuthToken": { |
| 112 "description": "An auth token needed for inserting a
customer for which domain already exists. Can be generated at https://www.googl
e.com/a/cpanel//TransferToken. Optional.", |
| 113 "location": "query", |
| 114 "type": "string" |
| 115 } |
| 116 }, |
| 117 "path": "customers", |
| 118 "request": { |
| 119 "$ref": "Customer" |
| 120 }, |
| 121 "response": { |
| 122 "$ref": "Customer" |
| 123 }, |
| 124 "scopes": [ |
| 125 "https://www.googleapis.com/auth/apps.order" |
| 126 ] |
| 127 }, |
| 128 "patch": { |
| 129 "description": "Update a customer resource if one it exists
and is owned by the reseller. This method supports patch semantics.", |
| 130 "httpMethod": "PATCH", |
| 131 "id": "reseller.customers.patch", |
| 132 "parameterOrder": [ |
| 133 "customerId" |
| 134 ], |
| 135 "parameters": { |
| 136 "customerId": { |
| 137 "description": "Id of the Customer", |
| 138 "location": "path", |
| 139 "required": true, |
| 140 "type": "string" |
| 141 } |
| 142 }, |
| 143 "path": "customers/{customerId}", |
| 144 "request": { |
| 145 "$ref": "Customer" |
| 146 }, |
| 147 "response": { |
| 148 "$ref": "Customer" |
| 149 }, |
| 150 "scopes": [ |
| 151 "https://www.googleapis.com/auth/apps.order" |
| 152 ] |
| 153 }, |
| 154 "update": { |
| 155 "description": "Update a customer resource if one it exists
and is owned by the reseller.", |
| 156 "httpMethod": "PUT", |
| 157 "id": "reseller.customers.update", |
| 158 "parameterOrder": [ |
| 159 "customerId" |
| 160 ], |
| 161 "parameters": { |
| 162 "customerId": { |
| 163 "description": "Id of the Customer", |
| 164 "location": "path", |
| 165 "required": true, |
| 166 "type": "string" |
| 167 } |
| 168 }, |
| 169 "path": "customers/{customerId}", |
| 170 "request": { |
| 171 "$ref": "Customer" |
| 172 }, |
| 173 "response": { |
| 174 "$ref": "Customer" |
| 175 }, |
| 176 "scopes": [ |
| 177 "https://www.googleapis.com/auth/apps.order" |
| 178 ] |
| 179 } |
| 180 } |
| 181 }, |
| 182 "subscriptions": { |
| 183 "methods": { |
| 184 "changePlan": { |
| 185 "description": "Changes the plan of a subscription", |
| 186 "httpMethod": "POST", |
| 187 "id": "reseller.subscriptions.changePlan", |
| 188 "parameterOrder": [ |
| 189 "customerId", |
| 190 "subscriptionId" |
| 191 ], |
| 192 "parameters": { |
| 193 "customerId": { |
| 194 "description": "Id of the Customer", |
| 195 "location": "path", |
| 196 "required": true, |
| 197 "type": "string" |
| 198 }, |
| 199 "subscriptionId": { |
| 200 "description": "Id of the subscription, which is uni
que for a customer", |
| 201 "location": "path", |
| 202 "required": true, |
| 203 "type": "string" |
| 204 } |
| 205 }, |
| 206 "path": "customers/{customerId}/subscriptions/{subscriptionI
d}/changePlan", |
| 207 "request": { |
| 208 "$ref": "ChangePlanRequest" |
| 209 }, |
| 210 "response": { |
| 211 "$ref": "Subscription" |
| 212 }, |
| 213 "scopes": [ |
| 214 "https://www.googleapis.com/auth/apps.order" |
| 215 ] |
| 216 }, |
| 217 "changeRenewalSettings": { |
| 218 "description": "Changes the renewal settings of a subscripti
on", |
| 219 "httpMethod": "POST", |
| 220 "id": "reseller.subscriptions.changeRenewalSettings", |
| 221 "parameterOrder": [ |
| 222 "customerId", |
| 223 "subscriptionId" |
| 224 ], |
| 225 "parameters": { |
| 226 "customerId": { |
| 227 "description": "Id of the Customer", |
| 228 "location": "path", |
| 229 "required": true, |
| 230 "type": "string" |
| 231 }, |
| 232 "subscriptionId": { |
| 233 "description": "Id of the subscription, which is uni
que for a customer", |
| 234 "location": "path", |
| 235 "required": true, |
| 236 "type": "string" |
| 237 } |
| 238 }, |
| 239 "path": "customers/{customerId}/subscriptions/{subscriptionI
d}/changeRenewalSettings", |
| 240 "request": { |
| 241 "$ref": "RenewalSettings" |
| 242 }, |
| 243 "response": { |
| 244 "$ref": "Subscription" |
| 245 }, |
| 246 "scopes": [ |
| 247 "https://www.googleapis.com/auth/apps.order" |
| 248 ] |
| 249 }, |
| 250 "changeSeats": { |
| 251 "description": "Changes the seats configuration of a subscri
ption", |
| 252 "httpMethod": "POST", |
| 253 "id": "reseller.subscriptions.changeSeats", |
| 254 "parameterOrder": [ |
| 255 "customerId", |
| 256 "subscriptionId" |
| 257 ], |
| 258 "parameters": { |
| 259 "customerId": { |
| 260 "description": "Id of the Customer", |
| 261 "location": "path", |
| 262 "required": true, |
| 263 "type": "string" |
| 264 }, |
| 265 "subscriptionId": { |
| 266 "description": "Id of the subscription, which is uni
que for a customer", |
| 267 "location": "path", |
| 268 "required": true, |
| 269 "type": "string" |
| 270 } |
| 271 }, |
| 272 "path": "customers/{customerId}/subscriptions/{subscriptionI
d}/changeSeats", |
| 273 "request": { |
| 274 "$ref": "Seats" |
| 275 }, |
| 276 "response": { |
| 277 "$ref": "Subscription" |
| 278 }, |
| 279 "scopes": [ |
| 280 "https://www.googleapis.com/auth/apps.order" |
| 281 ] |
| 282 }, |
| 283 "delete": { |
| 284 "description": "Cancels/Downgrades a subscription.", |
| 285 "httpMethod": "DELETE", |
| 286 "id": "reseller.subscriptions.delete", |
| 287 "parameterOrder": [ |
| 288 "customerId", |
| 289 "subscriptionId", |
| 290 "deletionType" |
| 291 ], |
| 292 "parameters": { |
| 293 "customerId": { |
| 294 "description": "Id of the Customer", |
| 295 "location": "path", |
| 296 "required": true, |
| 297 "type": "string" |
| 298 }, |
| 299 "deletionType": { |
| 300 "description": "Whether the subscription is to be fu
lly cancelled or downgraded", |
| 301 "enum": [ |
| 302 "cancel", |
| 303 "downgrade", |
| 304 "suspend" |
| 305 ], |
| 306 "enumDescriptions": [ |
| 307 "Cancels the subscription immediately", |
| 308 "Downgrades a Google Apps for Business subscript
ion to Google Apps", |
| 309 "Suspends the subscriptions for 4 days before ca
ncelling it" |
| 310 ], |
| 311 "location": "query", |
| 312 "required": true, |
| 313 "type": "string" |
| 314 }, |
| 315 "subscriptionId": { |
| 316 "description": "Id of the subscription, which is uni
que for a customer", |
| 317 "location": "path", |
| 318 "required": true, |
| 319 "type": "string" |
| 320 } |
| 321 }, |
| 322 "path": "customers/{customerId}/subscriptions/{subscriptionI
d}", |
| 323 "scopes": [ |
| 324 "https://www.googleapis.com/auth/apps.order" |
| 325 ] |
| 326 }, |
| 327 "get": { |
| 328 "description": "Gets a subscription of the customer.", |
| 329 "httpMethod": "GET", |
| 330 "id": "reseller.subscriptions.get", |
| 331 "parameterOrder": [ |
| 332 "customerId", |
| 333 "subscriptionId" |
| 334 ], |
| 335 "parameters": { |
| 336 "customerId": { |
| 337 "description": "Id of the Customer", |
| 338 "location": "path", |
| 339 "required": true, |
| 340 "type": "string" |
| 341 }, |
| 342 "subscriptionId": { |
| 343 "description": "Id of the subscription, which is uni
que for a customer", |
| 344 "location": "path", |
| 345 "required": true, |
| 346 "type": "string" |
| 347 } |
| 348 }, |
| 349 "path": "customers/{customerId}/subscriptions/{subscriptionI
d}", |
| 350 "response": { |
| 351 "$ref": "Subscription" |
| 352 }, |
| 353 "scopes": [ |
| 354 "https://www.googleapis.com/auth/apps.order", |
| 355 "https://www.googleapis.com/auth/apps.order.readonly" |
| 356 ] |
| 357 }, |
| 358 "insert": { |
| 359 "description": "Creates/Transfers a subscription for the cus
tomer.", |
| 360 "httpMethod": "POST", |
| 361 "id": "reseller.subscriptions.insert", |
| 362 "parameterOrder": [ |
| 363 "customerId" |
| 364 ], |
| 365 "parameters": { |
| 366 "customerAuthToken": { |
| 367 "description": "An auth token needed for transferrin
g a subscription. Can be generated at https://www.google.com/a/cpanel/customer-d
omain/TransferToken. Optional.", |
| 368 "location": "query", |
| 369 "type": "string" |
| 370 }, |
| 371 "customerId": { |
| 372 "description": "Id of the Customer", |
| 373 "location": "path", |
| 374 "required": true, |
| 375 "type": "string" |
| 376 } |
| 377 }, |
| 378 "path": "customers/{customerId}/subscriptions", |
| 379 "request": { |
| 380 "$ref": "Subscription" |
| 381 }, |
| 382 "response": { |
| 383 "$ref": "Subscription" |
| 384 }, |
| 385 "scopes": [ |
| 386 "https://www.googleapis.com/auth/apps.order" |
| 387 ] |
| 388 }, |
| 389 "list": { |
| 390 "description": "Lists subscriptions of a reseller, optionall
y filtered by a customer name prefix.", |
| 391 "httpMethod": "GET", |
| 392 "id": "reseller.subscriptions.list", |
| 393 "parameters": { |
| 394 "customerAuthToken": { |
| 395 "description": "An auth token needed if the customer
is not a resold customer of this reseller. Can be generated at https://www.goog
le.com/a/cpanel/customer-domain/TransferToken.Optional.", |
| 396 "location": "query", |
| 397 "type": "string" |
| 398 }, |
| 399 "customerId": { |
| 400 "description": "Id of the Customer", |
| 401 "location": "query", |
| 402 "type": "string" |
| 403 }, |
| 404 "customerNamePrefix": { |
| 405 "description": "Prefix of the customer's domain name
by which the subscriptions should be filtered. Optional", |
| 406 "location": "query", |
| 407 "type": "string" |
| 408 }, |
| 409 "maxResults": { |
| 410 "description": "Maximum number of results to return"
, |
| 411 "format": "uint32", |
| 412 "location": "query", |
| 413 "maximum": "100", |
| 414 "minimum": "1", |
| 415 "type": "integer" |
| 416 }, |
| 417 "pageToken": { |
| 418 "description": "Token to specify next page in the li
st", |
| 419 "location": "query", |
| 420 "type": "string" |
| 421 } |
| 422 }, |
| 423 "path": "subscriptions", |
| 424 "response": { |
| 425 "$ref": "Subscriptions" |
| 426 }, |
| 427 "scopes": [ |
| 428 "https://www.googleapis.com/auth/apps.order", |
| 429 "https://www.googleapis.com/auth/apps.order.readonly" |
| 430 ] |
| 431 }, |
| 432 "startPaidService": { |
| 433 "description": "Starts paid service of a trial subscription"
, |
| 434 "httpMethod": "POST", |
| 435 "id": "reseller.subscriptions.startPaidService", |
| 436 "parameterOrder": [ |
| 437 "customerId", |
| 438 "subscriptionId" |
| 439 ], |
| 440 "parameters": { |
| 441 "customerId": { |
| 442 "description": "Id of the Customer", |
| 443 "location": "path", |
| 444 "required": true, |
| 445 "type": "string" |
| 446 }, |
| 447 "subscriptionId": { |
| 448 "description": "Id of the subscription, which is uni
que for a customer", |
| 449 "location": "path", |
| 450 "required": true, |
| 451 "type": "string" |
| 452 } |
| 453 }, |
| 454 "path": "customers/{customerId}/subscriptions/{subscriptionI
d}/startPaidService", |
| 455 "response": { |
| 456 "$ref": "Subscription" |
| 457 }, |
| 458 "scopes": [ |
| 459 "https://www.googleapis.com/auth/apps.order" |
| 460 ] |
| 461 } |
| 462 } |
| 463 } |
| 464 }, |
| 465 "revision": "20131109", |
| 466 "rootUrl": "https://www.googleapis.com/", |
| 467 "schemas": { |
| 468 "Address": { |
| 469 "description": "JSON template for address of a customer.", |
| 470 "id": "Address", |
| 471 "properties": { |
| 472 "addressLine1": { |
| 473 "description": "Address line 1 of the address.", |
| 474 "type": "string" |
| 475 }, |
| 476 "addressLine2": { |
| 477 "description": "Address line 2 of the address.", |
| 478 "type": "string" |
| 479 }, |
| 480 "addressLine3": { |
| 481 "description": "Address line 3 of the address.", |
| 482 "type": "string" |
| 483 }, |
| 484 "contactName": { |
| 485 "description": "Name of the contact person.", |
| 486 "type": "string" |
| 487 }, |
| 488 "countryCode": { |
| 489 "description": "ISO 3166 country code.", |
| 490 "type": "string" |
| 491 }, |
| 492 "kind": { |
| 493 "default": "customers#address", |
| 494 "description": "Identifies the resource as a customer addres
s.", |
| 495 "type": "string" |
| 496 }, |
| 497 "locality": { |
| 498 "description": "Name of the locality. This is in accordance
with - http://portablecontacts.net/draft-spec.html#address_element.", |
| 499 "type": "string" |
| 500 }, |
| 501 "organizationName": { |
| 502 "description": "Name of the organization.", |
| 503 "type": "string" |
| 504 }, |
| 505 "postalCode": { |
| 506 "description": "The postal code. This is in accordance with
- http://portablecontacts.net/draft-spec.html#address_element.", |
| 507 "type": "string" |
| 508 }, |
| 509 "region": { |
| 510 "description": "Name of the region. This is in accordance wi
th - http://portablecontacts.net/draft-spec.html#address_element.", |
| 511 "type": "string" |
| 512 } |
| 513 }, |
| 514 "type": "object" |
| 515 }, |
| 516 "ChangePlanRequest": { |
| 517 "description": "JSON template for the ChangePlan rpc request.", |
| 518 "id": "ChangePlanRequest", |
| 519 "properties": { |
| 520 "kind": { |
| 521 "default": "subscriptions#changePlanRequest", |
| 522 "description": "Identifies the resource as a subscription ch
ange plan request.", |
| 523 "type": "string" |
| 524 }, |
| 525 "planName": { |
| 526 "description": "Name of the plan to change to.", |
| 527 "type": "string" |
| 528 }, |
| 529 "purchaseOrderId": { |
| 530 "description": "Purchase order id for your order tracking pu
rposes.", |
| 531 "type": "string" |
| 532 }, |
| 533 "seats": { |
| 534 "$ref": "Seats", |
| 535 "description": "Number/Limit of seats in the new plan." |
| 536 } |
| 537 }, |
| 538 "type": "object" |
| 539 }, |
| 540 "Customer": { |
| 541 "description": "JSON template for a customer.", |
| 542 "id": "Customer", |
| 543 "properties": { |
| 544 "alternateEmail": { |
| 545 "description": "The alternate email of the customer.", |
| 546 "type": "string" |
| 547 }, |
| 548 "customerDomain": { |
| 549 "description": "The domain name of the customer.", |
| 550 "type": "string" |
| 551 }, |
| 552 "customerId": { |
| 553 "description": "The id of the customer.", |
| 554 "type": "string" |
| 555 }, |
| 556 "kind": { |
| 557 "default": "reseller#customer", |
| 558 "description": "Identifies the resource as a customer.", |
| 559 "type": "string" |
| 560 }, |
| 561 "phoneNumber": { |
| 562 "description": "The phone number of the customer.", |
| 563 "type": "string" |
| 564 }, |
| 565 "postalAddress": { |
| 566 "$ref": "Address", |
| 567 "description": "The postal address of the customer." |
| 568 }, |
| 569 "resourceUiUrl": { |
| 570 "description": "Ui url for customer resource.", |
| 571 "type": "string" |
| 572 } |
| 573 }, |
| 574 "type": "object" |
| 575 }, |
| 576 "RenewalSettings": { |
| 577 "description": "JSON template for a subscription renewal settings.", |
| 578 "id": "RenewalSettings", |
| 579 "properties": { |
| 580 "kind": { |
| 581 "default": "subscriptions#renewalSettings", |
| 582 "description": "Identifies the resource as a subscription re
newal setting.", |
| 583 "type": "string" |
| 584 }, |
| 585 "renewalType": { |
| 586 "description": "Subscription renewal type.", |
| 587 "type": "string" |
| 588 } |
| 589 }, |
| 590 "type": "object" |
| 591 }, |
| 592 "Seats": { |
| 593 "description": "JSON template for subscription seats.", |
| 594 "id": "Seats", |
| 595 "properties": { |
| 596 "kind": { |
| 597 "default": "subscriptions#seats", |
| 598 "description": "Identifies the resource as a subscription ch
ange plan request.", |
| 599 "type": "string" |
| 600 }, |
| 601 "maximumNumberOfSeats": { |
| 602 "description": "Maximum number of seats that can be purchase
d. This needs to be provided only for a non-commitment plan. For a commitment pl
an it is decided by the contract.", |
| 603 "format": "int32", |
| 604 "type": "integer" |
| 605 }, |
| 606 "numberOfSeats": { |
| 607 "description": "Number of seats to purchase. This is applica
ble only for a commitment plan.", |
| 608 "format": "int32", |
| 609 "type": "integer" |
| 610 } |
| 611 }, |
| 612 "type": "object" |
| 613 }, |
| 614 "Subscription": { |
| 615 "description": "JSON template for a subscription.", |
| 616 "id": "Subscription", |
| 617 "properties": { |
| 618 "creationTime": { |
| 619 "description": "Creation time of this subscription in millis
econds since Unix epoch.", |
| 620 "format": "int64", |
| 621 "type": "string" |
| 622 }, |
| 623 "customerId": { |
| 624 "description": "The id of the customer to whom the subscript
ion belongs.", |
| 625 "type": "string" |
| 626 }, |
| 627 "kind": { |
| 628 "default": "reseller#subscription", |
| 629 "description": "Identifies the resource as a Subscription.", |
| 630 "type": "string" |
| 631 }, |
| 632 "plan": { |
| 633 "description": "Plan details of the subscription", |
| 634 "properties": { |
| 635 "commitmentInterval": { |
| 636 "description": "Interval of the commitment if it is
a commitment plan.", |
| 637 "properties": { |
| 638 "endTime": { |
| 639 "description": "End time of the commitment i
nterval in milliseconds since Unix epoch.", |
| 640 "format": "int64", |
| 641 "type": "string" |
| 642 }, |
| 643 "startTime": { |
| 644 "description": "Start time of the commitment
interval in milliseconds since Unix epoch.", |
| 645 "format": "int64", |
| 646 "type": "string" |
| 647 } |
| 648 }, |
| 649 "type": "object" |
| 650 }, |
| 651 "isCommitmentPlan": { |
| 652 "description": "Whether the plan is a commitment pla
n or not.", |
| 653 "type": "boolean" |
| 654 }, |
| 655 "planName": { |
| 656 "description": "The plan name of this subscription's
plan.", |
| 657 "type": "string" |
| 658 } |
| 659 }, |
| 660 "type": "object" |
| 661 }, |
| 662 "purchaseOrderId": { |
| 663 "description": "Purchase order id for your order tracking pu
rposes.", |
| 664 "type": "string" |
| 665 }, |
| 666 "renewalSettings": { |
| 667 "$ref": "RenewalSettings", |
| 668 "description": "Renewal settings of the subscription." |
| 669 }, |
| 670 "resourceUiUrl": { |
| 671 "description": "Ui url for subscription resource.", |
| 672 "type": "string" |
| 673 }, |
| 674 "seats": { |
| 675 "$ref": "Seats", |
| 676 "description": "Number/Limit of seats in the new plan." |
| 677 }, |
| 678 "skuId": { |
| 679 "description": "Name of the sku for which this subscription
is purchased.", |
| 680 "type": "string" |
| 681 }, |
| 682 "status": { |
| 683 "description": "Status of the subscription.", |
| 684 "type": "string" |
| 685 }, |
| 686 "subscriptionId": { |
| 687 "description": "The id of the subscription.", |
| 688 "type": "string" |
| 689 }, |
| 690 "transferInfo": { |
| 691 "description": "Transfer related information for the subscri
ption.", |
| 692 "properties": { |
| 693 "minimumTransferableSeats": { |
| 694 "format": "int32", |
| 695 "type": "integer" |
| 696 }, |
| 697 "transferabilityExpirationTime": { |
| 698 "description": "Time when transfer token or intent t
o transfer will expire.", |
| 699 "format": "int64", |
| 700 "type": "string" |
| 701 } |
| 702 }, |
| 703 "type": "object" |
| 704 }, |
| 705 "trialSettings": { |
| 706 "description": "Trial Settings of the subscription.", |
| 707 "properties": { |
| 708 "isInTrial": { |
| 709 "description": "Whether the subscription is in trial
.", |
| 710 "type": "boolean" |
| 711 }, |
| 712 "trialEndTime": { |
| 713 "description": "End time of the trial in millisecond
s since Unix epoch.", |
| 714 "format": "int64", |
| 715 "type": "string" |
| 716 } |
| 717 }, |
| 718 "type": "object" |
| 719 } |
| 720 }, |
| 721 "type": "object" |
| 722 }, |
| 723 "Subscriptions": { |
| 724 "description": "JSON template for a subscription list.", |
| 725 "id": "Subscriptions", |
| 726 "properties": { |
| 727 "kind": { |
| 728 "default": "reseller#subscriptions", |
| 729 "description": "Identifies the resource as a collection of s
ubscriptions.", |
| 730 "type": "string" |
| 731 }, |
| 732 "nextPageToken": { |
| 733 "description": "The continuation token, used to page through
large result sets. Provide this value in a subsequent request to return the nex
t page of results.", |
| 734 "type": "string" |
| 735 }, |
| 736 "subscriptions": { |
| 737 "description": "The subscriptions in this page of results.", |
| 738 "items": { |
| 739 "$ref": "Subscription" |
| 740 }, |
| 741 "type": "array" |
| 742 } |
| 743 }, |
| 744 "type": "object" |
| 745 } |
| 746 }, |
| 747 "servicePath": "apps/reseller/v1/", |
| 748 "title": "Enterprise Apps Reseller API", |
| 749 "version": "v1" |
| 750 } |
OLD | NEW |