Skip to content

[SCAL-283418] Update REST v2 OpenAPI spec: org-awareness + refresh - #449

Open
swarnika-gupta wants to merge 2 commits into
releasefrom
SCAL-283418-org-awareness-spec-tmp
Open

[SCAL-283418] Update REST v2 OpenAPI spec: org-awareness + refresh#449
swarnika-gupta wants to merge 2 commits into
releasefrom
SCAL-283418-org-awareness-spec-tmp

Conversation

@swarnika-gupta

Copy link
Copy Markdown
Contributor

Regenerate api-spec/openapiSpecv3-2_0.json from the current backend via generate-restapi-v2-spec (ENABLE_ORG_SELECTOR_HEADER=true).

Org-awareness (SCAL-283418):

  • X-Org-Selector per-request header parameter referenced on 162 Callosum-backed operations (auth/token lifecycle endpoints excluded)
  • token org_scope / org_identifiers on POST /auth/token and POST /auth/token/access-control

Also refreshes other endpoints the SDK spec was behind on (AI-agent conversation share/answers, configurations/features, semantic-integrations, security column rules).

Regenerate api-spec/openapiSpecv3-2_0.json from the current backend via
`generate-restapi-v2-spec` (ENABLE_ORG_SELECTOR_HEADER=true).

Org-awareness (SCAL-283418):
- X-Org-Selector per-request header parameter referenced on 162
  Callosum-backed operations (auth/token lifecycle endpoints excluded)
- token org_scope / org_identifiers on POST /auth/token and
  POST /auth/token/access-control

Also refreshes other endpoints the SDK spec was behind on (AI-agent
conversation share/answers, configurations/features, semantic-integrations,
security column rules).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@swarnika-gupta
swarnika-gupta requested a review from a team as a code owner August 5, 2026 13:40
@codesandbox

codesandbox Bot commented Aug 5, 2026

Copy link
Copy Markdown

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

@vercel

vercel Bot commented Aug 5, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
rest-api-sdk Ready Ready Preview Aug 6, 2026 7:48am

Request Review

The X-Org-Selector header must not carry a default/example value; it should
only be sent when the caller specifies one. Remove "example": "sales" from
the OrgSelector parameter, matching the generator change (SCAL-330088).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.

1 participant