Item creation date/time and user
Hi,   Is there any way to retrieve by API the date/time and author of the item? It seems it was a mistake to use "initial_revision" as this is not the initial revision, but the oldest one saved (or provided by API). I still see correct time and user showing on the webpage for the item, but i cant get this data by API. Thanks in advance.

  • 1) We're working on better ways of announcing API changes and improvements. For now the best thing is to keep an eye on this forum, the Podio twitter account and blog. 2) I've added created_via to items so you can do $item->created_via and get an instance of PodioVia just as you could for initial_revision. Just grab a fresh copy of podio-php All the best, Andreas
  • Thank you, seems to work as needed now (-; But there are now two more questions, if possible: 1) Where / How can i follow changes like these, so i can react in timely fashion on our API applications? 2) In the past i have also used property initial_revision->created_via in cases when creator of the item (created_by->type) was not the user, but an app (import for example). Any hints on this case?
  • Thanks for a quick reply. Good to know there is a hope to retrieve the correct data (-; But i am testing now things and i don't see these properties that you have mentioned. I have just downloaded latest podio php lib from github. And i am inspecting object: $item            = PodioItem::get(46300070); echo 'by: ' . $item->created_by; echo 'on: ' . $item->created_on; Get nothing... any thoughts?
  • Hi The initial_revision should really work, but we have deprecated that, and it won't show correct results for items with many revisions. Instead we have added "created_by" and "created_on" directly on the item, which you should use instead. The reason for the change was a performance issue we had with items with thousands of edits. We will keep the old property around for some time, so we don't break existing clients. Christian
This question is closed.