Skip to content

TW-5373 Add admin API SDK resources#542

Merged
AaronDDM merged 7 commits into
mainfrom
TW-5373-sdk-admin-apis
Jun 12, 2026
Merged

TW-5373 Add admin API SDK resources#542
AaronDDM merged 7 commits into
mainfrom
TW-5373-sdk-admin-apis

Conversation

@AaronDDM

Copy link
Copy Markdown
Contributor

Summary

Updates the Ruby SDK admin/application API surface to match source-code truth for Applications, Redirect URIs, Manage Domains, Workspaces, Policies, Rules, and grant rule evaluations.

Changes

  • Add Manage Domains resource for /v3/admin/domains CRUD, info, and verify.
  • Add Workspaces resource for /v3/workspaces CRUD, auto_group, and manual_assign.
  • Add Policies and Rules resources, including nested rules list unwrapping and rule evaluations.
  • Add Applications#update for PATCH /v3/applications.
  • Correct redirect URI update to PATCH.
  • Update specs and CHANGELOG.

Jira

Validation

  • ruby -c over changed library files and specs
  • bundle exec rspec ... could not run locally because the machine only has Ruby 2.6/Bundler 1.17.2; Gemfile.lock requires Bundler 2.7.2, which requires Ruby >= 3.2.0.
  • Independent model verifier (codex exec, default gpt-5.5) PASS for endpoint/list-shape accuracy. Fable 5 CLI attempt was blocked by local Claude session limit, so Codex was used as the requested model-like verifier fallback.

@AaronDDM AaronDDM self-assigned this Jun 11, 2026
@AaronDDM AaronDDM marked this pull request as ready for review June 11, 2026 23:26

@qasim-nylas qasim-nylas left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM 👍

@qasim-nylas qasim-nylas left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM 👍

@AaronDDM AaronDDM requested a review from quzhi1 June 12, 2026 13:47
@AaronDDM AaronDDM merged commit fad2887 into main Jun 12, 2026
8 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