Skip to content

Conversation

@kennethloeffler
Copy link
Member

Closes #1191.

This PR changes the /api/serialize/ and /api/ref-patch/ endpoints to use POST and accept a JSON-encoded body containing a list of instance IDs. This allows a far larger amount of IDs to be requested at once (probably as much as memory permits -- I tested up to 400k).

Dekkonot
Dekkonot previously approved these changes Dec 30, 2025
@kennethloeffler
Copy link
Member Author

Looks like we need to update tests still (that's my bad), I'll get that done within the next few hours

@Quenty
Copy link
Contributor

Quenty commented Dec 31, 2025

Note: For those not seeing this, this also fixes #1184 and #1182

Quenty added a commit to Quenty/rojo that referenced this pull request Dec 31, 2025
Quenty added a commit to Quenty/rojo that referenced this pull request Dec 31, 2025
Quenty added a commit to Quenty/rojo that referenced this pull request Dec 31, 2025
Quenty added a commit to Quenty/rojo that referenced this pull request Dec 31, 2025
@Froredion
Copy link

Just saw this! My earlier attempt was more of a quick hotfix so I could iterate really fast, this is such an OP improvement 🕺

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.

/api/serialize/ and /api/ref-patch/ endpoints respond with HTTP 414 when more than ~1928 instance IDs are requested

4 participants