Podio API Creating comments with additional attrib

2019-09-14 15:35发布

I am working on migrating data from multiple app items into one. I was able to move all the data over but I need to move comments and files as well.

I know the API allows you to create comments from an App (which I am doing) but I want to be able to create the comment and pass the original information (message,creator,created_on).

The API documentation doesn't show what are all the "possible" attributes for creating a comment.

Thanks.

  • Rico.

标签: podio
1条回答
霸刀☆藐视天下
2楼-- · 2019-09-14 16:05

All details on how to create new comment are here: 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
}

Please note, you can't set some of comment's attributes (like: creator, created_on).

查看更多
登录 后发表回答