Skip to content

Spec Update 05/11/2026#81

Open
AndreyVMarkelov wants to merge 1 commit into
mainfrom
update_04-21-2026
Open

Spec Update 05/11/2026#81
AndreyVMarkelov wants to merge 1 commit into
mainfrom
update_04-21-2026

Conversation

@AndreyVMarkelov
Copy link
Copy Markdown

@AndreyVMarkelov AndreyVMarkelov commented Apr 21, 2026

Summary

Spec update generated from server repo as of 05/11/2026.

All source .stone files sharing the same namespace are merged into single
[namespace].stone output files (96 sources -> 23 files). Generated by
improved update-public-spec script with deterministic ordering and stone
compiler validation.

Structure Changes

Previously separate namespace files are now merged:

  • shared_links.stone, sharing_files.stone, sharing_folders.stonesharing.stone
  • team_devices.stone, team_folders.stone, team_groups.stone, team_legal_holds.stone, team_linked_apps.stone, team_member_space_limits.stone, team_members.stone, team_namespaces.stone, team_reports.stone, team_secondary_mails.stone, team_sharing_allowlist.stoneteam.stone
  • check_api_v2_service.stone, check_api_v2_types.stonecheck.stone
  • openid_openid.stone, openid_openid_types.stoneopenid.stone
  • team_log_generated.stone → merged into team_log.stone
  • shared_content_links.stone → merged into sharing.stone
  • file_tagging.stone → merged into files.stone

Truly New Routes (30)

  • account/get_photo
  • files/paper/create, files/paper/update
  • files/tags/add, files/tags/get, files/tags/remove
  • files/upload_session/append_batch, files/upload_session/start_batch, files/upload_session/finish_batch:2
  • openid/userinfo
  • paper/docs/get_metadata
  • riviera/get_transcript_async, riviera/get_transcript_async/check
  • sharing/relinquish_access
  • team/members/delete_former_member_files, team/members/get_available_team_member_roles
  • team/sharing_allowlist/add, /list, /list/continue, /remove
  • team/team_folder/restore
  • team/members v2 routes: add:2, add/job_status/get:2, delete_profile_photo:2, get_info:2, list:2, list/continue:2, set_admin_permissions:2, set_profile:2, set_profile_photo:2

Truly Removed Routes (6)

  • files/properties/remove
  • files/properties/template/get, /list
  • team/properties/template/list, /update
  • sharing_files/change_file_member_access (replaced by sharing/update_file_member)

New Namespaces

  • riviera (get_transcript_async routes)
  • account_id (types only)

Other Notable Changes

  • stone_cfg: Updated auth pattern to support app, team
  • check: routes now return EchoError instead of Void
  • team_log: ~200 new event detail structs and unions
  • team_policies: Added DefaultLinkExpirationDaysPolicy, EnforceLinkPasswordPolicy, SharedLinkDefaultPermissionsPolicy, TopLevelContentPolicy
  • common: Added DropboxDuration struct
  • file_properties: Full namespace docstring now preserved

Validation

  • Stone compiler: 22 namespaces, 264 routes, 2291 types — all pass
  • Rust SDK generation: passes
  • Python SDK generation: passes
  • Deterministic: repeated script runs produce identical output

Comment thread sharing_folders_apiv2_sharing_folders.stone Outdated
@AndreyVMarkelov AndreyVMarkelov force-pushed the update_04-21-2026 branch 3 times, most recently from 80be6bb to 8df4f96 Compare April 22, 2026 23:44
@AndreyVMarkelov AndreyVMarkelov force-pushed the update_04-21-2026 branch 8 times, most recently from 53e8cae to 44465d2 Compare May 7, 2026 23:02
Change Notes:

account Namespace:
- Add get_photo route
- Add PhotoSourceArg, SetProfilePhotoArg, SetProfilePhotoError structs

auth Namespace:
- Add token/from_oauth1, token/revoke routes
- Add AccessError, AuthError, InvalidAccountTypeError, RateLimitError structs/unions

check Namespace:
- Update app/check and user/check routes to return EchoError instead of Void

common Namespace:
- Add DropboxDuration struct

file_properties Namespace:
- Remove properties/remove, properties/template/get, properties/template/list routes
- Update Comments

file_requests Namespace:
- Update Comments

files Namespace:
- Add upload_session/append_batch route
- Remove properties/remove, properties/template/get, properties/template/list routes
- Update Comments

paper Namespace:
- Add docs/get_metadata route
- Update Comments

riviera Namespace:
- Add riviera Namespace
- Add get_transcript_async, get_transcript_async/check routes

sharing Namespace:
- Add relinquish_access route
- Add ShareFolderErrorV2, SharePathErrorV2, SharedLinkMetadataError unions
- Update Comments

team Namespace:
- Add members/delete_former_member_files, team_folder/restore routes
- Remove properties/template/list, properties/template/update routes
- Update Comments

team_log Namespace:
- Add ~200 new event detail structs and unions
- Update Comments

team_policies Namespace:
- Add DefaultLinkExpirationDaysPolicy, EnforceLinkPasswordPolicy,
  SharedLinkDefaultPermissionsPolicy, TopLevelContentPolicy unions

users Namespace:
- Update Comments

users_common Namespace:
- Update Comments

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@AndreyVMarkelov AndreyVMarkelov changed the title Spec Update 04/21/2026 Spec Update 05/11/2026 May 11, 2026
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