Hi Kent,

Kent Barber schrieb:
> Hi,
> 
> Can someone give tell me what the curl command would be to checkin a node?

There is currently no direct support for the versioning operations in
the SlingPostServlet or any out of the box servlets of Sling. Therefore,
there is no checkin curl "command".

> 
> And also how can I get the total number of versions that a node has? I
> will try mynode.infinity.json and see if that works, but first I need to
> be able to checkin nodes to create new versions. Will using infinity
> give me the total number of versions somewhere in the json output?

As with "missing" versioning commands in the SlingPostServlet there is
no direct support for versioning operations in any of the default GET
servlets.

Hence you cannot query for versions easily.

As always, patches and proposals for additions are welcome and will
certainly be considered.

Regards
Felix

Reply via email to