21310 Posts in 5739 Topics by 2604 members
General Questions
SilverStripe Forums » General Questions » RESTful API server doesn't return Created or LastEdited fields?
General questions about getting started with SilverStripe that don't fit in any of the categories above.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 246 Views |
-
RESTful API server doesn't return Created or LastEdited fields?

10 March 2012 at 6:54am
When using the built in RESTful API server to grab DataObjects, it doesn't appear to give you the Created or LastEdited fields.
Is it possible to add these fields to the returned XML/JSON somehow?
-
Re: RESTful API server doesn't return Created or LastEdited fields?

14 March 2012 at 3:52am Last edited: 14 March 2012 3:53am
Looks like I'll just have to add a LastEditedCopy db field, and then update it with onBeforeWrite.
| 246 Views | ||
|
Page:
1
|
Go to Top |
