mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #3527] [MERGED] Add message game state endpoint #5980
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#5980
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/3527
Author: @kaldigo
Created: 7/12/2026
Status: ✅ Merged
Merged: 7/12/2026
Merged by: @SpicyMarinara
Base:
staging← Head:codex/game-state-message-endpoint📝 Commits (4)
9673608Add message game state endpointacf3afaMerge branch 'staging' into codex/game-state-message-endpoint1a99162Merge remote-tracking branch 'origin/staging' into codex/game-state-message-endpointa908daeKeep message game-state responses complete📊 Changes
1 file changed (+53 additions, -0 deletions)
View changed files
📝
packages/server/src/routes/chats.routes.ts(+53 -0)📄 Description
Linked issue
Closes #3526
Why this change
What changed
GET /api/chats/:chatId/messages/:messageId/game-state.swipeIndex; defaults to the message's active swipe index.nullwhen no snapshot exists for that message/swipe, rather than falling back to the latest chat state.400.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
pnpm check.pnpm version:check.pnpm test.nullbefore a snapshot existsswipeIndexreturns400404messageId+swipeIndexnull404Docs and release impact
UI evidence (if applicable)
No screenshots attached; this is an API-only change.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.