fix(prose): update private data and file API endpoints to v2 names#50
Merged
JimCollinson merged 3 commits intoMay 27, 2026
Merged
Conversation
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
- 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
POST /v1/data/privatePOST /v1/dataGET /v1/data/private?data_map=POST /v1/data/get(JSON body)POST /v1/files/upload/publicPOST /v1/files/publicPOST /v1/files/download/publicPOST /v1/files/public/getPOST /v1/files(new: private file upload)POST /v1/files/get(new: private file download)SDK method renames (
data_put_private→data_put,data_get_private→data_get,file_upload_public→file_put_public,file_download_public→file_get_public, and JS/Rust equivalents).MCP
upload_file/download_file:is_directoryremoved,privateparameter added.store_dataresponse changed fromcosttochunks_stored+payment_mode_used.payment_modeparameter added to data and file cost endpoints.Pages changed (9)
docs/sdk/reference/rest-api.mddocs/sdk/reference/grpc-services.mddocs/mcp/mcp-server-reference.mddocs/sdk/how-to-guides/store-and-retrieve-data.mddocs/core-concepts/data-types.mddocs/guides/build-read-only-features.mddocs/sdk/reference/overview.mddocs/sdk/reference/language-bindings/python.mdpayment_modegRPC noteskills/start/SKILL.mdLinked skill release
Skill body changed → patch release required per sweep policy.
version.json:0.1.5-draft→0.1.6-draft,published_date→2026-05-26, verified commits refreshedSKILL.mdfrontmatter:versionandverified_dateupdatedCHANGELOG.md:[0.1.6-draft]entry addedCompanion PR
Metadata-only stamp refresh for remaining 45 pages: #51 (ready-for-review, safe to merge independently).
https://claude.ai/code/session_0179WdtnsYWt1shLjeLkLwFa