Skip to content

feat(servers): implement server snapshot commands - #25

Merged
smitt14ua merged 1 commit into
mainfrom
feat/snapshots
May 13, 2026
Merged

smitt14ua merged 1 commit into
mainfrom
feat/snapshots

Conversation

@smitt14ua

Copy link
Copy Markdown
Contributor

Closes #16

Summary

  • Adds createSnapshot() and deploySnapshot() to the existing Servers resource
  • CreateSnapshotResponse DTO with hash and data fields
  • 2 resource tests, 1 DTO test (100% coverage maintained)
  • COMMANDS.md updated

API

$snapshot = $teamspeak->servers()->createSnapshot();
$teamspeak->servers()->deploySnapshot(snapshot: $snapshot->data);

Test plan

  • composer test passes (Rector, Pint, PHPStan max, 100% type coverage, 100% code coverage)

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@smitt14ua
smitt14ua merged commit 01ef0f6 into main May 13, 2026
12 checks passed
@smitt14ua
smitt14ua deleted the feat/snapshots branch May 13, 2026 22:45
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.

feat: implement server snapshot commands

1 participant