diff --git a/CHANGELOG.md b/CHANGELOG.md index 5ea2ff0..43ab6c9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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-/recipe/multitenancy/tenant` PUT APIs. - Adds `firstFactors` and `requiredSecondaryFacrors` to the response of `/appid-//recipe/multitenancy/tenant` GET API. +## [4.0.3] + +- Adds an optional `useDynamicSigningKey` to the session refresh (`POST` `/appid-/recipe/session/refresh`) request body + +## [4.0.2] + +- Adds GET `/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 diff --git a/api_spec.yaml b/api_spec.yaml index 3c70da4..a5e5f4d 100644 --- a/api_spec.yaml +++ b/api_spec.yaml @@ -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 @@ -5024,6 +5022,56 @@ paths: '500': $ref: '#/components/responses/500' + /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: @@ -6240,6 +6288,8 @@ components: properties: id: $ref: '#/components/schemas/email' + isVerified: + $ref: '#/components/schemas/isVerified' isVerified: type: boolean