Skip to content

fix(prose): update private data and file API endpoints to v2 names#50

Merged
JimCollinson merged 3 commits into
mainfrom
claude/prose-2026-05-26-private-data-api-renames
May 27, 2026
Merged

fix(prose): update private data and file API endpoints to v2 names#50
JimCollinson merged 3 commits into
mainfrom
claude/prose-2026-05-26-private-data-api-renames

Conversation

@JimCollinson
Copy link
Copy Markdown
Collaborator

@JimCollinson JimCollinson commented May 26, 2026

Prose fixes — 2026-05-26 (ant-sdk private data and file API renames)

Draft PR. Requires human review before merge.

Verified against ant-sdk 7a113b390522d76d28b8f3e5b4078f9c9418d46f.

API changes applied

Old New
POST /v1/data/private POST /v1/data
GET /v1/data/private?data_map= POST /v1/data/get (JSON body)
POST /v1/files/upload/public POST /v1/files/public
POST /v1/files/download/public POST /v1/files/public/get
POST /v1/files (new: private file upload)
POST /v1/files/get (new: private file download)

SDK method renames (data_put_privatedata_put, data_get_privatedata_get, file_upload_publicfile_put_public, file_download_publicfile_get_public, and JS/Rust equivalents).

MCP upload_file/download_file: is_directory removed, private parameter added. store_data response changed from cost to chunks_stored + payment_mode_used.

payment_mode parameter added to data and file cost endpoints.

Pages changed (9)

Page Change type
docs/sdk/reference/rest-api.md Endpoint renames + 2 new sections (private file upload/download)
docs/sdk/reference/grpc-services.md Data and File service method renames
docs/mcp/mcp-server-reference.md Tool signatures + store_data response shape
docs/sdk/how-to-guides/store-and-retrieve-data.md All 4 SDK language examples for private data + public files
docs/core-concepts/data-types.md Endpoint reference in concept section
docs/guides/build-read-only-features.md curl example for private data retrieval
docs/sdk/reference/overview.md Shared surfaces table
docs/sdk/reference/language-bindings/python.md payment_mode gRPC note
skills/start/SKILL.md Endpoint list + rule bullets; bumped to 0.1.6-draft

Linked skill release

Skill body changed → patch release required per sweep policy.

  • version.json: 0.1.5-draft0.1.6-draft, published_date2026-05-26, verified commits refreshed
  • SKILL.md frontmatter: version and verified_date updated
  • CHANGELOG.md: [0.1.6-draft] entry added

Companion PR

Metadata-only stamp refresh for remaining 45 pages: #51 (ready-for-review, safe to merge independently).

https://claude.ai/code/session_0179WdtnsYWt1shLjeLkLwFa

Renames applied across REST API reference, gRPC services, MCP server
reference, SDK how-to guide, core concepts, guides, and the skill:

- POST /v1/data/private → POST /v1/data
- GET /v1/data/private?data_map= → POST /v1/data/get (JSON body)
- POST /v1/files/upload/public → POST /v1/files/public
- POST /v1/files/download/public → POST /v1/files/public/get
- Added POST /v1/files and POST /v1/files/get (private file upload/download)
- data_put_private/dataGetPrivate/file_upload_public SDK method renames
- MCP upload_file/download_file: is_directory removed, private param added
- store_data response: chunks_stored + payment_mode_used replaces cost
- Skill bumped to 0.1.6-draft; verification commits refreshed

Verified against ant-sdk 7a113b39, ant-client e6747242,
ant-node 2a8b91de, ant-protocol 83b6b4e2.

https://claude.ai/code/session_0179WdtnsYWt1shLjeLkLwFa
@JimCollinson JimCollinson marked this pull request as draft May 26, 2026 16:04
JimCollinson and others added 2 commits May 27, 2026 11:37
- Add `PutFileRequest` and `FileCostRequest` to the gRPC shared
  messages table so both Put/PutPublic and File Service `Cost`
  request shapes are visible to readers.
- Note that `FileCostRequest.is_public` selects between the public
  and private payment shape in the File Service `Cost` description.
- Add `GET /v1/chunks/{addr}` to the Chunks row of the SDK overview
  shared-surfaces table (pre-existing gap).

https://claude.ai/code/session_0179WdtnsYWt1shLjeLkLwFa
@JimCollinson JimCollinson marked this pull request as ready for review May 27, 2026 16:13
@JimCollinson JimCollinson merged commit 7edd3c6 into main May 27, 2026
5 checks passed
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.

2 participants