Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(360)

Side by Side Diff: discovery/googleapis/identitytoolkit__v3.json

Issue 2485703002: Api-roll 42: 2016-11-08 (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « discovery/googleapis/iam__v1.json ('k') | discovery/googleapis/logging__v2.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 "auth": {
3 "oauth2": {
4 "scopes": {
5 "https://www.googleapis.com/auth/firebase": {
6 "description": "View and administer all your Firebase data a nd settings"
7 }
8 }
9 }
10 },
2 "basePath": "/identitytoolkit/v3/relyingparty/", 11 "basePath": "/identitytoolkit/v3/relyingparty/",
3 "baseUrl": "https://www.googleapis.com/identitytoolkit/v3/relyingparty/", 12 "baseUrl": "https://www.googleapis.com/identitytoolkit/v3/relyingparty/",
4 "batchPath": "batch", 13 "batchPath": "batch",
5 "canonicalName": "Identity Toolkit", 14 "canonicalName": "Identity Toolkit",
6 "description": "Help the third party sites to implement federated login.", 15 "description": "Help the third party sites to implement federated login.",
7 "discoveryVersion": "v1", 16 "discoveryVersion": "v1",
8 "documentationLink": "https://developers.google.com/identity-toolkit/v3/", 17 "documentationLink": "https://developers.google.com/identity-toolkit/v3/",
9 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/hUSUQ1FCOLm-WaxWC_MbF3f27YE\"", 18 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/RUOtwHGdsl6sx4SfIX3bJXLVQr0\"",
10 "icons": { 19 "icons": {
11 "x16": "http://www.google.com/images/icons/product/search-16.gif", 20 "x16": "http://www.google.com/images/icons/product/search-16.gif",
12 "x32": "http://www.google.com/images/icons/product/search-32.gif" 21 "x32": "http://www.google.com/images/icons/product/search-32.gif"
13 }, 22 },
14 "id": "identitytoolkit:v3", 23 "id": "identitytoolkit:v3",
15 "kind": "discovery#restDescription", 24 "kind": "discovery#restDescription",
16 "name": "identitytoolkit", 25 "name": "identitytoolkit",
17 "ownerDomain": "google.com", 26 "ownerDomain": "google.com",
18 "ownerName": "Google", 27 "ownerName": "Google",
19 "parameters": { 28 "parameters": {
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 "downloadAccount": { 101 "downloadAccount": {
93 "description": "Batch download user accounts.", 102 "description": "Batch download user accounts.",
94 "httpMethod": "POST", 103 "httpMethod": "POST",
95 "id": "identitytoolkit.relyingparty.downloadAccount", 104 "id": "identitytoolkit.relyingparty.downloadAccount",
96 "path": "downloadAccount", 105 "path": "downloadAccount",
97 "request": { 106 "request": {
98 "$ref": "IdentitytoolkitRelyingpartyDownloadAccountReque st" 107 "$ref": "IdentitytoolkitRelyingpartyDownloadAccountReque st"
99 }, 108 },
100 "response": { 109 "response": {
101 "$ref": "DownloadAccountResponse" 110 "$ref": "DownloadAccountResponse"
102 } 111 },
112 "scopes": [
113 "https://www.googleapis.com/auth/firebase"
114 ]
103 }, 115 },
104 "getAccountInfo": { 116 "getAccountInfo": {
105 "description": "Returns the account info.", 117 "description": "Returns the account info.",
106 "httpMethod": "POST", 118 "httpMethod": "POST",
107 "id": "identitytoolkit.relyingparty.getAccountInfo", 119 "id": "identitytoolkit.relyingparty.getAccountInfo",
108 "path": "getAccountInfo", 120 "path": "getAccountInfo",
109 "request": { 121 "request": {
110 "$ref": "IdentitytoolkitRelyingpartyGetAccountInfoReques t" 122 "$ref": "IdentitytoolkitRelyingpartyGetAccountInfoReques t"
111 }, 123 },
112 "response": { 124 "response": {
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 "uploadAccount": { 239 "uploadAccount": {
228 "description": "Batch upload existing user accounts.", 240 "description": "Batch upload existing user accounts.",
229 "httpMethod": "POST", 241 "httpMethod": "POST",
230 "id": "identitytoolkit.relyingparty.uploadAccount", 242 "id": "identitytoolkit.relyingparty.uploadAccount",
231 "path": "uploadAccount", 243 "path": "uploadAccount",
232 "request": { 244 "request": {
233 "$ref": "IdentitytoolkitRelyingpartyUploadAccountRequest " 245 "$ref": "IdentitytoolkitRelyingpartyUploadAccountRequest "
234 }, 246 },
235 "response": { 247 "response": {
236 "$ref": "UploadAccountResponse" 248 "$ref": "UploadAccountResponse"
237 } 249 },
250 "scopes": [
251 "https://www.googleapis.com/auth/firebase"
252 ]
238 }, 253 },
239 "verifyAssertion": { 254 "verifyAssertion": {
240 "description": "Verifies the assertion returned by the IdP." , 255 "description": "Verifies the assertion returned by the IdP." ,
241 "httpMethod": "POST", 256 "httpMethod": "POST",
242 "id": "identitytoolkit.relyingparty.verifyAssertion", 257 "id": "identitytoolkit.relyingparty.verifyAssertion",
243 "path": "verifyAssertion", 258 "path": "verifyAssertion",
244 "request": { 259 "request": {
245 "$ref": "IdentitytoolkitRelyingpartyVerifyAssertionReque st" 260 "$ref": "IdentitytoolkitRelyingpartyVerifyAssertionReque st"
246 }, 261 },
247 "response": { 262 "response": {
(...skipping 20 matching lines...) Expand all
268 "request": { 283 "request": {
269 "$ref": "IdentitytoolkitRelyingpartyVerifyPasswordReques t" 284 "$ref": "IdentitytoolkitRelyingpartyVerifyPasswordReques t"
270 }, 285 },
271 "response": { 286 "response": {
272 "$ref": "VerifyPasswordResponse" 287 "$ref": "VerifyPasswordResponse"
273 } 288 }
274 } 289 }
275 } 290 }
276 } 291 }
277 }, 292 },
278 "revision": "20160812", 293 "revision": "20161024",
279 "rootUrl": "https://www.googleapis.com/", 294 "rootUrl": "https://www.googleapis.com/",
280 "schemas": { 295 "schemas": {
281 "CreateAuthUriResponse": { 296 "CreateAuthUriResponse": {
282 "description": "Response of creating the IDP authentication URL.", 297 "description": "Response of creating the IDP authentication URL.",
283 "id": "CreateAuthUriResponse", 298 "id": "CreateAuthUriResponse",
284 "properties": { 299 "properties": {
285 "allProviders": { 300 "allProviders": {
286 "description": "all providers the user has once used to do f ederated login", 301 "description": "all providers the user has once used to do f ederated login",
287 "items": { 302 "items": {
288 "type": "string" 303 "type": "string"
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
463 "type": "string" 478 "type": "string"
464 }, 479 },
465 "context": { 480 "context": {
466 "description": "The opaque value used by the client to maint ain context info between the authentication request and the IDP callback.", 481 "description": "The opaque value used by the client to maint ain context info between the authentication request and the IDP callback.",
467 "type": "string" 482 "type": "string"
468 }, 483 },
469 "continueUri": { 484 "continueUri": {
470 "description": "The URI to which the IDP redirects the user after the federated login flow.", 485 "description": "The URI to which the IDP redirects the user after the federated login flow.",
471 "type": "string" 486 "type": "string"
472 }, 487 },
488 "customParameter": {
489 "additionalProperties": {
490 "description": "The customized query parameter.",
491 "type": "string"
492 },
493 "description": "The query parameter that client can customiz e by themselves in auth url. The following parameters are reserved for server so that they cannot be customized by clients: client_id, response_type, scope, red irect_uri, state, oauth_token.",
494 "type": "object"
495 },
473 "hostedDomain": { 496 "hostedDomain": {
474 "description": "The hosted domain to restrict sign-in to acc ounts at that domain for Google Apps hosted accounts.", 497 "description": "The hosted domain to restrict sign-in to acc ounts at that domain for Google Apps hosted accounts.",
475 "type": "string" 498 "type": "string"
476 }, 499 },
477 "identifier": { 500 "identifier": {
478 "description": "The email or federated ID of the user.", 501 "description": "The email or federated ID of the user.",
479 "type": "string" 502 "type": "string"
480 }, 503 },
481 "oauthConsumerKey": { 504 "oauthConsumerKey": {
482 "description": "The developer's consumer key for OpenId OAut h Extension", 505 "description": "The developer's consumer key for OpenId OAut h Extension",
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
592 "description": "Authorized domains.", 615 "description": "Authorized domains.",
593 "items": { 616 "items": {
594 "type": "string" 617 "type": "string"
595 }, 618 },
596 "type": "array" 619 "type": "array"
597 }, 620 },
598 "changeEmailTemplate": { 621 "changeEmailTemplate": {
599 "$ref": "EmailTemplate", 622 "$ref": "EmailTemplate",
600 "description": "Change email template." 623 "description": "Change email template."
601 }, 624 },
625 "dynamicLinksDomain": {
626 "type": "string"
627 },
602 "enableAnonymousUser": { 628 "enableAnonymousUser": {
603 "description": "Whether anonymous user is enabled.", 629 "description": "Whether anonymous user is enabled.",
604 "type": "boolean" 630 "type": "boolean"
605 }, 631 },
606 "idpConfig": { 632 "idpConfig": {
607 "description": "OAuth2 provider configuration.", 633 "description": "OAuth2 provider configuration.",
608 "items": { 634 "items": {
609 "$ref": "IdpConfig" 635 "$ref": "IdpConfig"
610 }, 636 },
611 "type": "array" 637 "type": "array"
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
868 "id": "IdentitytoolkitRelyingpartySignupNewUserRequest", 894 "id": "IdentitytoolkitRelyingpartySignupNewUserRequest",
869 "properties": { 895 "properties": {
870 "captchaChallenge": { 896 "captchaChallenge": {
871 "description": "The captcha challenge.", 897 "description": "The captcha challenge.",
872 "type": "string" 898 "type": "string"
873 }, 899 },
874 "captchaResponse": { 900 "captchaResponse": {
875 "description": "Response to the captcha.", 901 "description": "Response to the captcha.",
876 "type": "string" 902 "type": "string"
877 }, 903 },
904 "disabled": {
905 "description": "Whether to disable the user. Only can be use d by service account.",
906 "type": "boolean"
907 },
878 "displayName": { 908 "displayName": {
879 "description": "The name of the user.", 909 "description": "The name of the user.",
880 "type": "string" 910 "type": "string"
881 }, 911 },
882 "email": { 912 "email": {
883 "description": "The email of the user.", 913 "description": "The email of the user.",
884 "type": "string" 914 "type": "string"
885 }, 915 },
916 "emailVerified": {
917 "description": "Mark the email as verified or not. Only can be used by service account.",
918 "type": "boolean"
919 },
886 "idToken": { 920 "idToken": {
887 "description": "The GITKit token of the authenticated user." , 921 "description": "The GITKit token of the authenticated user." ,
888 "type": "string" 922 "type": "string"
889 }, 923 },
890 "instanceId": { 924 "instanceId": {
891 "description": "Instance id token of the app.", 925 "description": "Instance id token of the app.",
892 "type": "string" 926 "type": "string"
893 }, 927 },
894 "password": { 928 "password": {
895 "description": "The new password of the user.", 929 "description": "The new password of the user.",
896 "type": "string" 930 "type": "string"
931 },
932 "photoUrl": {
933 "description": "The photo url of the user.",
934 "type": "string"
897 } 935 }
898 }, 936 },
899 "type": "object" 937 "type": "object"
900 }, 938 },
901 "IdentitytoolkitRelyingpartyUploadAccountRequest": { 939 "IdentitytoolkitRelyingpartyUploadAccountRequest": {
902 "description": "Request to upload user account in batch.", 940 "description": "Request to upload user account in batch.",
903 "id": "IdentitytoolkitRelyingpartyUploadAccountRequest", 941 "id": "IdentitytoolkitRelyingpartyUploadAccountRequest",
904 "properties": { 942 "properties": {
943 "allowOverwrite": {
944 "description": "Whether allow overwrite existing account whe n user local_id exists.",
945 "type": "boolean"
946 },
905 "delegatedProjectNumber": { 947 "delegatedProjectNumber": {
906 "description": "GCP project number of the requesting delegat ed app. Currently only intended for Firebase V1 migration.", 948 "description": "GCP project number of the requesting delegat ed app. Currently only intended for Firebase V1 migration.",
907 "format": "int64", 949 "format": "int64",
908 "type": "string" 950 "type": "string"
909 }, 951 },
910 "hashAlgorithm": { 952 "hashAlgorithm": {
911 "description": "The password hash algorithm.", 953 "description": "The password hash algorithm.",
912 "type": "string" 954 "type": "string"
913 }, 955 },
914 "memoryCost": { 956 "memoryCost": {
915 "description": "Memory cost for hash calculation. Used by sc rypt similar algorithms.", 957 "description": "Memory cost for hash calculation. Used by sc rypt similar algorithms.",
916 "format": "int32", 958 "format": "int32",
917 "type": "integer" 959 "type": "integer"
918 }, 960 },
919 "rounds": { 961 "rounds": {
920 "description": "Rounds for hash calculation. Used by scrypt and similar algorithms.", 962 "description": "Rounds for hash calculation. Used by scrypt and similar algorithms.",
921 "format": "int32", 963 "format": "int32",
922 "type": "integer" 964 "type": "integer"
923 }, 965 },
924 "saltSeparator": { 966 "saltSeparator": {
925 "description": "The salt separator.", 967 "description": "The salt separator.",
926 "format": "byte", 968 "format": "byte",
927 "type": "string" 969 "type": "string"
928 }, 970 },
971 "sanityCheck": {
972 "description": "If true, backend will do sanity check(includ ing duplicate email and federated id) when uploading account.",
973 "type": "boolean"
974 },
929 "signerKey": { 975 "signerKey": {
930 "description": "The key for to hash the password.", 976 "description": "The key for to hash the password.",
931 "format": "byte", 977 "format": "byte",
932 "type": "string" 978 "type": "string"
933 }, 979 },
980 "targetProjectId": {
981 "description": "Specify which project (field value is actual ly project id) to operate. Only used when provided credential.",
982 "type": "string"
983 },
934 "users": { 984 "users": {
935 "description": "The account info to be stored.", 985 "description": "The account info to be stored.",
936 "items": { 986 "items": {
937 "$ref": "UserInfo" 987 "$ref": "UserInfo"
938 }, 988 },
939 "type": "array" 989 "type": "array"
940 } 990 }
941 }, 991 },
942 "type": "object" 992 "type": "object"
943 }, 993 },
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
1130 "type": "string" 1180 "type": "string"
1131 } 1181 }
1132 }, 1182 },
1133 "type": "object" 1183 "type": "object"
1134 }, 1184 },
1135 "ResetPasswordResponse": { 1185 "ResetPasswordResponse": {
1136 "description": "Response of resetting the password.", 1186 "description": "Response of resetting the password.",
1137 "id": "ResetPasswordResponse", 1187 "id": "ResetPasswordResponse",
1138 "properties": { 1188 "properties": {
1139 "email": { 1189 "email": {
1140 "description": "The user's email.", 1190 "description": "The user's email. If the out-of-band code is for email recovery, the user's original email.",
1141 "type": "string" 1191 "type": "string"
1142 }, 1192 },
1143 "kind": { 1193 "kind": {
1144 "default": "identitytoolkit#ResetPasswordResponse", 1194 "default": "identitytoolkit#ResetPasswordResponse",
1145 "description": "The fixed string \"identitytoolkit#ResetPass wordResponse\".", 1195 "description": "The fixed string \"identitytoolkit#ResetPass wordResponse\".",
1146 "type": "string" 1196 "type": "string"
1197 },
1198 "newEmail": {
1199 "description": "If the out-of-band code is for email recover y, the user's new email.",
1200 "type": "string"
1201 },
1202 "requestType": {
1203 "description": "The request type.",
1204 "type": "string"
1147 } 1205 }
1148 }, 1206 },
1149 "type": "object" 1207 "type": "object"
1150 }, 1208 },
1151 "SetAccountInfoResponse": { 1209 "SetAccountInfoResponse": {
1152 "description": "Respone of setting the account information.", 1210 "description": "Respone of setting the account information.",
1153 "id": "SetAccountInfoResponse", 1211 "id": "SetAccountInfoResponse",
1154 "properties": { 1212 "properties": {
1155 "displayName": { 1213 "displayName": {
1156 "description": "The name of the user.", 1214 "description": "The name of the user.",
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
1292 }, 1350 },
1293 "UserInfo": { 1351 "UserInfo": {
1294 "description": "Template for an individual account info.", 1352 "description": "Template for an individual account info.",
1295 "id": "UserInfo", 1353 "id": "UserInfo",
1296 "properties": { 1354 "properties": {
1297 "createdAt": { 1355 "createdAt": {
1298 "description": "User creation timestamp.", 1356 "description": "User creation timestamp.",
1299 "format": "int64", 1357 "format": "int64",
1300 "type": "string" 1358 "type": "string"
1301 }, 1359 },
1360 "customAuth": {
1361 "description": "Whether the user is authenticated by the dev eloper.",
1362 "type": "boolean"
1363 },
1302 "disabled": { 1364 "disabled": {
1303 "description": "Whether the user is disabled.", 1365 "description": "Whether the user is disabled.",
1304 "type": "boolean" 1366 "type": "boolean"
1305 }, 1367 },
1306 "displayName": { 1368 "displayName": {
1307 "description": "The name of the user.", 1369 "description": "The name of the user.",
1308 "type": "string" 1370 "type": "string"
1309 }, 1371 },
1310 "email": { 1372 "email": {
1311 "description": "The email of the user.", 1373 "description": "The email of the user.",
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
1359 "type": "string" 1421 "type": "string"
1360 }, 1422 },
1361 "providerId": { 1423 "providerId": {
1362 "description": "The IdP ID. For white listed IdP s it's a short domain name, e.g., google.com, aol.com, live.net and yahoo.com. F or other OpenID IdPs it's the OP identifier.", 1424 "description": "The IdP ID. For white listed IdP s it's a short domain name, e.g., google.com, aol.com, live.net and yahoo.com. F or other OpenID IdPs it's the OP identifier.",
1363 "type": "string" 1425 "type": "string"
1364 }, 1426 },
1365 "rawId": { 1427 "rawId": {
1366 "description": "User's raw identifier directly r eturned from IDP.", 1428 "description": "User's raw identifier directly r eturned from IDP.",
1367 "type": "string" 1429 "type": "string"
1368 }, 1430 },
1369 "rawUserInfo": {
1370 "description": "Raw IDP-returned user info.",
1371 "type": "string"
1372 },
1373 "screenName": { 1431 "screenName": {
1374 "description": "User's screen name at Twitter.", 1432 "description": "User's screen name at Twitter or login name at Github.",
1375 "type": "string" 1433 "type": "string"
1376 } 1434 }
1377 }, 1435 },
1378 "type": "object" 1436 "type": "object"
1379 }, 1437 },
1380 "type": "array" 1438 "type": "array"
1381 }, 1439 },
1440 "rawPassword": {
1441 "description": "The user's plain text password.",
1442 "type": "string"
1443 },
1382 "salt": { 1444 "salt": {
1383 "description": "The user's password salt.", 1445 "description": "The user's password salt.",
1384 "format": "byte", 1446 "format": "byte",
1385 "type": "string" 1447 "type": "string"
1386 }, 1448 },
1387 "screenName": { 1449 "screenName": {
1388 "description": "User's screen name at Twitter.", 1450 "description": "User's screen name at Twitter or login name at Github.",
1389 "type": "string" 1451 "type": "string"
1390 }, 1452 },
1391 "validSince": { 1453 "validSince": {
1392 "description": "Timestamp in seconds for valid login token." , 1454 "description": "Timestamp in seconds for valid login token." ,
1393 "format": "int64", 1455 "format": "int64",
1394 "type": "string" 1456 "type": "string"
1395 }, 1457 },
1396 "version": { 1458 "version": {
1397 "description": "Version of the user's password.", 1459 "description": "Version of the user's password.",
1398 "format": "int32", 1460 "format": "int32",
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
1542 }, 1604 },
1543 "rawUserInfo": { 1605 "rawUserInfo": {
1544 "description": "Raw IDP-returned user info.", 1606 "description": "Raw IDP-returned user info.",
1545 "type": "string" 1607 "type": "string"
1546 }, 1608 },
1547 "refreshToken": { 1609 "refreshToken": {
1548 "description": "If idToken is STS id token, then this field will be refresh token.", 1610 "description": "If idToken is STS id token, then this field will be refresh token.",
1549 "type": "string" 1611 "type": "string"
1550 }, 1612 },
1551 "screenName": { 1613 "screenName": {
1552 "description": "The screen_name of a Twitter user.", 1614 "description": "The screen_name of a Twitter user or the log in name at Github.",
1553 "type": "string" 1615 "type": "string"
1554 }, 1616 },
1555 "timeZone": { 1617 "timeZone": {
1556 "description": "The timezone of the user.", 1618 "description": "The timezone of the user.",
1557 "type": "string" 1619 "type": "string"
1558 }, 1620 },
1559 "verifiedProvider": { 1621 "verifiedProvider": {
1560 "description": "When action is 'map', contains the idps whic h can be used for confirmation.", 1622 "description": "When action is 'map', contains the idps whic h can be used for confirmation.",
1561 "items": { 1623 "items": {
1562 "type": "string" 1624 "type": "string"
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
1647 "type": "boolean" 1709 "type": "boolean"
1648 } 1710 }
1649 }, 1711 },
1650 "type": "object" 1712 "type": "object"
1651 } 1713 }
1652 }, 1714 },
1653 "servicePath": "identitytoolkit/v3/relyingparty/", 1715 "servicePath": "identitytoolkit/v3/relyingparty/",
1654 "title": "Google Identity Toolkit API", 1716 "title": "Google Identity Toolkit API",
1655 "version": "v3" 1717 "version": "v3"
1656 } 1718 }
OLDNEW
« no previous file with comments | « discovery/googleapis/iam__v1.json ('k') | discovery/googleapis/logging__v2.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698