【发布时间】:2017-07-13 17:24:02
【问题描述】:
我正在将数据从多个应用程序项迁移到一个。我能够移动所有数据,但我还需要移动 cmets 和文件。
我知道 API 允许您从应用程序创建 cmets(我正在这样做),但我希望能够创建评论并传递原始信息(消息、创建者、created_on)。
API 文档没有显示创建评论的所有“可能”属性。
谢谢。
- 里科。
【问题讨论】:
标签: podio
我正在将数据从多个应用程序项迁移到一个。我能够移动所有数据,但我还需要移动 cmets 和文件。
我知道 API 允许您从应用程序创建 cmets(我正在这样做),但我希望能够创建评论并传递原始信息(消息、创建者、created_on)。
API 文档没有显示创建评论的所有“可能”属性。
谢谢。
【问题讨论】:
标签: podio
有关如何创建新评论的所有详细信息都在这里:https://developers.podio.com/doc/comments/add-comment-to-object-22340
{
"value": The comment to be made,
"external_id": The external id of the comment, if any,
"file_ids": Temporary files that have been uploaded and should be attached to this comment,
[
{file_id},
.... (more file ids)
],
"embed_id": [OPTIONAL] The id of an embedded link that has been created with the Add an mebed operation in the Embed area,
"embed_url": The url to be attached
}
请注意,您不能设置某些评论的属性(例如:creator、created_on)。
【讨论】: