chore(api-update): to latest

Using `make update-json`, all json descriptions have been update.
Quite interesting to see that there are plenty of new ones which
are giving 404 when queried. An actual bug, or something I should
look into ?
This commit is contained in:
Sebastian Thiel
2016-09-11 10:00:21 +02:00
parent 33771a6dc7
commit 13ed4eaecb
148 changed files with 84357 additions and 3237 deletions

View File

@@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"bRFOOrZKfO9LweMbPqu0kcu6De8/Oi0KnpKPJva7LMe3W0nV9ypaEjo\"",
"etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/hUSUQ1FCOLm-WaxWC_MbF3f27YE\"",
"discoveryVersion": "v1",
"id": "identitytoolkit:v3",
"name": "identitytoolkit",
"canonicalName": "Identity Toolkit",
"version": "v3",
"revision": "20160324",
"revision": "20160812",
"title": "Google Identity Toolkit API",
"description": "Help the third party sites to implement federated login.",
"ownerDomain": "google.com",
@@ -245,6 +245,10 @@
"type": "string",
"description": "The app ID of the mobile app, base64(CERT_SHA1):PACKAGE_NAME for Android, BUNDLE_ID for iOS."
},
"authFlowType": {
"type": "string",
"description": "Explicitly specify the auth flow type. Currently only support \"CODE_FLOW\" type. The field is only used for Google provider."
},
"clientId": {
"type": "string",
"description": "The relying party OAuth client ID."
@@ -257,6 +261,10 @@
"type": "string",
"description": "The URI to which the IDP redirects the user after the federated login flow."
},
"hostedDomain": {
"type": "string",
"description": "The hosted domain to restrict sign-in to accounts at that domain for Google Apps hosted accounts."
},
"identifier": {
"type": "string",
"description": "The email or federated ID of the user."
@@ -280,6 +288,10 @@
"providerId": {
"type": "string",
"description": "The IdP ID. For white listed IdPs it's a short domain name e.g. google.com, aol.com, live.net and yahoo.com. For other OpenID IdPs it's the OP identifier."
},
"sessionId": {
"type": "string",
"description": "The session_id passed by client."
}
}
},
@@ -455,6 +467,11 @@
"type": "string",
"description": "Response to the captcha."
},
"createdAt": {
"type": "string",
"description": "The timestamp when the account is created.",
"format": "int64"
},
"delegatedProjectNumber": {
"type": "string",
"description": "GCP project number of the requesting delegated app. Currently only intended for Firebase V1 migration.",
@@ -498,6 +515,11 @@
"type": "string",
"description": "Instance id token of the app."
},
"lastLoginAt": {
"type": "string",
"description": "Last login timestamp.",
"format": "int64"
},
"localId": {
"type": "string",
"description": "The local ID of the user."
@@ -549,6 +571,13 @@
"type": "string",
"description": "Browser API key, needed when making http request to Apiary."
},
"authorizedDomains": {
"type": "array",
"description": "Authorized domains for widget redirect.",
"items": {
"type": "string"
}
},
"changeEmailTemplate": {
"$ref": "EmailTemplate",
"description": "Change email template."
@@ -656,10 +685,6 @@
"password": {
"type": "string",
"description": "The new password of the user."
},
"returnSecureToken": {
"type": "boolean",
"description": "Whether return sts id token and refresh token instead of gitkit token."
}
}
},
@@ -736,6 +761,10 @@
"type": "string",
"description": "The URI to which the IDP redirects the user back. It may contain federated login result params added by the IDP."
},
"returnIdpCredential": {
"type": "boolean",
"description": "Whether return 200 and IDP credential rather than throw exception when federated id is already linked."
},
"returnRefreshToken": {
"type": "boolean",
"description": "Whether to return refresh tokens."
@@ -755,6 +784,11 @@
"type": "object",
"description": "Request to verify a custom token",
"properties": {
"delegatedProjectNumber": {
"type": "string",
"description": "GCP project number of the requesting delegated app. Currently only intended for Firebase V1 migration.",
"format": "int64"
},
"instanceId": {
"type": "string",
"description": "Instance id token of the app."
@@ -838,6 +872,13 @@
"secret": {
"type": "string",
"description": "OAuth2 client secret."
},
"whitelistedAudiences": {
"type": "array",
"description": "Whitelisted client IDs for audience check.",
"items": {
"type": "string"
}
}
}
},
@@ -924,10 +965,19 @@
"description": "The fixed string \"identitytoolkit#SetAccountInfoResponse\".",
"default": "identitytoolkit#SetAccountInfoResponse"
},
"localId": {
"type": "string",
"description": "The local ID of the user."
},
"newEmail": {
"type": "string",
"description": "The new email the user attempts to change to."
},
"passwordHash": {
"type": "string",
"description": "The user's hashed password.",
"format": "byte"
},
"photoUrl": {
"type": "string",
"description": "The photo url of the user."
@@ -942,6 +992,10 @@
"type": "string",
"description": "The user's display name at the IDP."
},
"federatedId": {
"type": "string",
"description": "User's identifier at IDP."
},
"photoUrl": {
"type": "string",
"description": "The user's photo url at the IDP."
@@ -1031,6 +1085,11 @@
"type": "object",
"description": "Template for an individual account info.",
"properties": {
"createdAt": {
"type": "string",
"description": "User creation timestamp.",
"format": "int64"
},
"disabled": {
"type": "boolean",
"description": "Whether the user is disabled."
@@ -1047,6 +1106,11 @@
"type": "boolean",
"description": "Whether the email has been verified."
},
"lastLoginAt": {
"type": "string",
"description": "last login timestamp.",
"format": "int64"
},
"localId": {
"type": "string",
"description": "The local ID of the user."
@@ -1094,6 +1158,14 @@
"rawId": {
"type": "string",
"description": "User's raw identifier directly returned from IDP."
},
"rawUserInfo": {
"type": "string",
"description": "Raw IDP-returned user info."
},
"screenName": {
"type": "string",
"description": "User's screen name at Twitter."
}
}
}
@@ -1103,6 +1175,10 @@
"description": "The user's password salt.",
"format": "byte"
},
"screenName": {
"type": "string",
"description": "User's screen name at Twitter."
},
"validSince": {
"type": "string",
"description": "Timestamp in seconds for valid login token.",
@@ -1156,6 +1232,10 @@
"type": "boolean",
"description": "The value is true if the IDP is also the email provider. It means the user owns the email."
},
"errorMessage": {
"type": "string",
"description": "Client error code."
},
"expiresIn": {
"type": "string",
"description": "If idToken is STS id token, then this field will be expiration time of STS id token in seconds.",
@@ -1223,6 +1303,10 @@
"description": "The lifetime in seconds of the OAuth2 access token.",
"format": "int32"
},
"oauthIdToken": {
"type": "string",
"description": "The OIDC id token."
},
"oauthRequestToken": {
"type": "string",
"description": "The user approved request token for the OpenID OAuth extension."
@@ -1247,10 +1331,18 @@
"type": "string",
"description": "The IdP ID. For white listed IdPs it's a short domain name e.g. google.com, aol.com, live.net and yahoo.com. If the \"providerId\" param is set to OpenID OP identifer other than the whilte listed IdPs the OP identifier is returned. If the \"identifier\" param is federated ID in the createAuthUri request. The domain part of the federated ID is returned."
},
"rawUserInfo": {
"type": "string",
"description": "Raw IDP-returned user info."
},
"refreshToken": {
"type": "string",
"description": "If idToken is STS id token, then this field will be refresh token."
},
"screenName": {
"type": "string",
"description": "The screen_name of a Twitter user."
},
"timeZone": {
"type": "string",
"description": "The timezone of the user."