Compare commits
1 Commits
c12b24b284
...
e9672f86a8
Author | SHA1 | Date |
---|---|---|
Derrick Hammer | e9672f86a8 |
|
@ -9,7 +9,7 @@
|
||||||
"version": "0.0.0",
|
"version": "0.0.0",
|
||||||
"hasInstallScript": true,
|
"hasInstallScript": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@lumeweb/s5-js": "0.0.0-20240326154636",
|
"@lumeweb/s5-js": "0.0.0-20240321203023",
|
||||||
"axios": "^1.6.7",
|
"axios": "^1.6.7",
|
||||||
"memize": "^2.1.0",
|
"memize": "^2.1.0",
|
||||||
"orval": "^6.25.0",
|
"orval": "^6.25.0",
|
||||||
|
@ -2897,9 +2897,9 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@lumeweb/s5-js": {
|
"node_modules/@lumeweb/s5-js": {
|
||||||
"version": "0.0.0-20240326154636",
|
"version": "0.0.0-20240321203023",
|
||||||
"resolved": "https://registry.npmjs.org/@lumeweb/s5-js/-/s5-js-0.0.0-20240326154636.tgz",
|
"resolved": "https://registry.npmjs.org/@lumeweb/s5-js/-/s5-js-0.0.0-20240321203023.tgz",
|
||||||
"integrity": "sha512-A3yTG+WX9rA7RVi4bMrwhoQGHZHpyZm83dSXxUc7FW7z62T/WuuLZXfVfGC9Kn2qSfjjInM6Hi1SSd1jHRNK8w==",
|
"integrity": "sha512-OQayJu62PVleh/xv0mZra9g1E/Gggt42s6NLE4UAhO0QEvL3JA6gw5TzLsJNCWFeZGKUYTaRucIGuLLcWWZfCg==",
|
||||||
"hasInstallScript": true,
|
"hasInstallScript": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@lumeweb/libs5": "0.0.0-20240321165322",
|
"@lumeweb/libs5": "0.0.0-20240321165322",
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
"readme": "ERROR: No README data found!",
|
"readme": "ERROR: No README data found!",
|
||||||
"_id": "@lumeweb/portal-sdk@0.0.0",
|
"_id": "@lumeweb/portal-sdk@0.0.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@lumeweb/s5-js": "0.0.0-20240326154636",
|
"@lumeweb/s5-js": "0.0.0-20240321203446",
|
||||||
"axios": "^1.6.7",
|
"axios": "^1.6.7",
|
||||||
"memize": "^2.1.0",
|
"memize": "^2.1.0",
|
||||||
"orval": "^6.25.0",
|
"orval": "^6.25.0",
|
||||||
|
|
|
@ -12,21 +12,21 @@ paths:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/LoginRequest'
|
$ref: "#/components/schemas/LoginRequest"
|
||||||
responses:
|
responses:
|
||||||
'200':
|
"200":
|
||||||
description: Successfully logged in
|
description: Successfully logged in
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/LoginResponse'
|
$ref: "#/components/schemas/LoginResponse"
|
||||||
'401':
|
"401":
|
||||||
description: Unauthorized
|
description: Unauthorized
|
||||||
/api/auth/logout:
|
/api/auth/logout:
|
||||||
post:
|
post:
|
||||||
summary: Logout of account service
|
summary: Logout of account service
|
||||||
responses:
|
responses:
|
||||||
'200':
|
"200":
|
||||||
description: Successfully logged out
|
description: Successfully logged out
|
||||||
/api/auth/register:
|
/api/auth/register:
|
||||||
post:
|
post:
|
||||||
|
@ -36,11 +36,11 @@ paths:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/RegisterRequest'
|
$ref: "#/components/schemas/RegisterRequest"
|
||||||
responses:
|
responses:
|
||||||
'200':
|
"200":
|
||||||
description: Successfully registered
|
description: Successfully registered
|
||||||
'400':
|
"400":
|
||||||
description: Bad Request
|
description: Bad Request
|
||||||
/api/account/verify-email:
|
/api/account/verify-email:
|
||||||
post:
|
post:
|
||||||
|
@ -50,26 +50,20 @@ paths:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/VerifyEmailRequest'
|
$ref: "#/components/schemas/VerifyEmailRequest"
|
||||||
responses:
|
responses:
|
||||||
'200':
|
"200":
|
||||||
description: Email verified successfully
|
description: Email verified successfully
|
||||||
/api/account/verify-email/resend:
|
|
||||||
post:
|
|
||||||
summary: Resend email verification
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
description: Email verification resent successfully
|
|
||||||
/api/auth/otp/generate:
|
/api/auth/otp/generate:
|
||||||
get:
|
get:
|
||||||
summary: Generate OTP for two-factor authentication
|
summary: Generate OTP for two-factor authentication
|
||||||
responses:
|
responses:
|
||||||
'200':
|
"200":
|
||||||
description: OTP generated successfully
|
description: OTP generated successfully
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/OTPGenerateResponse'
|
$ref: "#/components/schemas/OTPGenerateResponse"
|
||||||
/api/account/otp/verify:
|
/api/account/otp/verify:
|
||||||
post:
|
post:
|
||||||
summary: Verify OTP for enabling two-factor authentication
|
summary: Verify OTP for enabling two-factor authentication
|
||||||
|
@ -78,9 +72,9 @@ paths:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/OTPVerifyRequest'
|
$ref: "#/components/schemas/OTPVerifyRequest"
|
||||||
responses:
|
responses:
|
||||||
'200':
|
"200":
|
||||||
description: OTP verified successfully
|
description: OTP verified successfully
|
||||||
/api/account/otp/validate:
|
/api/account/otp/validate:
|
||||||
post:
|
post:
|
||||||
|
@ -90,9 +84,9 @@ paths:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/OTPValidateRequest'
|
$ref: "#/components/schemas/OTPValidateRequest"
|
||||||
responses:
|
responses:
|
||||||
'200':
|
"200":
|
||||||
description: OTP validated successfully
|
description: OTP validated successfully
|
||||||
/api/auth/otp/disable:
|
/api/auth/otp/disable:
|
||||||
post:
|
post:
|
||||||
|
@ -102,9 +96,9 @@ paths:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/OTPDisableRequest'
|
$ref: "#/components/schemas/OTPDisableRequest"
|
||||||
responses:
|
responses:
|
||||||
'200':
|
"200":
|
||||||
description: OTP disabled successfully
|
description: OTP disabled successfully
|
||||||
/api/account/password-reset/request:
|
/api/account/password-reset/request:
|
||||||
post:
|
post:
|
||||||
|
@ -114,9 +108,9 @@ paths:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/PasswordResetRequest'
|
$ref: "#/components/schemas/PasswordResetRequest"
|
||||||
responses:
|
responses:
|
||||||
'200':
|
"200":
|
||||||
description: Password reset requested successfully
|
description: Password reset requested successfully
|
||||||
/api/account/password-reset/confirm:
|
/api/account/password-reset/confirm:
|
||||||
post:
|
post:
|
||||||
|
@ -126,33 +120,33 @@ paths:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/PasswordResetVerifyRequest'
|
$ref: "#/components/schemas/PasswordResetVerifyRequest"
|
||||||
responses:
|
responses:
|
||||||
'200':
|
"200":
|
||||||
description: Password reset successfully
|
description: Password reset successfully
|
||||||
/api/auth/ping:
|
/api/auth/ping:
|
||||||
post:
|
post:
|
||||||
summary: Auth check endpoint
|
summary: Auth check endpoint
|
||||||
responses:
|
responses:
|
||||||
'200':
|
"200":
|
||||||
description: Pong
|
description: Pong
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/PingResponse'
|
$ref: "#/components/schemas/PingResponse"
|
||||||
'401':
|
"401":
|
||||||
description: Unauthorized
|
description: Unauthorized
|
||||||
/api/account:
|
/api/account:
|
||||||
get:
|
get:
|
||||||
summary: Get account information
|
summary: Get account information
|
||||||
responses:
|
responses:
|
||||||
'200':
|
"200":
|
||||||
description: Account information retrieved successfully
|
description: Account information retrieved successfully
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/AccountInfoResponse'
|
$ref: "#/components/schemas/AccountInfoResponse"
|
||||||
'401':
|
"401":
|
||||||
description: Unauthorized
|
description: Unauthorized
|
||||||
/api/account/update-email:
|
/api/account/update-email:
|
||||||
post:
|
post:
|
||||||
|
@ -162,9 +156,9 @@ paths:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/UpdateEmailRequest'
|
$ref: "#/components/schemas/UpdateEmailRequest"
|
||||||
responses:
|
responses:
|
||||||
'200':
|
"200":
|
||||||
description: Email updated successfully
|
description: Email updated successfully
|
||||||
/api/account/update-password:
|
/api/account/update-password:
|
||||||
post:
|
post:
|
||||||
|
@ -174,31 +168,20 @@ paths:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/UpdatePasswordRequest'
|
$ref: "#/components/schemas/UpdatePasswordRequest"
|
||||||
responses:
|
responses:
|
||||||
'200':
|
"200":
|
||||||
description: Password updated successfully
|
description: Password updated successfully
|
||||||
/api/upload-limit:
|
/api/upload-limit:
|
||||||
get:
|
get:
|
||||||
summary: Get the basic file upload (POST) upload limit set by the portal
|
summary: Get the basic file upload (POST) upload limit set by the portal
|
||||||
responses:
|
responses:
|
||||||
'200':
|
"200":
|
||||||
description: Upload limit retrieved successfully
|
description: Upload limit retrieved successfully
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/UploadLimitResponse'
|
$ref: "#/components/schemas/UploadLimitResponse"
|
||||||
/api/meta:
|
|
||||||
get:
|
|
||||||
summary: Get metadata about the portal
|
|
||||||
responses:
|
|
||||||
'200':
|
|
||||||
description: Metadata retrieved successfully
|
|
||||||
content:
|
|
||||||
application/json:
|
|
||||||
schema:
|
|
||||||
$ref: '#/components/schemas/MetaResponse'
|
|
||||||
|
|
||||||
|
|
||||||
components:
|
components:
|
||||||
schemas:
|
schemas:
|
||||||
|
@ -334,10 +317,3 @@ components:
|
||||||
type: number
|
type: number
|
||||||
required:
|
required:
|
||||||
- limit
|
- limit
|
||||||
MetaResponse:
|
|
||||||
type: object
|
|
||||||
required:
|
|
||||||
- domain
|
|
||||||
properties:
|
|
||||||
domain:
|
|
||||||
type: string
|
|
||||||
|
|
Loading…
Reference in New Issue