Skip to content

docs: clarify client-side phoneNumber requirements per token type (#158) - #205

Merged
stroncoso merged 1 commit into
camaraproject:mainfrom
deepakjaiswal1:docs/158-clarify-client-phonenumber-requirements
Jul 19, 2026
Merged

docs: clarify client-side phoneNumber requirements per token type (#158)#205
stroncoso merged 1 commit into
camaraproject:mainfrom
deepakjaiswal1:docs/158-clarify-client-phonenumber-requirements

Conversation

@deepakjaiswal1

Copy link
Copy Markdown
Collaborator

docs: clarify client-side phoneNumber requirements per token type (#158)

What type of PR is this?

Add one of the following kinds:

  • documentation

What this PR does / why we need it:

Follow-up to #187. Makes the client-side requirements for phoneNumber explicit: with a three-legged access token the API consumer MUST NOT include phoneNumber in the request body, and with a two-legged token the API consumer MUST include it. The phoneNumber field description and the POST /sessions description now separate "Client requirements" from "Server behaviour", so the client obligation is stated directly rather than left implicit in the 422 error codes.

Which issue(s) this PR fixes:

Refs #158

Special notes for reviewers:

No behavioural change. This is a wording/clarity update addressing internal feedback on #187 (thread from @takakura and Santiago Troncoso). The rules are unchanged; they are now stated from the client's perspective as well as the server's.

Changelog input

 release-note
 docs(webrtc-registration): clarify client-side phoneNumber requirements per token type (#158)

docs: clarify client-side phoneNumber requirements per token type (camaraproject#158)

Signed-off-by: Deepak Jaiswal <deepak.jaiswal1@t-mobile.com>

@stroncoso stroncoso left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@stroncoso
stroncoso merged commit debdf4e into camaraproject:main Jul 19, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants