mirror of
https://github.com/GAM-team/GAM.git
synced 2025-07-09 22:23:35 +00:00
More APIs now work with discovery v2 URL
This commit is contained in:
@ -286,11 +286,8 @@ PRODUCTID_NAME_MAPPINGS = {
|
|||||||
|
|
||||||
# Legacy APIs that use v1 discovery. Newer APIs should all use v2.
|
# Legacy APIs that use v1 discovery. Newer APIs should all use v2.
|
||||||
V1_DISCOVERY_APIS = {
|
V1_DISCOVERY_APIS = {
|
||||||
'calendar',
|
|
||||||
'drive',
|
'drive',
|
||||||
'oauth2',
|
'oauth2',
|
||||||
'reseller',
|
|
||||||
'siteVerification',
|
|
||||||
}
|
}
|
||||||
|
|
||||||
API_NAME_MAPPING = {
|
API_NAME_MAPPING = {
|
||||||
@ -298,6 +295,7 @@ API_NAME_MAPPING = {
|
|||||||
'reports': 'admin',
|
'reports': 'admin',
|
||||||
'datatransfer': 'admin',
|
'datatransfer': 'admin',
|
||||||
'drive3': 'drive',
|
'drive3': 'drive',
|
||||||
|
'calendar': 'calendar-json',
|
||||||
'cloudresourcemanagerv1': 'cloudresourcemanager',
|
'cloudresourcemanagerv1': 'cloudresourcemanager',
|
||||||
'cloudidentity_beta': 'cloudidentity',
|
'cloudidentity_beta': 'cloudidentity',
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user