Skip to content

Commit 76ff4eb

Browse files
Merge pull request #84 from clerk/update-openapi-specs-20260202-231602
chore: Update OpenAPI Specs
2 parents b2ec4bc + 53ddcf1 commit 76ff4eb

File tree

9 files changed

+375
-74
lines changed

9 files changed

+375
-74
lines changed

bapi/2021-02-05.yml

Lines changed: 40 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1447,6 +1447,22 @@ paths:
14471447
example: 1730160000000
14481448
schema:
14491449
type: integer
1450+
- name: last_sign_in_at_before
1451+
in: query
1452+
description: |-
1453+
Returns users whose last sign-in was before the given date (with millisecond precision).
1454+
Example: use 1700690400000 to retrieve users whose last sign-in was before 2023-11-23.
1455+
example: 1700690400000
1456+
schema:
1457+
type: integer
1458+
- name: last_sign_in_at_after
1459+
in: query
1460+
description: |-
1461+
Returns users whose last sign-in was after the given date (with millisecond precision).
1462+
Example: use 1700690400000 to retrieve users whose last sign-in was after 2023-11-23.
1463+
example: 1700690400000
1464+
schema:
1465+
type: integer
14501466
- $ref: '#/components/parameters/LimitParameter'
14511467
- $ref: '#/components/parameters/OffsetParameter'
14521468
- name: order_by
@@ -1828,6 +1844,22 @@ paths:
18281844
example: 1730160000000
18291845
schema:
18301846
type: integer
1847+
- name: last_sign_in_at_before
1848+
in: query
1849+
description: |-
1850+
Counts users whose last sign-in was before the given date (with millisecond precision).
1851+
Example: use 1700690400000 to count users whose last sign-in was before 2023-11-23.
1852+
example: 1700690400000
1853+
schema:
1854+
type: integer
1855+
- name: last_sign_in_at_after
1856+
in: query
1857+
description: |-
1858+
Counts users whose last sign-in was after the given date (with millisecond precision).
1859+
Example: use 1700690400000 to count users whose last sign-in was after 2023-11-23.
1860+
example: 1700690400000
1861+
schema:
1862+
type: integer
18311863
responses:
18321864
'200':
18331865
$ref: '#/components/responses/User.Count'
@@ -10752,6 +10784,11 @@ components:
1075210784
type: string
1075310785
email_address:
1075410786
type: string
10787+
email_address_verified:
10788+
type: boolean
10789+
nullable: true
10790+
description: |
10791+
Whether the email was verified by the OAuth provider at creation time. null = unknown (pre-migration data or custom OAuth providers), true = provider confirmed email was verified, false = provider confirmed email was NOT verified
1075510792
first_name:
1075610793
type: string
1075710794
last_name:
@@ -11138,7 +11175,7 @@ components:
1113811175
- image_url
1113911176
- has_image
1114011177
OrganizationMembership:
11141-
description: Hello world
11178+
description: A user's membership in an organization
1114211179
type: object
1114311180
properties:
1114411181
id:
@@ -13533,7 +13570,7 @@ components:
1353313570
to_price_id:
1353413571
type: string
1353513572
description: The target price ID to transition to.
13536-
CommercePriceResponse:
13573+
BillingPriceResponse:
1353713574
type: object
1353813575
additionalProperties: false
1353913576
required:
@@ -13604,7 +13641,7 @@ components:
1360413641
previous_plan:
1360513642
$ref: '#/components/schemas/CommercePlan'
1360613643
previous_price:
13607-
$ref: '#/components/schemas/CommercePriceResponse'
13644+
$ref: '#/components/schemas/BillingPriceResponse'
1360813645
effective_at:
1360913646
type: integer
1361013647
format: int64

bapi/2024-10-01.yml

