scrummie-poker/functions/EstimationSessionInvite
Pijus Kamandulis 1463c05731 Implement session invites 2024-10-12 00:04:36 +03:00
..
src Implement session invites 2024-10-12 00:04:36 +03:00
.gitignore Implement session invites 2024-10-12 00:04:36 +03:00
README.md Implement session invites 2024-10-12 00:04:36 +03:00
bun.lockb Implement session invites 2024-10-12 00:04:36 +03:00
env.d.ts Implement session invites 2024-10-12 00:04:36 +03:00
package-lock.json Implement session invites 2024-10-12 00:04:36 +03:00
package.json Implement session invites 2024-10-12 00:04:36 +03:00
tsconfig.json Implement session invites 2024-10-12 00:04:36 +03:00

README.md

Estimation Session Invite Function

This function allows other users to join an existing estimation session by providing it's Id.

Usage

GET /?action=get-info&estimationId=[session-id]

  • Gets session's information by id

Response

Sample 200 Response:

{
  "id": "session-id",
  "name": "session name"
}

GET /?action=join&estimationId=[session-id]

  • Joins session by id

Response

Sample 200 Response:

{
  "message": "Estimation session joined"
}

Environment Variables

  • APPWRITE_DATABASE_ID - Database Id
  • APPWRITE_ESTIMATION_SESSION_COLLECTION_ID - Sessions collection Id