DPS API & How to use it

Avatar

Avatar

The_Big_Red

Avatar

The_Big_Red

The_Big_Red

15-10-2015

Is there an example of how to use the DPS API's or a community article? I want to be able to push out articles and folios using these API's.

 

Thanks

View Entire Topic

Avatar

Avatar

JohnFait

Avatar

JohnFait

JohnFait

15-10-2015

Creating and invoking workflows are already documented and should help with what you are trying to do.

The DPS Upload workflow can be seen at;

http://localhost:4502/libs/cq/workflow/admin/console/content/models.html/etc/workflow/models

http://localhost:4502/cf#/%252Fetc%252Fworkflow%252Fmodels%252Fdps%252Fupload-content.html

That workflow can be edited or copied depending on what you need.

It contains/users 2 steps 'Upload HTMLResources to DPS' and 'Upload to DPS' which can also be reused in your own workflow if needed.

You can invoke this workflow from http://localhost:4502/libs/cq/workflow/admin/console/content/models.html/etc/workflow/models which is the same workflow the DPS console uses.  Workflows can also be invoked via workflow apis or post operations.

John