ByteSync
ByteSync copied to clipboard
3.1 Define the trusted-session invitation send API contract
Parent epic: #309
Summary
Add the server contract for publishing encrypted trusted-session invitations.
Requirements
- Add an endpoint or SignalR method for sending an invitation.
- Accept recipient client ID and the encrypted invitation envelope.
- Return an invitation ID and initial status.
- Keep sensitive session credentials encrypted inside the envelope.
Acceptance criteria
- The initiator can submit an invitation.
- The response includes a technical invitation ID and status.
- Server-side validation rejects malformed requests.