Skip to content

Allow object bodies in batch operation responses#469

Open
benedikt-buchert wants to merge 1 commit into
AdobeDocs:mainfrom
benedikt-buchert:fix/batch-response-body-object
Open

Allow object bodies in batch operation responses#469
benedikt-buchert wants to merge 1 commit into
AdobeDocs:mainfrom
benedikt-buchert:fix/batch-response-body-object

Conversation

@benedikt-buchert
Copy link
Copy Markdown

Summary

  • update BatchOperationResponse.body to allow either a JSON string or an object
  • align the published admin API OpenAPI spec with observed live batch responses

Verification

  • verified against the live batch API on 2026-04-09
  • observed results[*].body returned as an object for both detail and list operations
  • validated src/admin-api.json after the patch

Note

The current published schema requires body to be a string, but live responses can also inline JSON objects. This patch is intentionally minimal and only covers the live mismatch that was verified. If body is intended to allow a broader set of JSON values, Adobe should refine the schema to the precise contract it wants to guarantee.

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