|
39 | 39 | url: https://www.apache.org/licenses/LICENSE-2.0.html |
40 | 40 | termsOfService: /tos |
41 | 41 | title: Ory APIs |
42 | | - version: v1.22.99 |
| 42 | + version: v1.22.100 |
43 | 43 | servers: |
44 | 44 | - url: "https://{project_slug}.projects.oryapis.com/" |
45 | 45 | variables: |
@@ -1078,14 +1078,16 @@ paths: |
1078 | 1078 |
|
1079 | 1079 | Avoid importing large batches with plaintext passwords. They can cause timeouts as the passwords need to be hashed before they are stored. |
1080 | 1080 |
|
1081 | | - By default, the response is 200 OK, also when no identity is imported. It lists the result of each identity: its ID if |
1082 | | - it was imported, or the error that stopped it, such as 409 Conflict for an identity that conflicts with an existing one. |
| 1081 | + By default, the response is 200 OK, also when no identity is imported, unless the whole request fails as listed below. It |
| 1082 | + lists the result of each identity: its ID if it was imported, or the error that stopped it, such as 409 Conflict for an |
| 1083 | + identity that conflicts with an existing one. |
1083 | 1084 |
|
1084 | 1085 | Set `with_partial_inserts` to false to import the batch as a single unit instead, in exchange for a considerably faster |
1085 | 1086 | import: one conflict then fails the whole request with 409 Conflict and no identity is created. |
1086 | 1087 |
|
1087 | 1088 | Apart from server errors, only the following errors fail the whole request, and then no identity is imported: |
1088 | 1089 | - 400 Bad Request: The request payload is invalid or improperly formatted. |
| 1090 | + - 409 Conflict: The batch has a single identity, and it conflicts with an existing identity. |
1089 | 1091 | - 409 Conflict: `with_partial_inserts` is false, and an identity conflicts with an existing identity or with another |
1090 | 1092 | identity in the batch. Self-hosted Ory Kratos on MySQL does not support partial inserts, so there a conflict also fails |
1091 | 1093 | the whole request when the batch has more than one valid identity. |
@@ -13064,14 +13066,6 @@ components: |
13064 | 13066 | kratos_feature_flags_choose_recovery_address: |
13065 | 13067 | description: This governs the "feature_flags.choose_recovery_address" setting. |
13066 | 13068 | type: boolean |
13067 | | - kratos_feature_flags_enforce_identity_schema_guards: |
13068 | | - description: |- |
13069 | | - Configures whether Ory Kratos enforces the identity schema guards |
13070 | | - |
13071 | | - If enabled, an identity schema that does not pass the identity schema guards is rejected. If disabled, the result is logged and the schema is used. |
13072 | | - |
13073 | | - This governs the "feature_flags.enforce_identity_schema_guards" setting. |
13074 | | - type: boolean |
13075 | 13069 | kratos_feature_flags_faster_session_extend: |
13076 | 13070 | description: |- |
13077 | 13071 | Configures the Ory Kratos Faster Session Extend setting |
@@ -22389,14 +22383,6 @@ components: |
22389 | 22383 | kratos_feature_flags_choose_recovery_address: |
22390 | 22384 | description: This governs the "feature_flags.choose_recovery_address" setting. |
22391 | 22385 | type: boolean |
22392 | | - kratos_feature_flags_enforce_identity_schema_guards: |
22393 | | - description: |- |
22394 | | - Configures whether Ory Kratos enforces the identity schema guards |
22395 | | - |
22396 | | - If enabled, an identity schema that does not pass the identity schema guards is rejected. If disabled, the result is logged and the schema is used. |
22397 | | - |
22398 | | - This governs the "feature_flags.enforce_identity_schema_guards" setting. |
22399 | | - type: boolean |
22400 | 22386 | kratos_feature_flags_faster_session_extend: |
22401 | 22387 | description: |- |
22402 | 22388 | Configures the Ory Kratos Faster Session Extend setting |
|
0 commit comments