Include Date Modified into 2sxc API #2310
-
What would be involved to include the data for Date Modified into the 2sxc API? I have a project where we'd like to leverage the 2sxc API for some external applications to allow it to consume some data. This data can be time sensitive and having a Last Updated parameter is desired. Typically you could just create an input control for this and allow the user to update, but you can't always rely on the user updating this information when necessary. I noticed that the History view for 2sxc keeps track of the date updated so I am hopeful here that this data can be easily exposed or included in the API. In the below example, ID, Guid. and Title are dynamically added to the API feed. Having LastModified and even potentially a 2sxc version ID could be really helpful.
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
So basically there are a few things to consider. Technically not a big deal, but I'm not sure if we're letting out information which may be a bit sensitive. Let me think about it... BTW: At least in Razor and WebApi you can get the Modified date - property Modified :). |
Beta Was this translation helpful? Give feedback.
-
I think you're right - I'll just add it. |
Beta Was this translation helpful? Give feedback.
I think you're right - I'll just add it.