OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/apps.order": { | 5 "https://www.googleapis.com/auth/apps.order": { |
6 "description": "Manage users on your domain" | 6 "description": "Manage users on your domain" |
7 }, | 7 }, |
8 "https://www.googleapis.com/auth/apps.order.readonly": { | 8 "https://www.googleapis.com/auth/apps.order.readonly": { |
9 "description": "Manage users on your domain" | 9 "description": "Manage users on your domain" |
10 } | 10 } |
11 } | 11 } |
12 } | 12 } |
13 }, | 13 }, |
14 "basePath": "/apps/reseller/v1/", | 14 "basePath": "/apps/reseller/v1/", |
15 "baseUrl": "https://www.googleapis.com/apps/reseller/v1/", | 15 "baseUrl": "https://www.googleapis.com/apps/reseller/v1/", |
16 "batchPath": "batch", | 16 "batchPath": "batch", |
17 "description": "Lets you create and manage your customers and their subscrip
tions.", | 17 "description": "Lets you create and manage your customers and their subscrip
tions.", |
18 "discoveryVersion": "v1", | 18 "discoveryVersion": "v1", |
19 "documentationLink": "https://developers.google.com/google-apps/reseller/", | 19 "documentationLink": "https://developers.google.com/google-apps/reseller/", |
20 "etag": "\"8MqRhZzx1kw0pwpjahVJEB3eI6w/WKsRWBQXvzPbkJLogUZV4PnpLRk\"", | 20 "etag": "\"l66ggWbucbkBw9Lpos72oziyefE/zxsqVn0Yn5fs87TjHWbdqkRtKVI\"", |
21 "icons": { | 21 "icons": { |
22 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 22 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
23 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 23 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
24 }, | 24 }, |
25 "id": "reseller:v1", | 25 "id": "reseller:v1", |
26 "kind": "discovery#restDescription", | 26 "kind": "discovery#restDescription", |
27 "labels": [ | 27 "labels": [ |
28 "limited_availability" | 28 "limited_availability" |
29 ], | 29 ], |
30 "name": "reseller", | 30 "name": "reseller", |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 "$ref": "Customer" | 174 "$ref": "Customer" |
175 }, | 175 }, |
176 "scopes": [ | 176 "scopes": [ |
177 "https://www.googleapis.com/auth/apps.order" | 177 "https://www.googleapis.com/auth/apps.order" |
178 ] | 178 ] |
179 } | 179 } |
180 } | 180 } |
181 }, | 181 }, |
182 "subscriptions": { | 182 "subscriptions": { |
183 "methods": { | 183 "methods": { |
| 184 "activate": { |
| 185 "description": "Activates a subscription previously suspende
d by the reseller", |
| 186 "httpMethod": "POST", |
| 187 "id": "reseller.subscriptions.activate", |
| 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}/activate", |
| 207 "response": { |
| 208 "$ref": "Subscription" |
| 209 }, |
| 210 "scopes": [ |
| 211 "https://www.googleapis.com/auth/apps.order" |
| 212 ] |
| 213 }, |
184 "changePlan": { | 214 "changePlan": { |
185 "description": "Changes the plan of a subscription", | 215 "description": "Changes the plan of a subscription", |
186 "httpMethod": "POST", | 216 "httpMethod": "POST", |
187 "id": "reseller.subscriptions.changePlan", | 217 "id": "reseller.subscriptions.changePlan", |
188 "parameterOrder": [ | 218 "parameterOrder": [ |
189 "customerId", | 219 "customerId", |
190 "subscriptionId" | 220 "subscriptionId" |
191 ], | 221 ], |
192 "parameters": { | 222 "parameters": { |
193 "customerId": { | 223 "customerId": { |
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
451 "type": "string" | 481 "type": "string" |
452 } | 482 } |
453 }, | 483 }, |
454 "path": "customers/{customerId}/subscriptions/{subscriptionI
d}/startPaidService", | 484 "path": "customers/{customerId}/subscriptions/{subscriptionI
d}/startPaidService", |
455 "response": { | 485 "response": { |
456 "$ref": "Subscription" | 486 "$ref": "Subscription" |
457 }, | 487 }, |
458 "scopes": [ | 488 "scopes": [ |
459 "https://www.googleapis.com/auth/apps.order" | 489 "https://www.googleapis.com/auth/apps.order" |
460 ] | 490 ] |
| 491 }, |
| 492 "suspend": { |
| 493 "description": "Suspends an active subscription", |
| 494 "httpMethod": "POST", |
| 495 "id": "reseller.subscriptions.suspend", |
| 496 "parameterOrder": [ |
| 497 "customerId", |
| 498 "subscriptionId" |
| 499 ], |
| 500 "parameters": { |
| 501 "customerId": { |
| 502 "description": "Id of the Customer", |
| 503 "location": "path", |
| 504 "required": true, |
| 505 "type": "string" |
| 506 }, |
| 507 "subscriptionId": { |
| 508 "description": "Id of the subscription, which is uni
que for a customer", |
| 509 "location": "path", |
| 510 "required": true, |
| 511 "type": "string" |
| 512 } |
| 513 }, |
| 514 "path": "customers/{customerId}/subscriptions/{subscriptionI
d}/suspend", |
| 515 "response": { |
| 516 "$ref": "Subscription" |
| 517 }, |
| 518 "scopes": [ |
| 519 "https://www.googleapis.com/auth/apps.order" |
| 520 ] |
461 } | 521 } |
462 } | 522 } |
463 } | 523 } |
464 }, | 524 }, |
465 "revision": "20131109", | 525 "revision": "20140821", |
466 "rootUrl": "https://www.googleapis.com/", | 526 "rootUrl": "https://www.googleapis.com/", |
467 "schemas": { | 527 "schemas": { |
468 "Address": { | 528 "Address": { |
469 "description": "JSON template for address of a customer.", | 529 "description": "JSON template for address of a customer.", |
470 "id": "Address", | 530 "id": "Address", |
471 "properties": { | 531 "properties": { |
472 "addressLine1": { | 532 "addressLine1": { |
473 "description": "Address line 1 of the address.", | 533 "description": "Address line 1 of the address.", |
474 "type": "string" | 534 "type": "string" |
475 }, | 535 }, |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
591 }, | 651 }, |
592 "Seats": { | 652 "Seats": { |
593 "description": "JSON template for subscription seats.", | 653 "description": "JSON template for subscription seats.", |
594 "id": "Seats", | 654 "id": "Seats", |
595 "properties": { | 655 "properties": { |
596 "kind": { | 656 "kind": { |
597 "default": "subscriptions#seats", | 657 "default": "subscriptions#seats", |
598 "description": "Identifies the resource as a subscription ch
ange plan request.", | 658 "description": "Identifies the resource as a subscription ch
ange plan request.", |
599 "type": "string" | 659 "type": "string" |
600 }, | 660 }, |
| 661 "licensedNumberOfSeats": { |
| 662 "description": "Read only field containing the current numbe
r of licensed seats. Resellers can utilize this field to gather insights into us
age for FLEXIBLE Google-Apps subscriptions and other secondary subscriptions (e.
g. Google-Vault, Drive-storage).", |
| 663 "format": "int32", |
| 664 "type": "integer" |
| 665 }, |
601 "maximumNumberOfSeats": { | 666 "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.", | 667 "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", | 668 "format": "int32", |
604 "type": "integer" | 669 "type": "integer" |
605 }, | 670 }, |
606 "numberOfSeats": { | 671 "numberOfSeats": { |
607 "description": "Number of seats to purchase. This is applica
ble only for a commitment plan.", | 672 "description": "Number of seats to purchase. This is applica
ble only for a commitment plan.", |
608 "format": "int32", | 673 "format": "int32", |
609 "type": "integer" | 674 "type": "integer" |
610 } | 675 } |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
741 "type": "array" | 806 "type": "array" |
742 } | 807 } |
743 }, | 808 }, |
744 "type": "object" | 809 "type": "object" |
745 } | 810 } |
746 }, | 811 }, |
747 "servicePath": "apps/reseller/v1/", | 812 "servicePath": "apps/reseller/v1/", |
748 "title": "Enterprise Apps Reseller API", | 813 "title": "Enterprise Apps Reseller API", |
749 "version": "v1" | 814 "version": "v1" |
750 } | 815 } |
OLD | NEW |