Lines changed: 40 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1447,6 +1447,22 @@ paths:
14471447
example: 1730160000000
14481448
schema:
14491449
type: integer
1450+
- name: last_sign_in_at_before
1451+
in: query
1452+
description: |-
1453+
Returns users whose last sign-in was before the given date (with millisecond precision).
1454+
Example: use 1700690400000 to retrieve users whose last sign-in was before 2023-11-23.
1455+
example: 1700690400000
1456+
schema:
1457+
type: integer
1458+
- name: last_sign_in_at_after
1459+
in: query
1460+
description: |-
1461+
Returns users whose last sign-in was after the given date (with millisecond precision).
1462+
Example: use 1700690400000 to retrieve users whose last sign-in was after 2023-11-23.
1463+
example: 1700690400000
1464+
schema:
1465+
type: integer
14501466
- $ref: '#/components/parameters/LimitParameter'
14511467
- $ref: '#/components/parameters/OffsetParameter'
14521468
- name: order_by
@@ -1828,6 +1844,22 @@ paths:
18281844
example: 1730160000000
18291845
schema:
18301846
type: integer
1847+
- name: last_sign_in_at_before
1848+
in: query
1849+
description: |-
1850+
Counts users whose last sign-in was before the given date (with millisecond precision).
1851+
Example: use 1700690400000 to count users whose last sign-in was before 2023-11-23.
1852+
example: 1700690400000
1853+
schema:
1854+
type: integer
1855+
- name: last_sign_in_at_after
1856+
in: query
1857+
description: |-
1858+
Counts users whose last sign-in was after the given date (with millisecond precision).
1859+
Example: use 1700690400000 to count users whose last sign-in was after 2023-11-23.
1860+
example: 1700690400000
1861+
schema:
1862+
type: integer
18311863
responses:
18321864
'200':
18331865
$ref: '#/components/responses/User.Count'
@@ -11025,6 +11057,11 @@ components:
1102511057
type: string
1102611058
email_address:
1102711059
type: string
11060+
email_address_verified:
11061+
type: boolean
11062+
nullable: true
11063+
description: |
11064+
Whether the email was verified by the OAuth provider at creation time. null = unknown (pre-migration data or custom OAuth providers), true = provider confirmed email was verified, false = provider confirmed email was NOT verified
1102811065
first_name:
1102911066
type: string
1103011067
last_name:
@@ -11411,7 +11448,7 @@ components:
1141111448
- image_url
1141211449
- has_image
1141311450
OrganizationMembership:
11414-
description: Hello world
11451+
description: A user's membership in an organization
1141511452
type: object
1141611453
properties:
1141711454
id:
@@ -13902,7 +13939,7 @@ components:
1390213939
to_price_id:
1390313940
type: string
1390413941
description: The target price ID to transition to.
13905-
CommercePriceResponse:
13942+
BillingPriceResponse:
1390613943
type: object
1390713944
additionalProperties: false
1390813945
required:
@@ -13973,7 +14010,7 @@ components:
1397314010
previous_plan:
1397414011
$ref: '#/components/schemas/CommercePlan'
1397514012
previous_price:
13976-
$ref: '#/components/schemas/CommercePriceResponse'
14013+
$ref: '#/components/schemas/BillingPriceResponse'
1397714014
effective_at:
1397814015
type: integer
1397914016
format: int64

bapi/2025-04-10.yml

Lines changed: 40 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1403,6 +1403,22 @@ paths:
14031403
example: 1730160000000
14041404
schema:
14051405
type: integer
1406+
- name: last_sign_in_at_before
1407+
in: query
1408+
description: |-
1409+
Returns users whose last sign-in was before the given date (with millisecond precision).
1410+
Example: use 1700690400000 to retrieve users whose last sign-in was before 2023-11-23.
1411+
example: 1700690400000
1412+
schema:
1413+
type: integer
1414+
- name: last_sign_in_at_after
1415+
in: query
1416+
description: |-
1417+
Returns users whose last sign-in was after the given date (with millisecond precision).
1418+
Example: use 1700690400000 to retrieve users whose last sign-in was after 2023-11-23.
1419+
example: 1700690400000
1420+
schema:
1421+
type: integer
14061422
- $ref: '#/components/parameters/LimitParameter'
14071423
- $ref: '#/components/parameters/OffsetParameter'
14081424
- name: order_by
@@ -1784,6 +1800,22 @@ paths:
17841800
example: 1730160000000
17851801
schema:
17861802
type: integer
1803+
- name: last_sign_in_at_before
1804+
in: query
1805+
description: |-
1806+
Counts users whose last sign-in was before the given date (with millisecond precision).
1807+
Example: use 1700690400000 to count users whose last sign-in was before 2023-11-23.
1808+
example: 1700690400000
1809+
schema:
1810+
type: integer
1811+
- name: last_sign_in_at_after
1812+
in: query
1813+
description: |-
1814+
Counts users whose last sign-in was after the given date (with millisecond precision).
1815+
Example: use 1700690400000 to count users whose last sign-in was after 2023-11-23.
1816+
example: 1700690400000
1817+
schema:
1818+
type: integer
17871819
responses:
17881820
'200':
17891821
$ref: '#/components/responses/User.Count'
@@ -11053,6 +11085,11 @@ components:
1105311085
type: string
1105411086
email_address:
1105511087
type: string
11088+
email_address_verified:
11089+
type: boolean
11090+
nullable: true
11091+
description: |
11092+
Whether the email was verified by the OAuth provider at creation time. null = unknown (pre-migration data or custom OAuth providers), true = provider confirmed email was verified, false = provider confirmed email was NOT verified
1105611093
first_name:
1105711094
type: string
1105811095
last_name:
@@ -11439,7 +11476,7 @@ components:
1143911476
- image_url
1144011477
- has_image
1144111478
OrganizationMembership:
11442-
description: Hello world
11479+
description: A user's membership in an organization
1144311480
type: object
1144411481
properties:
1144511482
id:
@@ -13930,7 +13967,7 @@ components:
1393013967
to_price_id:
1393113968
type: string
1393213969
description: The target price ID to transition to.
13933-
CommercePriceResponse:
13970+
BillingPriceResponse:
1393413971
type: object
1393513972
additionalProperties: false
1393613973
required:
@@ -14001,7 +14038,7 @@ components:
1400114038
previous_plan:
1400214039
$ref: '#/components/schemas/CommercePlan'
1400314040
previous_price:
14004-
$ref: '#/components/schemas/CommercePriceResponse'
14041+
$ref: '#/components/schemas/BillingPriceResponse'
1400514042
effective_at:
1400614043
type: integer
1400714044
format: int64

0 commit comments

Comments
 (0)