Closed YuryShkoda closed 2 weeks ago
Closes #378
/SASjsApi/session/{sessionId}/state
Session
state
api/src/types/Session.ts
/{sessionId}/state
api/src/routes/api/session.ts
sessionIdValidation
api/src/utils/validation.ts
sessionState
SessionController
api/src/controllers/session.ts
npm run lint:fix
npm test
:tada: This PR is included in version 0.39.0 :tada:
The release is available on:
v0.39.0
Your semantic-release bot :package::rocket:
Issue
Closes #378
Intent
/SASjsApi/session/{sessionId}/state
API endpoint.Implementation
Session
interface indicating session state with a singlestate
property atapi/src/types/Session.ts
.Session
interface./{sessionId}/state
route to session router atapi/src/routes/api/session.ts
.sessionIdValidation
atapi/src/utils/validation.ts
.sessionState
method toSessionController
atapi/src/controllers/session.ts
.Checks
npm run lint:fix
).npm test
).