{ "commentPid": "string", "commentCid": "string", "content": "string", "isMarkdown": true, "isAnonymous": true, "map": {}, "extends": [ "string" ], "archives": [ "string" ], "file": "string" }
curl --location --request POST 'http://localhost:8080/api/v2/editor/comment/quick-publish' \ --header 'X-Fresns-App-Id;' \ --header 'X-Fresns-Client-Platform-Id;' \ --header 'X-Fresns-Client-Version;' \ --header 'X-Fresns-Client-Device-Info;' \ --header 'X-Fresns-Aid: ' \ --header 'X-Fresns-Aid-Token: ' \ --header 'X-Fresns-Uid: ' \ --header 'X-Fresns-Uid-Token: ' \ --header 'X-Fresns-Signature;' \ --header 'X-Fresns-Signature-Timestamp;' \ --header 'Content-Type: application/json' \ --data-raw '{ "commentPid": "string", "commentCid": "string", "content": "string", "isMarkdown": true, "isAnonymous": true, "map": {}, "extends": [ "string" ], "archives": [ "string" ], "file": "string" }'
{ "code": 0, "message": "ok", "data": { "type": "String / post 或 comment", "draftId": "Number / 草稿 ID", // 不是草稿则为 null "fsid": "String / 正式内容的 pid 或 cid" // 不是正式内容则为 null } }