Skip to content

[PLAT-8079] Documenting Body Documents as a "core concept" with updated examples#104

Merged
MadisonEhlers-Vertex merged 2 commits intomainfrom
PLAT-8079
Mar 5, 2026
Merged

[PLAT-8079] Documenting Body Documents as a "core concept" with updated examples#104
MadisonEhlers-Vertex merged 2 commits intomainfrom
PLAT-8079

Conversation

@MadisonEhlers-Vertex
Copy link
Copy Markdown
Contributor

Summary

These changes include updates from the deprecated body type in favor of bodyDocuments. I added an additional Body Document section under the Core concepts to document what these are, with a few simple examples.

Video of changes:

2026-03-04_11-35-51.mp4

Test Plan

Release Notes

Possible Regressions

Dependencies

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR documents the bodyDocuments (Body Document) concept in the Vertex Collaboration APIs guide. It introduces a new "Body Document" section under Core Concepts, including JSON examples, and updates all existing curl command examples to replace the deprecated body string field with the withBodyDocument structured object.

Changes:

  • Adds a new "Body Document" Core Concepts section with two JSON examples (text-only and with mention)
  • Updates all curl request examples (Create Thread, Create Reply, Update Thread, Update Reply) to use withBodyDocument instead of the deprecated body field
  • Updates prose descriptions to reference "body document" instead of "body"

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown
Contributor

@danschultz danschultz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM after Copilot suggestions.

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Mar 4, 2026

@MadisonEhlers-Vertex MadisonEhlers-Vertex enabled auto-merge (squash) March 4, 2026 22:41
@MadisonEhlers-Vertex MadisonEhlers-Vertex merged commit de2162f into main Mar 5, 2026
2 checks passed
@MadisonEhlers-Vertex MadisonEhlers-Vertex deleted the PLAT-8079 branch March 5, 2026 04:51
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.

3 participants