Skip to content

Commit

Permalink
Merge branch '5.0' into feat/mfa
Browse files Browse the repository at this point in the history
  • Loading branch information
sattvikc authored Mar 19, 2024
2 parents 3970ba4 + f09449b commit 7548a46
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 2 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Adds `firstFactors` and `requiredSecondaryFactors` to the input of `/recipe/multitenancy/connectionuridomain` PUT, `/recipe/multitenancy/app` PUT and `/appid-<appId>/recipe/multitenancy/tenant` PUT APIs.
- Adds `firstFactors` and `requiredSecondaryFacrors` to the response of `/appid-<appId>/<tenantId>/recipe/multitenancy/tenant` GET API.

## [4.0.3]

- Adds an optional `useDynamicSigningKey` to the session refresh (`POST` `/appid-<appId>/recipe/session/refresh`) request body

## [4.0.2]

- Adds GET `/appid-<appId>/requests/stats` API

## [4.0.1]

- Fixes location of `isVerified` boolean in the third party signinup API request body.

## [4.0.0]

- Adds new APIs for account linking
Expand Down
54 changes: 52 additions & 2 deletions api_spec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2170,8 +2170,6 @@ paths:
$ref: '#/components/schemas/thirdPartyUserId'
email:
$ref: '#/components/schemas/thirdPartyEmail'
isVerified:
$ref: '#/components/schemas/isVerified'
responses:
'200':
description: Signin/up a user
Expand Down Expand Up @@ -5024,6 +5022,56 @@ paths:
'500':
$ref: '#/components/responses/500'

/appid-<appId>/requests/stats:
get:
tags:
- Core
operationId: getRequestsStats
description: |
Get requests stats for last 24 hours
`averageRequestsPerSecond` and `peakRequestsPerSecond` would countain `1440` values corresponding to `now - 1440 minutes` until `now - 1 minute`.
A value of `-1` would mean that there is no data for that minute.
parameters:
- $ref: '#/components/parameters/api-key'
- $ref: '#/components/parameters/cdi-version'
responses:
'200':
description: The operation was successful
content:
application/json:
schema:
type: object
properties:
status:
$ref: '#/components/schemas/statusOK'
atMinute:
type: number
example: 16382348
averageRequestsPerSecond:
type: array
items:
type: number
example: 10.5
peakRequestsPerSecond:
type: array
items:
type: number
example: 20
'400':
$ref: '#/components/responses/400'

'401':
$ref: '#/components/responses/401'

'404':
$ref: '#/components/responses/404'

'500':
$ref: '#/components/responses/500'


/recipe/multitenancy/connectionuridomain:
put:
tags:
Expand Down Expand Up @@ -6240,6 +6288,8 @@ components:
properties:
id:
$ref: '#/components/schemas/email'
isVerified:
$ref: '#/components/schemas/isVerified'

isVerified:
type: boolean
Expand Down

0 comments on commit 7548a46

Please sign in to comment.