1. Schemas
墨问 API
  • 说明
    • 1. 概述
    • 2. NoteAtom 的结构说明
    • 3. 错误码
    • 4. ChangeLog
  • 关于MCP
    • MCP 使用指南
    • 常见问题
  • 授权
    • API-KEY 重置
  • 笔记
    • 笔记创建
    • 笔记编辑
    • 笔记设置
  • 文件上传
    • 本地上传
      • 说明
      • 获取上传授权信息
      • 文件投递示例
    • 远程上传
      • 基于 URL 上传文件
  • 数据模型
    • gw.open.api
      • v1
        • Schemas
          • GoogleProtobufAny
          • Status
    • HealthReply
    • NoteAtom
    • KeyResetReply
    • NoteCreateReply
    • KeyResetRequest
    • NoteCreateRequest
    • NoteEditReply
    • NoteEditRequest
    • NoteCreateRequest_Settings
    • NotePrivacySet
    • NotePrivacySet_Rule
    • NoteSetReply
    • NoteSetRequest
    • NoteSettings
    • UploadPrepareReply
    • UploadPrepareRequest
    • UploadViaURLReply
    • UploadViaURLRequest
    • UploadedFile
  1. Schemas

Status

The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. Each Status message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide.

{
    "code": 0,
    "message": "string",
    "details": [
        {
            "@type": "string",
            "property1": "string",
            "property2": "string"
        }
    ]
}
Built with