【问题标题】:Podio API Creating comments with additional attributesPodio API 创建带有附加属性的评论
【发布时间】:2017-07-13 17:24:02
【问题描述】:

我正在将数据从多个应用程序项迁移到一个。我能够移动所有数据,但我还需要移动 cmets 和文件。

我知道 API 允许您从应用程序创建 cmets(我正在这样做),但我希望能够创建评论并传递原始信息(消息、创建者、created_on)。

API 文档没有显示创建评论的所有“可能”属性。

谢谢。

  • 里科。

【问题讨论】:

    标签: podio


    【解决方案1】:

    有关如何创建新评论的所有详细信息都在这里: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
    }
    

    请注意,您不能设置某些评论的属性(例如:creatorcreated_on)。

    【讨论】:

    • 感谢您的回复。我看到了这些细节,但我希望能够做到。这个扩展声称可以做到这一点。你知道他们会怎么做吗? podio.com/extensions/51
    • 您可以创建类似“ 发表评论”。然后有关 created 和 created_on 的信息将被保存,但将成为评论文本的一部分
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-12-07
    • 2016-12-16
    • 2011-01-11
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多