Skip to content

TW-5372 Add application and workspace admin APIs#475

Merged
AaronDDM merged 8 commits into
mainfrom
TW-5372-sdk-admin-apis
Jun 12, 2026
Merged

TW-5372 Add application and workspace admin APIs#475
AaronDDM merged 8 commits into
mainfrom
TW-5372-sdk-admin-apis

Conversation

@AaronDDM

Copy link
Copy Markdown
Contributor

Summary

Completes the remaining Python SDK admin/application API surface after latest main already added Domains, Policies, Rules, and nested list-response handling.

Changes

  • Add applications.update() for PATCH /v3/applications.
  • Correct redirect URI update to PATCH /v3/applications/redirect-uris/{id}.
  • Add Workspaces resource for /v3/workspaces CRUD, auto_group, and manual_assign.
  • Extend application and redirect URI models for source-code response/request fields.
  • Update tests and CHANGELOG.

Jira

Validation

  • python3 -m pytest tests/resources/test_applications.py tests/resources/test_redirect_uris.py tests/resources/test_policies.py tests/resources/test_rules.py tests/resources/test_domains.py tests/resources/test_workspaces.py
  • python3 -m compileall -q nylas
  • 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.

@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 merged commit 01ecf07 into main Jun 12, 2026
7 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