|
39 | 39 | url: https://www.apache.org/licenses/LICENSE-2.0.html |
40 | 40 | termsOfService: /tos |
41 | 41 | title: Ory APIs |
42 | | - version: v1.21.0 |
| 42 | + version: v1.21.1 |
43 | 43 | servers: |
44 | 44 | - url: "https://{project_slug}.projects.oryapis.com/" |
45 | 45 | variables: |
@@ -898,6 +898,73 @@ paths: |
898 | 898 | x-content-type: application/json |
899 | 899 | x-accepts: |
900 | 900 | - application/json |
| 901 | + /admin/identities/by/external/{externalID}: |
| 902 | + get: |
| 903 | + description: |- |
| 904 | + Return an [identity](https://www.ory.sh/docs/kratos/concepts/identity-user-model) by its external ID. You can optionally |
| 905 | + include credentials (e.g. social sign in connections) in the response by using the `include_credential` query parameter. |
| 906 | + operationId: getIdentityByExternalID |
| 907 | + parameters: |
| 908 | + - description: ExternalID must be set to the ID of identity you want to get |
| 909 | + explode: false |
| 910 | + in: path |
| 911 | + name: externalID |
| 912 | + required: true |
| 913 | + schema: |
| 914 | + type: string |
| 915 | + style: simple |
| 916 | + - description: |- |
| 917 | + Include Credentials in Response |
| 918 | + |
| 919 | + Include any credential, for example `password` or `oidc`, in the response. When set to `oidc`, This will return |
| 920 | + the initial OAuth 2.0 Access Token, OAuth 2.0 Refresh Token and the OpenID Connect ID Token if available. |
| 921 | + explode: true |
| 922 | + in: query |
| 923 | + name: include_credential |
| 924 | + required: false |
| 925 | + schema: |
| 926 | + items: |
| 927 | + enum: |
| 928 | + - password |
| 929 | + - oidc |
| 930 | + - totp |
| 931 | + - lookup_secret |
| 932 | + - webauthn |
| 933 | + - code |
| 934 | + - passkey |
| 935 | + - profile |
| 936 | + - saml |
| 937 | + - link_recovery |
| 938 | + - code_recovery |
| 939 | + type: string |
| 940 | + type: array |
| 941 | + style: form |
| 942 | + responses: |
| 943 | + "200": |
| 944 | + content: |
| 945 | + application/json: |
| 946 | + schema: |
| 947 | + $ref: '#/components/schemas/identity' |
| 948 | + description: identity |
| 949 | + "404": |
| 950 | + content: |
| 951 | + application/json: |
| 952 | + schema: |
| 953 | + $ref: '#/components/schemas/errorGeneric' |
| 954 | + description: errorGeneric |
| 955 | + default: |
| 956 | + content: |
| 957 | + application/json: |
| 958 | + schema: |
| 959 | + $ref: '#/components/schemas/errorGeneric' |
| 960 | + description: errorGeneric |
| 961 | + security: |
| 962 | + - oryAccessToken: [] |
| 963 | + summary: Get an Identity by its External ID |
| 964 | + tags: |
| 965 | + - identity |
| 966 | + x-accepts: |
| 967 | + - application/json |
901 | 968 | /admin/identities/{id}: |
902 | 969 | delete: |
903 | 970 | description: |- |
@@ -12360,6 +12427,12 @@ components: |
12360 | 12427 | properties: |
12361 | 12428 | credentials: |
12362 | 12429 | $ref: '#/components/schemas/identityWithCredentials' |
| 12430 | + external_id: |
| 12431 | + description: |- |
| 12432 | + ExternalID is an optional external ID of the identity. This is used to link |
| 12433 | + the identity to an external system. If set, the external ID must be unique |
| 12434 | + across all identities. |
| 12435 | + type: string |
12363 | 12436 | metadata_admin: |
12364 | 12437 | description: Store metadata about the user which is only accessible through |
12365 | 12438 | admin APIs such as `GET /admin/identities/<id>`. |
@@ -13366,6 +13439,7 @@ components: |
13366 | 13439 | version: 0 |
13367 | 13440 | state_changed_at: 2000-01-23T04:56:07.000+00:00 |
13368 | 13441 | created_at: 2000-01-23T04:56:07.000+00:00 |
| 13442 | + external_id: external_id |
13369 | 13443 | recovery_addresses: |
13370 | 13444 | - updated_at: 2000-01-23T04:56:07.000+00:00 |
13371 | 13445 | created_at: 2000-01-23T04:56:07.000+00:00 |
@@ -13413,6 +13487,12 @@ components: |
13413 | 13487 | description: Credentials represents all credentials that can be used for |
13414 | 13488 | authenticating this identity. |
13415 | 13489 | type: object |
| 13490 | + external_id: |
| 13491 | + description: |- |
| 13492 | + ExternalID is an optional external ID of the identity. This is used to link |
| 13493 | + the identity to an external system. If set, the external ID must be unique |
| 13494 | + across all identities. |
| 13495 | + type: string |
13416 | 13496 | id: |
13417 | 13497 | description: |- |
13418 | 13498 | ID is the identity's unique identifier. |
@@ -21124,6 +21204,7 @@ components: |
21124 | 21204 | version: 0 |
21125 | 21205 | state_changed_at: 2000-01-23T04:56:07.000+00:00 |
21126 | 21206 | created_at: 2000-01-23T04:56:07.000+00:00 |
| 21207 | + external_id: external_id |
21127 | 21208 | recovery_addresses: |
21128 | 21209 | - updated_at: 2000-01-23T04:56:07.000+00:00 |
21129 | 21210 | created_at: 2000-01-23T04:56:07.000+00:00 |
@@ -21512,6 +21593,7 @@ components: |
21512 | 21593 | version: 0 |
21513 | 21594 | state_changed_at: 2000-01-23T04:56:07.000+00:00 |
21514 | 21595 | created_at: 2000-01-23T04:56:07.000+00:00 |
| 21596 | + external_id: external_id |
21515 | 21597 | recovery_addresses: |
21516 | 21598 | - updated_at: 2000-01-23T04:56:07.000+00:00 |
21517 | 21599 | created_at: 2000-01-23T04:56:07.000+00:00 |
@@ -21823,6 +21905,7 @@ components: |
21823 | 21905 | version: 0 |
21824 | 21906 | state_changed_at: 2000-01-23T04:56:07.000+00:00 |
21825 | 21907 | created_at: 2000-01-23T04:56:07.000+00:00 |
| 21908 | + external_id: external_id |
21826 | 21909 | recovery_addresses: |
21827 | 21910 | - updated_at: 2000-01-23T04:56:07.000+00:00 |
21828 | 21911 | created_at: 2000-01-23T04:56:07.000+00:00 |
@@ -21918,6 +22001,7 @@ components: |
21918 | 22001 | version: 0 |
21919 | 22002 | state_changed_at: 2000-01-23T04:56:07.000+00:00 |
21920 | 22003 | created_at: 2000-01-23T04:56:07.000+00:00 |
| 22004 | + external_id: external_id |
21921 | 22005 | recovery_addresses: |
21922 | 22006 | - updated_at: 2000-01-23T04:56:07.000+00:00 |
21923 | 22007 | created_at: 2000-01-23T04:56:07.000+00:00 |
@@ -21992,6 +22076,7 @@ components: |
21992 | 22076 | version: 0 |
21993 | 22077 | state_changed_at: 2000-01-23T04:56:07.000+00:00 |
21994 | 22078 | created_at: 2000-01-23T04:56:07.000+00:00 |
| 22079 | + external_id: external_id |
21995 | 22080 | recovery_addresses: |
21996 | 22081 | - updated_at: 2000-01-23T04:56:07.000+00:00 |
21997 | 22082 | created_at: 2000-01-23T04:56:07.000+00:00 |
@@ -23104,6 +23189,12 @@ components: |
23104 | 23189 | properties: |
23105 | 23190 | credentials: |
23106 | 23191 | $ref: '#/components/schemas/identityWithCredentials' |
| 23192 | + external_id: |
| 23193 | + description: |- |
| 23194 | + ExternalID is an optional external ID of the identity. This is used to link |
| 23195 | + the identity to an external system. If set, the external ID must be unique |
| 23196 | + across all identities. |
| 23197 | + type: string |
23107 | 23198 | metadata_admin: |
23108 | 23199 | description: Store metadata about the user which is only accessible through |
23109 | 23200 | admin APIs such as `GET /admin/identities/<id>`. |
@@ -23497,8 +23588,7 @@ components: |
23497 | 23588 | type: string |
23498 | 23589 | screen: |
23499 | 23590 | description: |- |
23500 | | - Go back in the flow, meaningfully. |
23501 | | - The actual value is not important (it is typically "previous"), the system checks whether the value is empty or not. |
| 23591 | + Set to "previous" to return to the previous screen. |
23502 | 23592 | Used in RecoveryV2. |
23503 | 23593 | type: string |
23504 | 23594 | transient_payload: |
|
0 commit comments