Skip to content

feat: sync API surface with asobi backend#11

Open
Taure wants to merge 1 commit intomainfrom
feat/sync-api
Open

feat: sync API surface with asobi backend#11
Taure wants to merge 1 commit intomainfrom
feat/sync-api

Conversation

@Taure
Copy link
Copy Markdown
Contributor

@Taure Taure commented Apr 6, 2026

Summary

  • Added missing REST query params (matches, tournaments, notifications, inventory, matchmaker)
  • Added missing group management endpoints (updateGroup, getGroupMembers, updateMemberRole, removeMember)
  • Added DM endpoints (send, history) and Vote models
  • Fixed WS vote message types (match.vote → vote.cast/vote.veto)
  • Added missing WS methods (world.leave, world.input, dm.send) and streams (onWorldLeft, onWorldEvent, onDmMessage, onMatchEvent)
  • Fixed inventory.consume and notifications.markRead return types

Test plan

  • Run dart analyze — no errors
  • Verify new API methods match backend controller signatures
  • Verify WS message types match asobi_ws_handler.erl
  • Test against running asobi backend

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