Skip to content

fix: add upload resource, remove TOS, fix member role field - #38

Merged
alvseven merged 1 commit into
mainfrom
fix/final-sync
Apr 17, 2026
Merged

fix: add upload resource, remove TOS, fix member role field#38
alvseven merged 1 commit into
mainfrom
fix/final-sync

Conversation

@alvseven

Copy link
Copy Markdown
Contributor

Summary

  • Add Upload resource: New POST /v1/upload endpoint with bucket (avatar, onboarding, limit_increase) and file params, registered in both async and sync clients
  • Remove terms_of_service resource: Deleted resource directory, tests, and all client/registry references (endpoints no longer exist)
  • Fix member role payload key: Changed update_member_role payload from {"role": ...} to {"user_role": ...} to match API expectation
  • Version bump: 2.0.0 → 2.1.0 (minor)

Test plan

  • All 173 existing tests pass
  • New upload resource tests (async + sync) pass
  • Ruff format and lint checks pass
  • Verify upload endpoint works against staging API
  • Verify update_member_role works with corrected field name

- Add Upload resource (POST /v1/upload) with bucket enum and file params
- Remove terms_of_service resource (endpoints no longer exist)
- Fix update_member_role payload key from "role" to "user_role"
- Bump version to 2.1.0
@BernardoSM

Copy link
Copy Markdown
Collaborator

Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
Code Security 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@alvseven
alvseven merged commit a833f53 into main Apr 17, 2026
6 checks passed
@alvseven
alvseven deleted the fix/final-sync branch April 17, 2026 03:11
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.

2 participants