Expand my Community achievements bar.

SOLVED

Curl Command for restoring page old version

Avatar

Level 3

Is there curl command available to restore page old version or it can only be achieved using API?

For example, I have a page with 3 versions. I want to restore the previous page version using curl command.

I know AEM UI itself has the option to page restore but I am looking to do the same from Curl Command.

1 Accepted Solution

Avatar

Correct answer by
Administrator

How to create a Custom Curl commands:

Use Firebug/Chrome DevTool with persist option & manually do any operation you want to mimic..  Then see the network call and copy it as Curl. There you can see the call with parameters to person the action.

There is no documented direct commend otherwise to do the needful.

-Kautuk



Kautuk Sahni

View solution in original post

1 Reply

Avatar

Correct answer by
Administrator

How to create a Custom Curl commands:

Use Firebug/Chrome DevTool with persist option & manually do any operation you want to mimic..  Then see the network call and copy it as Curl. There you can see the call with parameters to person the action.

There is no documented direct commend otherwise to do the needful.

-Kautuk



Kautuk Sahni