Jump to content

Last modified date on an item


HawkXP71

Recommended Posts

HawkXP71

for the ItemsServer "/Items" api, or any API that returns an Item.

Is there a field that tracks the last time the user data for the item was modified?

Link to comment
Share on other sites

HI, internally, yes ,but it's currently not supported to get it from the api. It could be added though.

Link to comment
Share on other sites

HawkXP71
Just now, Luke said:

HI, internally, yes ,but it's currently not supported to get it from the api. It could be added though.

I'm working on a multi server sync app. 

It's now fully functional.  The one limit, when a video gets marked as unplayed, and is compared to a server that has the same video played, then the system has no way to judge which came first, and assumes incorrectly the played takes priority. 

 

Having a last modified field on the item, even if required to be part of the the fields list to have it retrieved when getting multiple items that typically return a subset of the fields would be perfect. 

Thanks. 

Link to comment
Share on other sites

HawkXP71
11 hours ago, Luke said:

date modified or date last saved to the database?

typicaly for a sync, its last modified, but if there is a cache where modified and saved can be different, definitely modified

 

Link to comment
Share on other sites

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...