Curl Command for restoring page old version | Community
Skip to main content
Level 3
Mar 13, 2018 5:07 PM UTC
Solved

Curl Command for restoring page old version

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
kautuk_sahni
kautuk_sahniAccepted solution
Employee
Mar 15, 2018 10:33 AM UTC

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

1 reply

kautuk_sahni
kautuk_sahniAccepted solution
Employee
Mar 15, 2018 10:33 AM UTC

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

Translate
Kautuk Sahni