Skip to content

feat: document partial deployments on post /entities - #171

Open
LautaroPetaccio wants to merge 2 commits into
mainfrom
feat/partial-deployments
Open

LautaroPetaccio wants to merge 2 commits into
mainfrom
feat/partial-deployments

Conversation

@LautaroPetaccio

Copy link
Copy Markdown
Contributor

What

Documents the partial (batched) deployment protocol from decentraland/adr#325 on POST /entities:

  • The optional partial multipart field, and when the entity file may be omitted.
  • The 202 { missing: string[] } response, generated as PostEntity202.
  • 400 as terminal for partial uploads too (validation, expiry, newer entity, quotas).
  • 429 with a Retry-After header for partial deployments.

Notes

Generated artifacts aren't tracked, so only the OpenAPI source changes; yarn test passes. dcl-catalyst-client (decentraland/catalyst-client#491) keeps a local 202 type until this is released, then needs a version bump.

Adds the multipart `partial` field and the entity-file-optional rule for
resumed batches, the 202 `{ missing }` response (generated as
PostEntity202), terminal 400 semantics for partial uploads, and the
partial-only 429 with its Retry-After header, following ADR-325.
@github-actions

github-actions Bot commented Sep 24, 2026 •

Copy link
Copy Markdown

Test this pull request

  • The package can be tested by running
    yarn upgrade "https://sdk-team-cdn.decentraland.org/@dcl/catalyst-api-specs/branch/feat/partial-deployments/dcl-catalyst-api-specs-3.8.1-36186493729.commit-9ed82cb.tgz"

Batches may declare partial=true in the URL so the server knows before
reading the body. Documents the parameter, the 400 when it comes without
the matching form field, and the daily-quota 429 a batch can get when it
omits it.

This branch has not been deployed

No deployments
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