memos/proto/api/v1
Johnny dc7ec8a8ad feat: allow setting custom timestamps when creating memos and comments
Allow API users to set custom create_time, update_time, and display_time
when creating memos and comments. This enables importing historical data
with accurate timestamps.

Changes:
- Update proto definitions: change create_time and update_time from
  OUTPUT_ONLY to OPTIONAL to allow setting on creation
- Modify CreateMemo service to handle custom timestamps from request
- Update database drivers (SQLite, MySQL, PostgreSQL) to support
  inserting custom timestamps when provided
- Add comprehensive test coverage for custom timestamp functionality
- Maintain backward compatibility: auto-generated timestamps still
  work when custom values are not provided
- Fix golangci-lint issues in plugin/filter (godot and revive)

Fixes #5483
2026-01-17 12:56:03 +08:00
..
activity_service.proto refactor(api): migrate inbox functionality to user notifications 2025-10-31 08:33:09 +08:00
attachment_service.proto feat: implement attachment filtering functionality 2025-12-28 18:47:59 +08:00
auth_service.proto refactor: user auth improvements (#5360) 2025-12-18 18:15:51 +08:00
common.proto
idp_service.proto chore: standardize and improve API structure (#5224) 2025-11-05 22:36:51 +08:00
instance_service.proto refactor: remove NSFW content settings from instance configuration 2025-12-29 20:13:54 +08:00
memo_service.proto feat: allow setting custom timestamps when creating memos and comments 2026-01-17 12:56:03 +08:00
README.md
shortcut_service.proto
user_service.proto refactor: remove deprecated Sessions and AccessTokens settings 2025-12-19 08:35:57 +08:00

Memos API Design

This API design should follow the guidelines and best practices outlined in the Google API Improvement Proposals (AIPs).