Skip to content

Commit

Permalink
chore(api): updated endpoint description
Browse files Browse the repository at this point in the history
  • Loading branch information
Yury4GL committed Oct 31, 2024
1 parent 73df102 commit ca17e7c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion api/public/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1859,7 +1859,8 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/SessionState'
summary: "Get session state (initialising, pending, running, completed, failed).\nPolling session state won't work in a load-balanced situation."
description: "The polling endpoint is currently implemented for single-server deployments only.<br>\nLoad balanced / grid topologies will be supported in a future release.<br>\nIf your site requires this, please reach out to SASjs Support."
summary: 'Get session state (initialising, pending, running, completed, failed).'
tags:
- Session
security:
Expand Down
4 changes: 3 additions & 1 deletion api/src/controllers/session.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@ export class SessionController {
}

/**
* The polling endpoint is currently implemented for single-server deployments only.<br>
* Load balanced / grid topologies will be supported in a future release.<br>
* If your site requires this, please reach out to SASjs Support.
* @summary Get session state (initialising, pending, running, completed, failed).
* Polling session state won't work in a load-balanced situation.
* @example completed
*/
@Get('/:sessionId/state')
Expand Down

0 comments on commit ca17e7c

Please sign in to comment.