Curl Command for restoring page old version | Community
Skip to main content
Level 3
March 13, 2018
Solved

Curl Command for restoring page old version

  • March 13, 2018
  • 1 reply
  • 1358 views

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.
Best answer by kautuk_sahni

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

1 reply

kautuk_sahni
Community Manager
kautuk_sahniCommunity ManagerAccepted solution
Community Manager
March 15, 2018

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