Services API Documentation
Posted by z3cka on March 18, 2009 at 8:39am
node.save
I had a very tough time finding what arguments were required by node.save... I finally guessed that a new node needed a "created" timestamp argument. Where should I post the following?
For new node creation be sure to set the creation time of the node:
var my_date:Date = new Date();
nodeObject.created = my_date.getTime();and for editing existing nodes, be sure to set the changed time of the node:
var my_date:Date = new Date();
nodeObject.changed = my_date.getTime()