Skip to content

[TASK] Update PageAPI Response when Saving Style Properties #34092

@dario-daza

Description

@dario-daza

Description

Currently the /api/v1/page/{pageId}/content resource is returning an "ok" message when a successful save request is made, but this doesn't deliver relevant information to the client consuming the PageAPI.

Now a list of Contentlets within a Container is going to be returned, including the Style Properties. Here is a comparison of the responses:

Current Suggested
image image

👀 Note: This is a suggestion, if needed the response information could vary depending on the need.

Acceptance Criteria

  • Postman tests are updated to validate the schema of the new JSON response (checking for the presence of new fields).
  • Verify that the returned data matches the data that was sent (e.g., the UUIDs in the response match the UUIDs in the request).
  • Basic "save" functionality works identical to before; no side effects or latency spikes observed.

Priority

Low

Additional Context

To have a request example and additional context about how are style properties being saved see #33695

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions